1.1.3.4.18 DRV_MEMORY_IsAttached Function

C

bool DRV_MEMORY_IsAttached
(
    const DRV_HANDLE handle
);

Summary

Returns the physical attach status of the Media.

Description

This function returns the physical attach status of the Media device.

Precondition

The DRV_MEMORY_Open() routine must have been called to obtain a valid opened device handle.

Parameters

ParamDescription
handleA valid open-instance handle, returned from the driver's open function

Returns

Returns false if the handle is invalid otherwise returns true.

Example

bool isMEMORYAttached;

isMEMORYAttached = DRV_MEMORY_isAttached(drvMEMORYHandle);

Remarks

None.