DspQueryDriverNames
Appearance
This function returns a list of the names of all PM display drivers that have been registered with the operating system (by using DspSetDriverInfo).
Syntax
DspQueryDriverNames(pBuffer, ulCount);
Parameters
- pBuffer (PVOID) - input
- Pointer to a buffer.
- Pointer to the buffer in which the driver names are returned. The names are NULL-terminated strings with one immediately following another. The final string is followed by two NULL characters.
- ulCount (ULONG) - input
- The maximum number of bytes that can be returned in pBuffer.
Return Code
- rc (ULONG) - returns
- Return codes.
- On completion, the return value is of type ULONG and is the number of bytes actually returned in pBuffer.
Example Code
#include <os2.h> PVOID pBuffer; /* Pointer to a buffer. */ ULONG ulCount; ULONG rc; /* Return codes. */ rc = DspQueryDriverNames(pBuffer, ulCount);