Jump to content

DspQueryDriverNames: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
This function returns a list of the names of all PM display drivers that have been registered with the operating system (by using DspSetDriverInfo).
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==
==Syntax==
Line 12: Line 12:
; rc (ULONG) - returns: Return codes.
; rc (ULONG) - returns: Return codes.
:On completion, the return value is of type ULONG and is the number of bytes actually returned in pBuffer.
:On completion, the return value is of type ULONG and is the number of bytes actually returned in pBuffer.
<PRE>
#include <os2.h>
PVOID    pBuffer;  /*  Pointer to a buffer. */
ULONG    ulCount;
ULONG    rc;      /*  Return codes. */
rc = DspQueryDriverNames(pBuffer, ulCount);
</PRE>


[[Category:Gre]]
[[Category:Gre]]

Latest revision as of 08:05, 5 March 2020

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.