![[Toc]](../../toc.gif)
![[Index]](/idx.gif)
GetAllMonitors - Parameters
*pMonitors (MONITORINFO) - output
Pointer to the array of MONITORINFO data structures.
This parameter points to the array of MONITORINFO data structures that
receive all the monitor definitions in the MONITOR.DIF file.
pulBufferSize (PULONG) - output
Specifies the size of the pMonitors buffer, in bytes.
If the buffer size is too small to contain all monitor definitions,
the ERROR_NOT_ENOUGH_MEMORY error is returned. The variable is then
given the size of the buffer required in order to contain all monitor
definitions.
rc (ULONG) - returns
Return codes.
0 Function is successful
Nonzero Returns one of the following errors:
ERROR_INVALID_PARAMETER
ERROR_NO_MONITOR_SUPPORT
ERROR_NOT_ENOUGH_MEMORY
Created using Inf-PHP v.2 (c) 2003 Yuri Prokushev
Created using Inf-HTML v.0.9b (c) 1995 Peter Childs