EnumPortsW (WINSPOOL.@)
BOOL EnumPortsW ( LPWSTR pName, DWORD Level, LPBYTE pPorts, DWORD cbBuf, LPDWORD pcbNeeded, LPDWORD pcReturned )
Enumerate available Ports.
| 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. |
Success: TRUE
Failure: FALSE and in pcbNeeded the Bytes required for pPorts, if cbBuf is too small
Defined in "winspool.h".
Implemented in "dlls/winspool.drv/info.c". source.winehq.org/source/dlls/winspool.drv/info.c
Debug channel "winspool".
Copyright © 2009 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2009.