Jump to main content

##

# 1.1.1.3 DRV_HANDLE_INVALID Macro

## C

    #define DRV_HANDLE_INVALID (((DRV_HANDLE) -1))

## Summary

Invalid device handle.

## Description

If a driver is unable to allow an additional module to use it, it must then return the special value DRV_HANDLE_INVALID. Callers should check the handle returned for this value to ensure this value was not returned before attempting to call any other driver routines using the handle.

## Remarks

None.