PM Error Codes: Difference between revisions
Appearance
m alphabetized to find easier |
m added some more error codes |
||
Line 1: | Line 1: | ||
Possible values from [[OS2_API:WinGetLastError|WinGetLastError]]. | Possible values from [[OS2_API:WinGetLastError|WinGetLastError]]. | ||
==== PMERR_CANNOT_START ==== | |||
; 0x1531 : | |||
==== PMERR_CANNOT_STOP ==== | ==== PMERR_CANNOT_STOP ==== | ||
; 0x1534 | ; 0x1534 : Session cannot be stopped. | ||
: 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 ==== | ==== PMERR_INVALID_HAPP ==== | ||
; 0x1533 | ; 0x1533 : The application handle passed to [[OS2_API:WinTerminateApp|WinTerminateApp]] doesn't match to a valid session. | ||
: The application handle passed to [[OS2_API:WinTerminateApp|WinTerminateApp]] doesn't match to a valid session. | ==== PMERR_INVALID_HWND ==== | ||
; 0x1001 : An invalid window handle was specified. | |||
==== PMERR_INVALID_PARAMETERS ==== | ==== PMERR_INVALID_PARAMETERS ==== | ||
0x1208 | ; 0x1208 : An application parameter value is invalid for the PM type. | ||
==== PMERR_INVALID_PROGRAM_CATEGORY ==== | |||
; 0x152f : | |||
==== PMERR_INVALID_SWITCH_HANDLE ==== | ==== PMERR_INVALID_SWITCH_HANDLE ==== | ||
; 0x1202 | ; 0x1202 : Invalid Window List entry handle used. | ||
: 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_OK ==== | ==== PMERR_OK ==== | ||
0x0000 | ; 0x0000 : What error? | ||
==== PMERR_SOMDD_IS_ACTIVE ==== | ==== PMERR_SOMDD_IS_ACTIVE ==== | ||
0x1058 | ; 0x1058 : The DSOM daemon is currently active. | ||
==== PMERR_SOMDD_NOT_STARTED ==== | ==== PMERR_SOMDD_NOT_STARTED ==== | ||
0x1059 | ; 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 ==== | ==== PMERR_WPDSERVER_IS_ACTIVE ==== | ||
0x1056 | ; 0x1056 : The Workplace Shell DSOM Server is currently active. | ||
==== PMERR_WPDSERVER_NOT_STARTED ==== | ==== PMERR_WPDSERVER_NOT_STARTED ==== | ||
0x1057 | ; 0x1057 : The Workplace Shell DSOM Server failed to activate. | ||
==== WPERR_ALREADY_EXISTS ==== | ==== WPERR_ALREADY_EXISTS ==== | ||
0x1718 | ; 0x1718 : | ||
==== WPERR_BUFFER_TOO_SMALL ==== | ==== WPERR_BUFFER_TOO_SMALL ==== | ||
0x1705 | ; 0x1705 : | ||
==== WPERR_OBJECT_NOT_FOUND ==== | ==== WPERR_OBJECT_NOT_FOUND ==== | ||
0x1714 | ; 0x1714 : | ||
==== WPERR_INVALID_FLAGS ==== | ==== WPERR_INVALID_FLAGS ==== | ||
0x1719 | ; 0x1719 : | ||
==== WPERR_INVALID_OBJECTID ==== | ==== WPERR_INVALID_OBJECTID ==== | ||
0x1720 | ; 0x1720 : |
Revision as of 08:38, 19 February 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_PROGRAM_CATEGORY
- 0x152f
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_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