MgslClose


Prototype  
ULONG MgslClose( HANDLE hDevice );
Parameters  
hDevice
handle to open port
Return Value  
ERROR_SUCCESS (0)
port successfully closed
ERROR_INVALID_HANDLE
hDevice is invalid

Close a device handle. The handle is no longer valid after making this call. A program calls this function when the SyncLink port is no longer needed.

See also: MgslOpen, MgslOpenDiagnostics, MgslOpenTraceHandle, Closing the Port, Opening the Port


Previous Contents Next