Using Win32 functions in Visual FoxPro Image Gallery
Monitor Configuration (Vista)
DestroyPhysicalMonitors
GetMonitorBrightness
GetMonitorCapabilities
GetMonitorContrast
GetNumberOfPhysicalMonitorsFromHMONITOR
GetPhysicalMonitorsFromHMONITOR
SetMonitorBrightness
SetMonitorContrast
Code examples:
How to adjust monitor brightness (Vista, monitor with DDC support)
DestroyPhysicalMonitors
..msdn    Add comment     W32 Constants      Translate this page
Closes an array of open monitor handles. That is one of a scary name for API function.
Code examples:
How to adjust monitor brightness (Vista, monitor with DDC support)
Declaration:
BOOL DestroyPhysicalMonitors(
  DWORD dwPhysicalMonitorArraySize,
  LPPHYSICAL_MONITOR pPhysicalMonitorArray
);
FoxPro declaration:
DECLARE INTEGER DestroyPhysicalMonitors IN dxva2;
    LONG dwPhysicalMonitorArraySize,;
    STRING @pPhysicalMonitorArray
Parameters:
dwPhysicalMonitorArraySize
[in] Number of elements in the pPhysicalMonitorArray array.

pPhysicalMonitorArray
[in] Pointer to an array of PHYSICAL_MONITOR structures.
Return value:
If the function succeeds, the return value is nonzero.
Usage:
cPhysMonitorArray = REPLICATE(CHR(0), 4096)

= GetPhysicalMonitorsFromHMONITOR(hMonitor,;
    nPhysMonitorCount, @cPhysMonitorArray)

* . . .

= DestroyPhysicalMonitors(nPhysMonitorCount,;
    @cPhysMonitorArray)
My comment:
Call this function to close an array of monitor handles obtained from the GetPhysicalMonitorsFromHMONITOR or GetPhysicalMonitorsFromIDirect3DDevice9 function.
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2008-12-10 15:38:56
Modified: 2010-12-22 20:47:18
Visited in last 7 days: 20
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.37), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.196.8.177)
13 sec.Function: 'FindExecutable'
25 sec.Function: 'GdipInvertMatrix'
38 sec.Function: 'GetFileSecurity'
51 sec.Function: 'DrawDibOpen'
1.1 min.Function: 'GdipGetPropertyCount'
1.28 min.Function: 'CreateSolidBrush'
1.47 min.Function: 'GetBinaryType'
1.68 min.Function: 'DrawDibClose'
1.9 min.Function: 'CertFreeCertificateContext'
2.15 min.Function: 'GdipGetPropertyIdList'
Google
Advertise here!