Using Win32 functions in Visual FoxPro Image Gallery
Monitor Configuration (Vista)
Code examples:
How to adjust monitor brightness (Vista, monitor with DDC support)
..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)
BOOL DestroyPhysicalMonitors(
  DWORD dwPhysicalMonitorArraySize,
  LPPHYSICAL_MONITOR pPhysicalMonitorArray
FoxPro declaration:
DECLARE INTEGER DestroyPhysicalMonitors IN dxva2;
    LONG dwPhysicalMonitorArraySize,;
    STRING @pPhysicalMonitorArray
[in] Number of elements in the pPhysicalMonitorArray array.

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

= GetPhysicalMonitorsFromHMONITOR(hMonitor,;
    nPhysMonitorCount, @cPhysMonitorArray)

* . . .

= DestroyPhysicalMonitors(nPhysMonitorCount,;
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 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: 27
User Contributed Notes:
There are no notes on this subject.

Copyright 2001-2018 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.38), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
2 sec.Function: 'NetUserGetLocalGroups'
Function group: 'Network Management'
4 sec.Function: 'CeRapiInitEx'
Function group: 'Remote Application Programming (RAPI)'
7 sec.Solutions
9 sec.Function: 'GetCurrentThread'
Function group: 'Process and Thread'
11 sec.
Function group: 'GDI+ Image'
13 sec.Function: 'AVIFileGetStream'
Function group: 'Windows Multimedia'
15 sec.Updates
18 sec.Examples
23 sec.Function: 'RtlDecompressBuffer'
27 sec.Function: 'mixerOpen'
Function group: 'Windows Multimedia'
Advertise here!