DRV_MIIM_ClientStatus Function

C

DRV_MIIM_CLIENT_STATUS DRV_MIIM_ClientStatus(DRV_HANDLE handle); 

Returns

  • DRV_MIIM_CLIENT_STATUS_READY - if the client handle represents a valid MIIM client

  • DRV_MIIM_CLIENT_STATUS_ERROR - if the client handle is an invalid MIIM client

Description

This function gets the client-specific status of the MIIM driver associated with the given handle.

Remarks

This function can be used to check that a client handle points to a valid MIIM client. The MIIM driver queues operations so it will always return DRV_MIIM_CLIENT_STATUS_READY.

Preconditions

  • The DRV_MIIM_Initialize routine must have been called.

  • DRV_MIIM_Open must have been called to obtain a valid opened device handle.