PM Error Codes: Difference between revisions
Appearance
m added constant |
m Added a few more constants |
||
Line 14: | Line 14: | ||
==== PMERR_INVALID_PARAMETERS ==== | ==== PMERR_INVALID_PARAMETERS ==== | ||
; 0x1208 : An application parameter value is invalid for the PM type. | ; 0x1208 : An application parameter value is invalid for the PM type. | ||
==== PMERR_INVALID_PROCESS_ID ==== | |||
; 0x1204 : | |||
==== PMERR_INVALID_PROGRAM_CATEGORY ==== | ==== PMERR_INVALID_PROGRAM_CATEGORY ==== | ||
; 0x152f : | ; 0x152f : | ||
==== PMERR_INVALID_PROGRAM_TYPE ==== | |||
; 0x1209 : | |||
==== PMERR_INVALID_SESSION_ID ==== | ==== PMERR_INVALID_SESSION_ID ==== | ||
; 0x120b : Given session id is invalid. Need the valid session id. | ; 0x120b : Given session id is invalid. Need the valid session id. | ||
Line 22: | Line 26: | ||
==== PMERR_INVALID_WINDOW ==== | ==== PMERR_INVALID_WINDOW ==== | ||
; 0x1206 : The window is not a valid frame window requested from a Window List call. | ; 0x1206 : The window is not a valid frame window requested from a Window List call. | ||
==== PMERR_NO_SPACE ==== | |||
; 0x1201 : | |||
==== PMERR_OK ==== | ==== PMERR_OK ==== | ||
; 0x0000 : What error? | ; 0x0000 : What error? |
Revision as of 08:13, 11 March 2006
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