Possible returns from
WinGetLastError
PMERR_HEAP_MAX_SIZE_REACHED (0x1012)
The heap has reached its maximum size (64KB), and cannot be increased.
PMERR_HEAP_OUT_OF_MEMORY (0x1011)
An attempt to increase the size of the heap failed.
PMERR_QUEUE_TOO_LARGE (0x1018)
An attempt to create a message queue has failed because the value specified for the size of the message queue is too large.
PMERR_RESOURCE_NOT_FOUND (0x100A)
The specified resource identity could not be found.
PMERR_NOT_IN_A_PM_SESSION (0x1051)
An attempt was made to access function that is only available from PM programs from a non-PM session.
PMERR_MSG_QUEUE_ALREADY_EXISTS (0x1052)
An attempt to create a message queue for a thread failed because a message queue already exists for the calling thread.
[Back]
[Next]