BOOL ConfigurePort(pName, hWnd, pPortName) | |||
LPSTR pName; | |||
HWND hWnd; | |||
LPSTR pPortName; |
This function allows a Port to be configured.
pName
Specifies the name of the Server that the Port is to be configured. If NULL, then the Port is to be configured locally.
hWnd
Specifies the Parent Window Handle that the Dialog box should be created with.
pPortName
Specifies the Port that should be configured. This name is retrieved by calling the EnumPorts function.
The return value is TRUE if the function was successful, or FALSE if an error occurred. To obtain extended error information, use the GetLastError function.