Jump to content

PM Error Codes: Difference between revisions

From EDM2
Added constants related to WinTerminateApp
Ak120 (talk | contribs)
mNo edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Possible values from [[OS2_API:WinGetLastError|WinGetLastError]].
Possible values from [[WinGetLastError]].
==== PMERR_OK ====
 
0x0000
{|
==== PMERR_WPDSERVER_IS_ACTIVE ====
|-
0x1056
|PMERR_CANNOT_START||0x1531||
==== PMERR_WPDSERVER_NOT_STARTED ====
|-
0x1057
|PMERR_CANNOT_STOP||0x1534||Session cannot be stopped.
==== PMERR_SOMDD_IS_ACTIVE ====
|-
0x1058
|PMERR_DOS_ERROR||0x1200||A call to DosXXX returned an error.
==== PMERR_SOMDD_NOT_STARTED ====
|-
0x1059
|PMERR_INVALID_APPL||0x1530||Attempt to start an application whose type is not recognized by OS/2.
==== PMERR_INVALID_PARAMETERS ====
|-
0x1208
|PMERR_INVALID_HAPP||0x1533||The application handle passed to [[WinTerminateApp]] doesn't match to a valid session.
==== PMERR_INVALID_HAPP ====
|-
0x1533
|PMERR_INVALID_HWND||0x1001||An invalid window handle was specified.
==== PMERR_CANNOT_STOP ====
|-
0x1534
|PMERR_INVALID_PARAMETERS||0x1208||An application parameter value is invalid for the PM type.
==== WPERR_BUFFER_TOO_SMALL ====
|-
0x1705
|PMERR_INVALID_PROCESS_ID||0x1204||
==== WPERR_OBJECT_NOT_FOUND ====
|-
0x1714
|PMERR_INVALID_PROGRAM_CATEGORY||0x152f||
==== WPERR_ALREADY_EXISTS ====
|-
0x1718
|PMERR_INVALID_PROGRAM_TYPE||0x1209||
==== WPERR_INVALID_FLAGS ====
|-
0x1719
|PMERR_INVALID_SESSION_ID||0x120b||Given session id is invalid. Need the valid session id.
==== WPERR_INVALID_OBJECTID ====
|-
0x1720
|PMERR_INVALID_SWITCH_HANDLE||0x1202||Invalid Window List entry handle used.
|-
|PMERR_INVALID_WINDOW||0x1206||The window is not a valid frame window requested from a Window List call.
|-
|PMERR_NO_SPACE||0x1201||
|-
|PMERR_OK||0x0000||What error?
|-
|PMERR_SOMDD_IS_ACTIVE||0x1058||The DSOM daemon is currently active.
|-
|PMERR_SOMDD_NOT_STARTED||0x1059||The DSOM daemon failed to activate.
|-
|PMERR_STARTED_IN_BACKGROUND||0x1532||The application has started a new session in the background.
|-
|PMERR_WPDSERVER_IS_ACTIVE||0x1056||The Workplace Shell DSOM Server is currently active.
|-
|PMERR_WPDSERVER_NOT_STARTED||0x1057||The Workplace Shell DSOM Server failed to activate.
|-
|WPERR_ALREADY_EXISTS||0x1718||
|-
|WPERR_BUFFER_TOO_SMALL||0x1705||
|-
|WPERR_OBJECT_NOT_FOUND||0x1714||
|-
|WPERR_INVALID_FLAGS||0x1719||
|-
|WPERR_INVALID_OBJECTID|| 0x1720||
|}
 
[[Category:The OS/2 API Project]]

Latest revision as of 14:18, 3 January 2024

Possible values from WinGetLastError.

PMERR_CANNOT_START 0x1531
PMERR_CANNOT_STOP 0x1534 Session cannot be stopped.
PMERR_DOS_ERROR 0x1200 A call to DosXXX returned an error.
PMERR_INVALID_APPL 0x1530 Attempt to start an application whose type is not recognized by OS/2.
PMERR_INVALID_HAPP 0x1533 The application handle passed to WinTerminateApp doesn't match to a valid session.
PMERR_INVALID_HWND 0x1001 An invalid window handle was specified.
PMERR_INVALID_PARAMETERS 0x1208 An application parameter value is invalid for the PM type.
PMERR_INVALID_PROCESS_ID 0x1204
PMERR_INVALID_PROGRAM_CATEGORY 0x152f
PMERR_INVALID_PROGRAM_TYPE 0x1209
PMERR_INVALID_SESSION_ID 0x120b Given session id is invalid. Need the valid session id.
PMERR_INVALID_SWITCH_HANDLE 0x1202 Invalid Window List entry handle used.
PMERR_INVALID_WINDOW 0x1206 The window is not a valid frame window requested from a Window List call.
PMERR_NO_SPACE 0x1201
PMERR_OK 0x0000 What error?
PMERR_SOMDD_IS_ACTIVE 0x1058 The DSOM daemon is currently active.
PMERR_SOMDD_NOT_STARTED 0x1059 The DSOM daemon failed to activate.
PMERR_STARTED_IN_BACKGROUND 0x1532 The application has started a new session in the background.
PMERR_WPDSERVER_IS_ACTIVE 0x1056 The Workplace Shell DSOM Server is currently active.
PMERR_WPDSERVER_NOT_STARTED 0x1057 The Workplace Shell DSOM Server failed to activate.
WPERR_ALREADY_EXISTS 0x1718
WPERR_BUFFER_TOO_SMALL 0x1705
WPERR_OBJECT_NOT_FOUND 0x1714
WPERR_INVALID_FLAGS 0x1719
WPERR_INVALID_OBJECTID 0x1720