Jump to content

PM Error Codes: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
Possible values from [[WinGetLastError]].
Possible values from [[WinGetLastError]].


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


[[Category:The OS/2 API Project]]
[[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