Previous | Next |
The Close method closes and releases the open port.
Syntax
HRESULT Close();
Parameters
This method takes no parameters.
Return Values
If the method succeeds, it returns S_OK. If it fails, it returns an HRESULT error code.
Return code | Meaning |
NS_E_INVALID_REQUEST | The writer is still running. |
See Also
Previous | Next |