Skip to content

Latest commit

 

History

History
96 lines (58 loc) · 2.17 KB

ddccisetvcpfeature.md

File metadata and controls

96 lines (58 loc) · 2.17 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
DDCCISetVCPFeature function
Sets the value of a Virtual Control Panel (VCP) code for a monitor.
1069588b-5f8a-49da-b857-6f0a0c737a11
DDCCISetVCPFeature function Monitor Configuration
apiref
DDCCISetVCPFeature
gdi32.dll
DllExport
reference
05/31/2018

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
Gdi32.dll

See also

Monitor Configuration Functions