Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Displays the specified dialog box that allows the user to select a port.
Syntax
Parameters
hwndParentDialog
[in] Handle for the parent dialog box.
pbstrPortId
[out] Port identifier string.
Return Value
If successful, returns S_OK
; otherwise, returns an error code. A return value of S_FALSE
(or a return value of S_OK
with the BSTR
set to NULL
) indicates that the user clicked Cancel.