MgslDlCall


Prototype
ULONG MgslDlCall( HANDLE hDevice,
                  MGSL_DLPRIMITIVE* Primitive );
Parameters
hDevice
handle to open port
Primitive
pointer to link layer primitive structure initialized with information for a request or response
Return Value
ERROR_SUCCESS
parameters set successfully
ERROR_BUSY
A temporary condition prevents processing of the request.
ERROR_NOT_READY
The link state does not permit the specified request.
ERROR_INVALID_FUNCTION
The request is not valid in the context of the current link configuration or state.
ERROR_INVALID_PARAMETER
The primitive pointer or the contents of the primitive are incorrect.
ERROR_INVALID_HANDLE
hDevice or hLink is invalid

Send a request or response primitive to the link layer API.

The ERROR_INVALID_FUNCTION, ERROR_NOT_READY, and ERROR_BUSY return code meanings are dependant on the primitive type. See the documentation for the primitive for more information on when these values are returned.


Previous Contents Next