PM Error Codes

From EDM2
Revision as of 15:56, 12 March 2018 by Ak120 (Talk | contribs)

Jump to: navigation, search

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