DiMgslDlCall


Prototype
NTSTATUS DiMgslDlCall( void *Handle,
                       MGSL_DLPRIMITIVE* Primitive );
Parameters
Handle handle to open port
Primitive pointer to link layer primitive structure initialized with information for a request or response
Return Value
STATUS_SUCCESS parameters set successfully
STATUS_DEVICE_BUSY A temporary condition prevents processing of the request.
STATUS_DEVICE_NOT_READY The link state does not permit the specified request.
STATUS_INVALID_DEVICE_REQUEST Request is not valid for the link configuration or state.
STATUS_INVALID_PARAMETER Primitive or the contents of Primitive are incorrect.
STATUS_INVALID_HANDLE Handle or Link is invalid

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

The STATUS_INVALID_DEVICE_REQUEST, STATUS_DEVICE_NOT_READY, and STATUS_DEVICE_BUSY return code meanings depend on the primitive type. See the documentation for the primitive for more information on when these values are returned.

NOTE:

This function must be called at IRQL_PASSIVE.


Previous Contents Next