Download RadiSys ARTIC960 Programmer`s Reference

Transcript
ReturnHW—Return a Hardware Device
ReturnHW—Return a Hardware Device
This service returns a previously-allocated hardware device.
Functional Prototype
RIC_ULONG ReturnHW (char
RIC_ULONG
*DeviceName,
Reserved);
Parameters
DeviceName
Input. Name of the hardware device to return.
Reserved
Input. Reserved parameter (must be 0).
Returns
RC_SUCCESS
RC_INVALID_RESERVED_PARM
RC_HW_NOT_FOUND
RC_HW_NOT_ALLOCATED
RC_INVALID_CALL
RC_INVALID_NAME
RC_INVALID_MEM_ACCESS
Remarks
None
136
ARTIC960 Programmer’s Reference