[Front] [Prev Chapter]

Appendix A DPMS Error Codes

Error Codes

All these error codes currently match the DPMI error codes. The following equates are in DPMS.INC.
Error

Error Code

Explanation

DPMS_E_GENERAL

8000h

General error.
An undefined error has occurred.

DPMS_E_NOT_SUPP

8001h

Unsupported function.
The DPMS function is not defined, is currently disabled, or the function is not supported by the server.

DPMS_E_PROTECTED

8002h

Cannot switch to protected mode.
The CPU is in protected mode and DPMS cannot get control.

DPMS_E_NO_DEF_STACK

8004h

No default stack is defined.
The client registered with a default stack size of zero, but has requested a default stack.

DPMS_E_UNKNOWN_CLIENT

8005h

Unknown client.
The client ID in the client's API code is invalid.

DPMS_E_RESOURCE_NA

8010h

Resource unavailable.
A resource for which there is no specific error code, for example, internal table space, is unavailable.

DPMS_E_DESC_NA

8011h

Descriptor unavailable.
There are insufficient free descriptors available.

DPMS_E_LIN_NA

8012h

Linear memory unavailable.
There is insufficient free linear memory mapping space available.

DPMS_E_PHYS_NA

8013h

Physical memory unavailable.
There is insufficient free physical memory available.

DPMS_E_BAD_VALUE

8021h

Invalid value.
An invalid value was passed as a parameter.

DPMS_E_BAD_SEL

8022h

Invalid selector.
An invalid selector was passed as a parameter.

DPMS_E_BAD_HANDLE

8023h

Invalid handle.
An invalid handle was passed as a parameter.

DPMS_E_BAD_LIN_ADDR

8025h

Invalid linear address.
An invalid linear address was passed as a parameter.



[Front] [Prev Chapter]

info@caldera.com
Copyright © 1994, 1997 Caldera, Inc. All rights reserved.