public interface Dxva2 extends StdCallLibrary, PhysicalMonitorEnumerationAPI, HighLevelMonitorConfigurationAPI, LowLevelMonitorConfigurationAPI
StdCallLibrary.StdCallCallback
Library.Handler
PhysicalMonitorEnumerationAPI.PHYSICAL_MONITOR
HighLevelMonitorConfigurationAPI.MC_CAPS, HighLevelMonitorConfigurationAPI.MC_COLOR_TEMPERATURE, HighLevelMonitorConfigurationAPI.MC_DISPLAY_TECHNOLOGY_TYPE, HighLevelMonitorConfigurationAPI.MC_DRIVE_TYPE, HighLevelMonitorConfigurationAPI.MC_GAIN_TYPE, HighLevelMonitorConfigurationAPI.MC_POSITION_TYPE, HighLevelMonitorConfigurationAPI.MC_SIZE_TYPE, HighLevelMonitorConfigurationAPI.MC_SUPPORTED_COLOR_TEMPERATURE
LowLevelMonitorConfigurationAPI.MC_TIMING_REPORT, LowLevelMonitorConfigurationAPI.MC_VCP_CODE_TYPE
Modifier and Type | Field and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.Object> |
DXVA_OPTIONS |
static Dxva2 |
INSTANCE
The only instance of the library
|
FUNCTION_MAPPER, STDCALL_CONVENTION
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_CLASSLOADER, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRING_ENCODING, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER
PHYSICAL_MONITOR_DESCRIPTION_SIZE
Modifier and Type | Method and Description |
---|---|
WinDef.BOOL |
CapabilitiesRequestAndCapabilitiesReply(WinNT.HANDLE hMonitor,
WTypes.LPSTR pszASCIICapabilitiesString,
WinDef.DWORD dwCapabilitiesStringLengthInCharacters)
Retrieves a string describing a monitor's capabilities.
|
WinDef.BOOL |
DegaussMonitor(WinNT.HANDLE hMonitor)
Degausses a monitor.
|
WinDef.BOOL |
DestroyPhysicalMonitor(WinNT.HANDLE hMonitor)
Closes a handle to a physical monitor.
|
WinDef.BOOL |
DestroyPhysicalMonitors(int dwPhysicalMonitorArraySize,
PhysicalMonitorEnumerationAPI.PHYSICAL_MONITOR[] pPhysicalMonitorArray)
Closes an array of physical monitor handles.
|
WinDef.BOOL |
GetCapabilitiesStringLength(WinNT.HANDLE hMonitor,
WinDef.DWORDByReference pdwCapabilitiesStringLengthInCharacters)
Retrieves the length of a monitor's capabilities string.
|
WinDef.BOOL |
GetMonitorBrightness(WinNT.HANDLE hMonitor,
WinDef.DWORDByReference pdwMinimumBrightness,
WinDef.DWORDByReference pdwCurrentBrightness,
WinDef.DWORDByReference pdwMaximumBrightness)
Retrieves a monitor's minimum, maximum, and current brightness settings.
|
WinDef.BOOL |
GetMonitorCapabilities(WinNT.HANDLE hMonitor,
WinDef.DWORDByReference pdwMonitorCapabilities,
WinDef.DWORDByReference pdwSupportedColorTemperatures)
Retrieves the configuration capabilities of a monitor.
|
WinDef.BOOL |
GetMonitorColorTemperature(WinNT.HANDLE hMonitor,
HighLevelMonitorConfigurationAPI.MC_COLOR_TEMPERATURE.ByReference pctCurrentColorTemperature)
Retrieves a monitor's current color temperature.
|
WinDef.BOOL |
GetMonitorContrast(WinNT.HANDLE hMonitor,
WinDef.DWORDByReference pdwMinimumContrast,
WinDef.DWORDByReference pdwCurrentContrast,
WinDef.DWORDByReference pdwMaximumContrast)
Retrieves a monitor's minimum, maximum, and current contrast settings.
|
WinDef.BOOL |
GetMonitorDisplayAreaPosition(WinNT.HANDLE hMonitor,
HighLevelMonitorConfigurationAPI.MC_POSITION_TYPE ptPositionType,
WinDef.DWORDByReference pdwMinimumPosition,
WinDef.DWORDByReference pdwCurrentPosition,
WinDef.DWORDByReference pdwMaximumPosition)
Retrieves a monitor's minimum, maximum, and current horizontal or vertical position.
|
WinDef.BOOL |
GetMonitorDisplayAreaSize(WinNT.HANDLE hMonitor,
HighLevelMonitorConfigurationAPI.MC_SIZE_TYPE stSizeType,
WinDef.DWORDByReference pdwMinimumWidthOrHeight,
WinDef.DWORDByReference pdwCurrentWidthOrHeight,
WinDef.DWORDByReference pdwMaximumWidthOrHeight)
Retrieves a monitor's minimum, maximum, and current width or height.
|
WinDef.BOOL |
GetMonitorRedGreenOrBlueDrive(WinNT.HANDLE hMonitor,
HighLevelMonitorConfigurationAPI.MC_DRIVE_TYPE dtDriveType,
WinDef.DWORDByReference pdwMinimumDrive,
WinDef.DWORDByReference pdwCurrentDrive,
WinDef.DWORDByReference pdwMaximumDrive)
Retrieves a monitor's red, green, or blue drive value.
|
WinDef.BOOL |
GetMonitorRedGreenOrBlueGain(WinNT.HANDLE hMonitor,
HighLevelMonitorConfigurationAPI.MC_GAIN_TYPE gtGainType,
WinDef.DWORDByReference pdwMinimumGain,
WinDef.DWORDByReference pdwCurrentGain,
WinDef.DWORDByReference pdwMaximumGain)
Retrieves a monitor's red, green, or blue gain value.
|
WinDef.BOOL |
GetMonitorTechnologyType(WinNT.HANDLE hMonitor,
HighLevelMonitorConfigurationAPI.MC_DISPLAY_TECHNOLOGY_TYPE.ByReference pdtyDisplayTechnologyType)
Retrieves the type of technology used by a monitor.
|
WinDef.BOOL |
GetNumberOfPhysicalMonitorsFromHMONITOR(WinUser.HMONITOR hMonitor,
WinDef.DWORDByReference pdwNumberOfPhysicalMonitors)
Retrieves the number of physical monitors associated with an HMONITOR monitor handle.
|
WinDef.BOOL |
GetPhysicalMonitorsFromHMONITOR(WinUser.HMONITOR hMonitor,
int dwPhysicalMonitorArraySize,
PhysicalMonitorEnumerationAPI.PHYSICAL_MONITOR[] pPhysicalMonitorArray)
Retrieves the physical monitors associated with an HMONITOR monitor handle.
|
WinDef.BOOL |
GetTimingReport(WinNT.HANDLE hMonitor,
LowLevelMonitorConfigurationAPI.MC_TIMING_REPORT pmtrMonitorTimingReport)
Retrieves a monitor's horizontal and vertical synchronization frequencies.
|
WinDef.BOOL |
GetVCPFeatureAndVCPFeatureReply(WinNT.HANDLE hMonitor,
WinDef.BYTE bVCPCode,
LowLevelMonitorConfigurationAPI.MC_VCP_CODE_TYPE.ByReference pvct,
WinDef.DWORDByReference pdwCurrentValue,
WinDef.DWORDByReference pdwMaximumValue)
Retrieves the current value, maximum value, and code type of a Virtual Control Panel (VCP) code for a monitor.
|
WinDef.BOOL |
RestoreMonitorFactoryColorDefaults(WinNT.HANDLE hMonitor)
Restores a monitor's color settings to their factory defaults.
|
WinDef.BOOL |
RestoreMonitorFactoryDefaults(WinNT.HANDLE hMonitor)
Restores a monitor's settings to their factory defaults.
|
WinDef.BOOL |
SaveCurrentMonitorSettings(WinNT.HANDLE hMonitor)
Saves the current monitor settings to the display's nonvolatile storage.
|
WinDef.BOOL |
SaveCurrentSettings(WinNT.HANDLE hMonitor)
Saves the current monitor settings to the display's nonvolatile storage.
|
WinDef.BOOL |
SetMonitorBrightness(WinNT.HANDLE hMonitor,
int dwNewBrightness)
Sets a monitor's brightness value.
|
WinDef.BOOL |
SetMonitorColorTemperature(WinNT.HANDLE hMonitor,
HighLevelMonitorConfigurationAPI.MC_COLOR_TEMPERATURE ctCurrentColorTemperature)
Sets a monitor's color temperature.
|
WinDef.BOOL |
SetMonitorContrast(WinNT.HANDLE hMonitor,
int dwNewContrast)
Sets a monitor's contrast value.
|
WinDef.BOOL |
SetMonitorDisplayAreaPosition(WinNT.HANDLE hMonitor,
HighLevelMonitorConfigurationAPI.MC_POSITION_TYPE ptPositionType,
int dwNewPosition)
Sets the horizontal or vertical position of a monitor's display area.
|
WinDef.BOOL |
SetMonitorDisplayAreaSize(WinNT.HANDLE hMonitor,
HighLevelMonitorConfigurationAPI.MC_SIZE_TYPE stSizeType,
int dwNewDisplayAreaWidthOrHeight)
Sets the width or height of a monitor's display area.
|
WinDef.BOOL |
SetMonitorRedGreenOrBlueDrive(WinNT.HANDLE hMonitor,
HighLevelMonitorConfigurationAPI.MC_DRIVE_TYPE dtDriveType,
int dwNewDrive)
Sets a monitor's red, green, or blue drive value.
|
WinDef.BOOL |
SetMonitorRedGreenOrBlueGain(WinNT.HANDLE hMonitor,
HighLevelMonitorConfigurationAPI.MC_GAIN_TYPE gtGainType,
int dwNewGain)
Sets a monitor's red, green, or blue gain value.
|
WinDef.BOOL |
SetVCPFeature(WinNT.HANDLE hMonitor,
WinDef.BYTE bVCPCode,
WinDef.DWORD dwNewValue)
Sets the value of a Virtual Control Panel (VCP) code for a monitor.
|
static final java.util.Map<java.lang.String,java.lang.Object> DXVA_OPTIONS
static final Dxva2 INSTANCE
WinDef.BOOL GetMonitorCapabilities(WinNT.HANDLE hMonitor, WinDef.DWORDByReference pdwMonitorCapabilities, WinDef.DWORDByReference pdwSupportedColorTemperatures)
hMonitor
- Handle to a physical monitor. To get the monitor handle, call
GetPhysicalMonitorsFromHMONITOR(com.sun.jna.platform.win32.WinUser.HMONITOR, int, com.sun.jna.platform.win32.PhysicalMonitorEnumerationAPI.PHYSICAL_MONITOR[])
pdwMonitorCapabilities
- Receives a bitwise OR of capabilities flags. (MC_CAPS_*)pdwSupportedColorTemperatures
- Receives a bitwise OR of color temperature flags.
(MC_SUPPORTED_COLOR_TEMPERATURE_*)The function fails if the monitor does not support DDC/CI.
WinDef.BOOL SaveCurrentMonitorSettings(WinNT.HANDLE hMonitor)
This function takes about 200 milliseconds to return. This high-level function is identical to the low-level function SaveCurrentSettings.
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORWinDef.BOOL GetMonitorTechnologyType(WinNT.HANDLE hMonitor, HighLevelMonitorConfigurationAPI.MC_DISPLAY_TECHNOLOGY_TYPE.ByReference pdtyDisplayTechnologyType)
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORpdtyDisplayTechnologyType
- Receives the technology type as defined in HighLevelMonitorConfigurationAPI.MC_DISPLAY_TECHNOLOGY_TYPE
.WinDef.BOOL GetMonitorBrightness(WinNT.HANDLE hMonitor, WinDef.DWORDByReference pdwMinimumBrightness, WinDef.DWORDByReference pdwCurrentBrightness, WinDef.DWORDByReference pdwMaximumBrightness)
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_BRIGHTNESS flag. This function takes about 40 milliseconds to return. The brightness setting is a continuous monitor setting.
hMonitor
- Handle to a physical monitorpdwMinimumBrightness
- Receives the monitor's minimum brightness.pdwCurrentBrightness
- Receives the monitor's current brightness.pdwMaximumBrightness
- Receives the monitor's maximum brightness.WinDef.BOOL GetMonitorContrast(WinNT.HANDLE hMonitor, WinDef.DWORDByReference pdwMinimumContrast, WinDef.DWORDByReference pdwCurrentContrast, WinDef.DWORDByReference pdwMaximumContrast)
hMonitor
- Handle to a physical monitor.pdwMinimumContrast
- Receives the monitor's minimum contrast.pdwCurrentContrast
- Receives the monitor's current contrast.pdwMaximumContrast
- Receives the monitor's maximum contrast.WinDef.BOOL GetMonitorColorTemperature(WinNT.HANDLE hMonitor, HighLevelMonitorConfigurationAPI.MC_COLOR_TEMPERATURE.ByReference pctCurrentColorTemperature)
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_COLOR_TEMPERATURE flag. This function takes between 0 and 80 milliseconds to return.
hMonitor
- Handle to a physical monitor.pctCurrentColorTemperature
- Receives the monitor's current color temperature.WinDef.BOOL GetMonitorRedGreenOrBlueDrive(WinNT.HANDLE hMonitor, HighLevelMonitorConfigurationAPI.MC_DRIVE_TYPE dtDriveType, WinDef.DWORDByReference pdwMinimumDrive, WinDef.DWORDByReference pdwCurrentDrive, WinDef.DWORDByReference pdwMaximumDrive)
Drive settings are generally used to adjust the monitor's white point. Drive and black level are different names for the same monitor setting. If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_RED_GREEN_BLUE_DRIVE flag.
hMonitor
- Handle to a physical monitor.dtDriveType
- A member of the MC_DRIVE_TYPE enumeration, specifying whether to retrieve the red, green, or blue drive value.pdwMinimumDrive
- Receives the minimum red, green, or blue drive value.pdwCurrentDrive
- Receives the current red, green, or blue drive value.pdwMaximumDrive
- Receives the maximum red, green, or blue drive value.WinDef.BOOL GetMonitorRedGreenOrBlueGain(WinNT.HANDLE hMonitor, HighLevelMonitorConfigurationAPI.MC_GAIN_TYPE gtGainType, WinDef.DWORDByReference pdwMinimumGain, WinDef.DWORDByReference pdwCurrentGain, WinDef.DWORDByReference pdwMaximumGain)
Gain settings are generally used to adjust the monitor's white point. If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_RED_GREEN_BLUE_GAIN flag. This function takes about 40 milliseconds to return. The gain settings are continuous monitor settings.
hMonitor
- Handle to a physical monitor.gtGainType
- A member of the MC_GAIN_TYPE enumeration, specifying whether to retrieve the red, green, or blue gain value.pdwMinimumGain
- Receives the minimum red, green, or blue gain value.pdwCurrentGain
- Receives the current red, green, or blue gain value.pdwMaximumGain
- Receives the maximum red, green, or blue gain value.WinDef.BOOL SetMonitorBrightness(WinNT.HANDLE hMonitor, int dwNewBrightness)
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_BRIGHTNESS flag. This function takes about 50 milliseconds to return. The brightness setting is a continuous monitor setting.
hMonitor
- Handle to a physical monitor.dwNewBrightness
- Brightness value. To get the monitor's minimum and maximum brightness values, call GetMonitorBrightness.WinDef.BOOL SetMonitorContrast(WinNT.HANDLE hMonitor, int dwNewContrast)
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_CONTRAST flag. This function takes about 50 milliseconds to return. The brightness setting is a continuous monitor setting.
hMonitor
- Handle to a physical monitor.dwNewContrast
- Contrast value. To get the monitor's minimum and maximum contrast values, call GetMonitorContrast.WinDef.BOOL SetMonitorColorTemperature(WinNT.HANDLE hMonitor, HighLevelMonitorConfigurationAPI.MC_COLOR_TEMPERATURE ctCurrentColorTemperature)
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_COLOR_TEMPERATURE flag. The GetMonitorCapabilities function also returns the range of color temperatures that the monitor supports. The ctCurrentColorTemperature parameter must correspond to one of these values. Changing the color temperature changes the monitor's white point. It can also change the current drive and gain settings. To get the new drive and gain settings, call GetMonitorRedGreenOrBlueDrive and GetMonitorRedGreenOrBlueGain, respectively. This function takes from 50 to 90 milliseconds to return.
hMonitor
- Handle to a physical monitor.ctCurrentColorTemperature
- Color temperature, specified as a member of the MC_COLOR_TEMPERATURE enumeration.WinDef.BOOL SetMonitorRedGreenOrBlueDrive(WinNT.HANDLE hMonitor, HighLevelMonitorConfigurationAPI.MC_DRIVE_TYPE dtDriveType, int dwNewDrive)
Drive settings are generally used to adjust the monitor's white point. Drive and black level are different names for the same monitor setting. If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_RED_GREEN_BLUE_DRIVE flag. This function takes about 50 milliseconds to return. Changing the drive settings can change the color temperature. To get the new color temperature, call GetMonitorColorTemperature. The drive settings are continuous monitor settings
hMonitor
- Handle to a physical monitor.dtDriveType
- A member of the MC_DRIVE_TYPE enumeration, specifying whether to set the red, green, or blue
drive value.dwNewDrive
- Red, green, or blue drive value. To get the monitor's minimum and maximum drive values, call
GetMonitorRedGreenOrBlueDrive.WinDef.BOOL SetMonitorRedGreenOrBlueGain(WinNT.HANDLE hMonitor, HighLevelMonitorConfigurationAPI.MC_GAIN_TYPE gtGainType, int dwNewGain)
Gain settings are generally used to adjust the monitor's white point. If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_RED_GREEN_BLUE_GAIN flag. This function takes about 50 milliseconds to return. Changing the gain settings can change the color temperature. To get the new color temperature, call GetMonitorColorTemperature. The gain settings are continuous monitor settings.
hMonitor
- Handle to a physical monitor.gtGainType
- A member of the MC_GAIN_TYPE enumeration, specifying whether to set the red, green, or blue
gain.dwNewGain
- Red, green, or blue gain value. To get the monitor's minimum and maximum gain values, call
GetMonitorRedGreenOrBlueGain.WinDef.BOOL DegaussMonitor(WinNT.HANDLE hMonitor)
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_DEGAUSS flag. Degaussing is supported only by cathode ray tube (CRT) monitors. This function takes about 50 milliseconds to return. This function should not be called frequently, because calling it frequently will not noticeably improve the monitor's image quality or color fidelity.
hMonitor
- Handle to a physical monitor.WinDef.BOOL GetMonitorDisplayAreaSize(WinNT.HANDLE hMonitor, HighLevelMonitorConfigurationAPI.MC_SIZE_TYPE stSizeType, WinDef.DWORDByReference pdwMinimumWidthOrHeight, WinDef.DWORDByReference pdwCurrentWidthOrHeight, WinDef.DWORDByReference pdwMaximumWidthOrHeight)
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_DISPLAY_AREA_SIZE flag. This function takes about 40 milliseconds to return. The width and height settings are continuous monitor settings.
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORstSizeType
- A member of the MC_SIZE_TYPE enumeration, specifying whether to retrieve the width or the height.pdwMinimumWidthOrHeight
- Receives the minimum width or height.pdwCurrentWidthOrHeight
- Receives the current width or height.pdwMaximumWidthOrHeight
- Receives the maximum width or height.WinDef.BOOL GetMonitorDisplayAreaPosition(WinNT.HANDLE hMonitor, HighLevelMonitorConfigurationAPI.MC_POSITION_TYPE ptPositionType, WinDef.DWORDByReference pdwMinimumPosition, WinDef.DWORDByReference pdwCurrentPosition, WinDef.DWORDByReference pdwMaximumPosition)
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_DISPLAY_AREA_POSITION flag. This function takes about 40 milliseconds to return. The horizontal and vertical position are continuous monitor settings.
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORptPositionType
- A member of the MC_POSITION_TYPE enumeration, specifying whether to retrieve the horizontal position or the vertical position.pdwMinimumPosition
- Receives the minimum horizontal or vertical position.pdwCurrentPosition
- Receives the current horizontal or vertical position.pdwMaximumPosition
- Receives the maximum horizontal or vertical position.WinDef.BOOL SetMonitorDisplayAreaSize(WinNT.HANDLE hMonitor, HighLevelMonitorConfigurationAPI.MC_SIZE_TYPE stSizeType, int dwNewDisplayAreaWidthOrHeight)
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_DISPLAY_AREA_SIZE flag. This function takes about 50 milliseconds to return. The width and height settings are continuous monitor settings.
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORstSizeType
- A member of the MC_SIZE_TYPE enumeration, specifying whether to set the width or the height.dwNewDisplayAreaWidthOrHeight
- Display area width or height. To get the minimum and maximum width and height,
call GetMonitorDisplayAreaSize.WinDef.BOOL SetMonitorDisplayAreaPosition(WinNT.HANDLE hMonitor, HighLevelMonitorConfigurationAPI.MC_POSITION_TYPE ptPositionType, int dwNewPosition)
If this function is supported, the GetMonitorCapabilities function returns the MC_CAPS_DISPLAY_AREA_POSITION flag. This function takes about 50 milliseconds to return. The horizontal and vertical position are continuous monitor settings.
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORptPositionType
- A member of the MC_POSITION_TYPE enumeration, specifying whether to set the horizontal position or the vertical position.dwNewPosition
- Horizontal or vertical position. To get the minimum and maximum position, call GetMonitorDisplayAreaPosition.WinDef.BOOL RestoreMonitorFactoryColorDefaults(WinNT.HANDLE hMonitor)
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORWinDef.BOOL RestoreMonitorFactoryDefaults(WinNT.HANDLE hMonitor)
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORWinDef.BOOL GetVCPFeatureAndVCPFeatureReply(WinNT.HANDLE hMonitor, WinDef.BYTE bVCPCode, LowLevelMonitorConfigurationAPI.MC_VCP_CODE_TYPE.ByReference pvct, WinDef.DWORDByReference pdwCurrentValue, WinDef.DWORDByReference pdwMaximumValue)
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORbVCPCode
- VCP code to query. The VCP codes are Include the VESA Monitor Control Command Set (MCCS)
standard, versions 1.0 and 2.0. This parameter must specify a continuous or non-continuous VCP, or a
vendor-specific code. It should not be a table control code.pvct
- Receives the VCP code type, as a member of the MC_VCP_CODE_TYPE enumeration. This parameter can be NULL.pdwCurrentValue
- Receives the current value of the VCP code. This parameter can be NULL.pdwMaximumValue
- If bVCPCode specifies a continuous VCP code, this parameter receives the maximum value of
the VCP code. If bVCPCode specifies a non-continuous VCP code, the value received in this parameter
is undefined. This parameter can be NULL.WinDef.BOOL SetVCPFeature(WinNT.HANDLE hMonitor, WinDef.BYTE bVCPCode, WinDef.DWORD dwNewValue)
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORbVCPCode
- VCP code to set. The VCP codes are defined in the VESA Monitor Control Command Set (MCCS)
standard, version 1.0 and 2.0. This parameter must specify a continuous or non-continuous VCP, or a
vendor-specific code. It should not be a table control code.dwNewValue
- Value of the VCP code.WinDef.BOOL SaveCurrentSettings(WinNT.HANDLE hMonitor)
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORWinDef.BOOL GetCapabilitiesStringLength(WinNT.HANDLE hMonitor, WinDef.DWORDByReference pdwCapabilitiesStringLengthInCharacters)
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORpdwCapabilitiesStringLengthInCharacters
- Receives the length of the capabilities string, in characters, including the terminating null character.WinDef.BOOL CapabilitiesRequestAndCapabilitiesReply(WinNT.HANDLE hMonitor, WTypes.LPSTR pszASCIICapabilitiesString, WinDef.DWORD dwCapabilitiesStringLengthInCharacters)
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORpszASCIICapabilitiesString
- Pointer to a buffer that receives the monitor's capabilities string. The caller
must allocate this buffer. To get the size of the string, call GetCapabilitiesStringLength. The capabilities
string is always an ASCII string. The buffer must include space for the terminating null character.dwCapabilitiesStringLengthInCharacters
- Size of pszASCIICapabilitiesString in characters, including the
terminating null character.WinDef.BOOL GetTimingReport(WinNT.HANDLE hMonitor, LowLevelMonitorConfigurationAPI.MC_TIMING_REPORT pmtrMonitorTimingReport)
hMonitor
- Handle to a physical monitor. To get the monitor handle, call GetPhysicalMonitorsFromHMONITORpmtrMonitorTimingReport
- Pointer to an MC_TIMING_REPORT structure that receives the timing information.WinDef.BOOL GetNumberOfPhysicalMonitorsFromHMONITOR(WinUser.HMONITOR hMonitor, WinDef.DWORDByReference pdwNumberOfPhysicalMonitors)
hMonitor
- A monitor handle. Monitor handles are returned by several Multiple Display Monitor functions,
including EnumDisplayMonitors and MonitorFromWindow, which are part of the graphics device interface (GDI).pdwNumberOfPhysicalMonitors
- Receives the number of physical monitors associated with the monitor handle.WinDef.BOOL GetPhysicalMonitorsFromHMONITOR(WinUser.HMONITOR hMonitor, int dwPhysicalMonitorArraySize, PhysicalMonitorEnumerationAPI.PHYSICAL_MONITOR[] pPhysicalMonitorArray)
hMonitor
- A monitor handle. Monitor handles are returned by several Multiple Display Monitor functions,
including EnumDisplayMonitors and MonitorFromWindow, which are part of the graphics device interface (GDI).dwPhysicalMonitorArraySize
- Number of elements in pPhysicalMonitorArray. To get the required size of the
array, call GetNumberOfPhysicalMonitorsFromHMONITOR.pPhysicalMonitorArray
- Pointer to an array of PHYSICAL_MONITOR structures. The caller must allocate the
array.WinDef.BOOL DestroyPhysicalMonitor(WinNT.HANDLE hMonitor)
hMonitor
- Handle to a physical monitor.WinDef.BOOL DestroyPhysicalMonitors(int dwPhysicalMonitorArraySize, PhysicalMonitorEnumerationAPI.PHYSICAL_MONITOR[] pPhysicalMonitorArray)
dwPhysicalMonitorArraySize
- Number of elements in the pPhysicalMonitorArray array.pPhysicalMonitorArray
- Pointer to an array of PHYSICAL_MONITOR structures.