MgslDlGetParams


Prototype
ULONG MgslDlGetParams( HANDLE hDevice,
                       PMGSL_DLPARAMS Params );
Parameters
hDevice
handle to open port
Params
pointer to MGSL_DLPARAMS structure to receive current link parameters
Return Value
ERROR_SUCCESS
parameters retrieved successfully
ERROR_INVALID_PARAMETER
Params pointer is invalid
ERROR_INVALID_HANDLE
hDevice or Link is invalid

Returns the current data link layer configuration for the specified link instance.

The Link member of the MGSL_DLPARAMS structure must be set to the link instance identifier by the application before passing the structure to this call.


Previous Contents Next