GetSuggestedOPMProtectedOutputArraySize function
Important
This function is used by Output Protection Manager (OPM) to access functionality in the display driver. Applications should not call this function.
Gets the size of the array that should be allocated before calling CreateOPMProtectedOutputs.
Syntax
NTSTATUS WINAPI GetSuggestedOPMProtectedOutputArraySize(
_In_ PUNICODE_STRING pstrDeviceName,
_Out_ DWORD *pdwSuggestedOPMProtectedOutputArraySize
);
Parameters
-
pstrDeviceName [in]
-
A pointer to a UNICODE_STRING structure that contains the name of the display device, as returned by the GetMonitorInfo function.
-
pdwSuggestedOPMProtectedOutputArraySize [out]
-
Receives the size that should be allocated for the array, in number of array elements.
Return value
If the method succeeds, it returns STATUS_SUCCESS. Otherwise, it returns an NTSTATUS error code.
Remarks
This function has no associated import library. To call this function, you must use the LoadLibrary and GetProcAddress functions to dynamically link to Gdi32.dll.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
DLL |
|
See also