DDCCISetVCPFeature function
Important
This function is used by the monitor configuration API to access functionality in the display driver. Applications should not call this function.
Sets the value of a Virtual Control Panel (VCP) code for a monitor.
Syntax
NTSTATUS WINAPI DDCCISetVCPFeature(
_In_ HANDLE hMonitor,
_In_ DWORD dwVCPCode,
_In_ DWORD dwNewValue
);
Parameters
-
hMonitor [in]
-
A handle to a physical monitor.
-
dwVCPCode [in]
-
The VCP code to set.
-
dwNewValue [in]
-
The value of the VCP code.
Return value
If the method succeeds, it returns STATUS_SUCCESS. Otherwise, it returns an NTSTATUS error code.
Remarks
Applications should call SetVCPFeature instead of calling this function.
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 |
|