Products Downloads


French version


 


This function enumerates the machine's active monitors.


Context

  • Windows client.

  • Adelia Cloud client.


Parameters

NUM_BIN_2

MonitorNo

Monitor number.

NUM_BIN_2

Monitor

Monitor handle.

BOOL

ReturnCode

Return code for the operation:

*TRUE   if the operation was completed successfully.

*FALSE  if the operation failed.


Note: when the function is first called, MonNo must be equal to 0. This parameter is then incremented by 1 before each new call until ReturnCode returns *FALSE. Moreover, the VatoolBx DLL must remain in memory until the enumeration process is complete.


Example

MonitorNo = 0

LOAD_DLL 'VaToolBx'

CALL_DLL 'VaToolBx.Dll' 'VaToolBxEnumMonitors' MonitorNo  Monitor ReturnCode

DO_WHILE ReturnCode

     * Monitor contains the monitor handle

      ...

    MonitorNo = MonitorNo + 1

    CALL_DLL 'VaToolBx.Dll' 'VaToolBxEnumMonitors' NumMon  Moniteur CodeRetour

REDO

UNLOAD DLL 'VaToolBx'



List of the VaToolBx functions by topic


↑ Top of page

  • Aucune étiquette