EnumPortsW(3w)
NAME
EnumPortsW (WINSPOOL.@)
SYNOPSIS
BOOL EnumPortsW ( LPWSTR pName, DWORD Level, LPBYTE pPorts, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned )
DESCRIPTION
Enumerate available Ports.
PARAMS
pName [In] Servername or NULL (local Computer).
Level [In] Structure-Level (1 or 2).
pPorts [Out] PTR to Buffer that receives the Result.
cbBuf [In] Size of Buffer at pPorts.
pcbNeeded [Out] PTR to DWORD that receives the size in Bytes used /
required for pPorts.
pcReturned [Out] PTR to DWORD that receives the number of Ports in
pPorts.
RETURNS
Success: TRUE
Failure: FALSE and in pcbNeeded the Bytes required for pPorts, if cbBuf
is too small
IMPLEMENTATION
Defined in "winspool.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/winspool.drv/info.c".
- Debug channel "winspool".