GDI Utility Services
The following table lists the miscellaneous GDI utility services. These services include debugging support, getting and setting the last error, several conversion services that convert from one character encoding type to another, a sort routine, and others.
Function | Description |
---|---|
Brings down the system in a controlled manner when the caller discovers an unrecoverable inconsistency. |
|
Causes a breakpoint in the current process to occur. |
|
Prints the specified debug message to the kernel debugger. |
|
Returns the last error code logged by GDI for the calling thread. |
|
Notifies the system that a specified device is inoperable or unresponsive. |
|
Determines whether the language pack is installed on the system. |
|
Multiplies two 32-bit values and then divides the 64-bit result by a third 32-bit value. The return value is rounded up or down to the nearest integer. |
|
Converts the specified ANSI source string into a Unicode string using the current ANSI code page. |
|
Converts an ANSI source string into a wide character string using the specified code page. |
|
Probes a structure for read accessibility. |
|
Probes a structure for read and write accessibility. |
|
Causes GDI to report an error code, which can be retrieved by an application. |
|
Performs a quick-sort on the specified list. |
|
Converts the specified Unicode string into an ANSI string using the current ANSI code page. |
|
Converts a wide character string into an ANSI source string using the specified code page. |