The EnumMonitors function initializes an array of structures with data describing the monitors for the specified server.
BOOL EnumMonitors(
LPTSTR pName, |
// pointer to server name |
DWORD Level, |
// structure level |
LPBYTE pMonitors, |
// pointer to structure array |
DWORD cbBuf, |
// size, in bytes, of buffer |
LPDWORD pcbNeeded, |
// addr. of variable with no. of bytes copied (or required) |
LPDWORD pcReturned |
// addr. of variable with no. of job info. structures copied |
); |
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
MONITOR_INFO_1, MONITOR_INFO_2
file: /Techref/os/win/api/win32/func/src/f20_16.htm, 3KB, , updated: 2000/4/7 11:19, local time: 2024/12/27 21:38,
3.22.71.149:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://massmind.org/Techref/os/win/api/win32/func/src/f20_16.htm"> EnumMonitors</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.