BOOL (WINAPI *pfnConfigurePort)(
LPWSTR pName, | |
HWND hWnd, | |
LPWSTR pPortName | |
); |
ConfigurePort is a port management function that configures the specified port.
Parameters
pName
Points to a zero-terminated string that specifies the name of the server on which the given port exists. If this string is null, the port is local.
hWnd
Handle to the parent window of the dialog box in which the configuration information will be entered.
pPortName
Points to a zero-terminated string that specifies the name of the port to be configured.
Return Value
The return value is TRUE if the function is successful.
Comments
The spooler calls ConfigurePort to perform port configuration. ConfigurePort can offer a dialog box to obtain some or all of the necessary port configuration information from the user.
The spooler does not support remote ConfigurePort calls; consequently, monitors can ignore the pName parameter.
ConfigurePort is a port management function that must be implemented by port monitors and LMPMs. Pure language monitors should not implement this function.
See Also