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.
Gets the port name.
HRESULT GetPortName(
BSTR* pbstrName
);
int GetPortName(
out string pbstrName
);
Parameters
- pbstrName
[out] Returns the name of the port.
Return Value
If successful, returns S_OK; otherwise, returns an error code.