EnumPortsW (WINSPOOL.@)
BOOL EnumPortsW ( LPWSTR name, DWORD level, LPBYTE buffer, DWORD bufsize, LPDWORD bufneeded, LPDWORD bufreturned )
Enumerate available Ports.
name | [In] | Servername or NULL (local Computer). |
level | [In] | Structure-Level (1 or 2). |
buffer | [Out] | PTR to Buffer that receives the Result. |
bufsize | [In] | Size of Buffer at buffer. |
bufneeded | [Out] | PTR to DWORD that receives the size in Bytes used / required for buffer. |
bufreturned | [Out] | PTR to DWORD that receives the number of Ports in buffer. |
Success: TRUE
Failure: FALSE and in bufneeded the Bytes required for buffer, if bufsize is too small.
UNICODE-Version is a stub
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.