NAME

EnumMonitorsW  (WINSPOOL.@)

SYNOPSIS

 BOOL EnumMonitorsW
 (
  LPWSTR  pName,
  DWORD   Level,
  LPBYTE  pMonitors,
  DWORD   cbBuf,
  LPDWORD pcbNeeded,
  LPDWORD pcReturned
 )

DESCRIPTION

Enumerate available Port-Monitors.

PARAMS

pName [In] Servername or NULL (local Computer).
Level [In] Structure-Level (1:Win9x+NT or 2:NT only).
pMonitors [Out] PTR to Buffer that receives the Result.
cbBuf [In] Size of Buffer at pMonitors.
pcbNeeded [Out] PTR to DWORD that receives the size in Bytes used / required for pMonitors.
pcReturned [Out] PTR to DWORD that receives the number of Monitors in pMonitors.

RETURNS

Success: TRUE

Failure: FALSE and in pcbNeeded the Bytes required for buffer, if cbBuf is too small.

NOTES

Windows reads the Registry once and cache the Results.

  Language-Monitors are also installed in the same Registry-Location but
  they are filtered in Windows (not returned by EnumMonitors).
  We do no filtering to simplify our Code.

IMPLEMENTATION

Defined in "winspool.h".

Implemented in "dlls/winspool.drv/info.c". source.winehq.org/source/dlls/winspool.drv/info.c

Debug channel "winspool".


Copyright © 2006 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2006.