man:AddPortExW(3w)

Z funus.net
AddPortExW(3w)                     Wine API                     AddPortExW(3w)



NAME
       AddPortExW (WINSPOOL.@)

SYNOPSIS
       BOOL AddPortExW
        (
         HANDLE hMonitor,
         LPWSTR pName,
         DWORD  Level,
         LPBYTE lpBuffer,
         LPWSTR lpMonitorName
        )


DESCRIPTION
       Add a Port for a specific Monitor, without presenting a user interface.


PARAMS
       hMonitor [In]  Handle from InitializePrintMonitor2(3w).

       pName [In]  Servername or NULL (local Computer).

       Level [In]  Structure-Level (1 or 2) for lpBuffer.

       lpBuffer [In]  PTR to: PORT_INFO_1 or PORT_INFO_2.

       lpMonitorName [In]  Name of the Monitor that manage the Port or NULL.



RETURNS
       Success: TRUE

       Failure: FALSE.


BUGS
       only a Stub


IMPLEMENTATION
       Defined in "winspool.h".

       Implemented in "dlls/winspool.drv/info.c".

       Debug channel "winspool".



Wine API                           Mar 2007                     AddPortExW(3w)