ACC_Close (Compact 2013)

3/26/2014

This function closes the device context.

Syntax

BOOL ACC_Close(
    DWORD hOpenContext
);

Parameters

  • hOpenContext
    [in] Handle returned from ACC_Open, which identifies the open context of the device.

Return Value

Returns TRUE if the operation performs successfully, otherwise FALSE.

Remarks

This function gets called when you call CloseHandle on the handle obtained from ACC_Open.

The handle specified for hOpenContext is no longer valid after this function returns; if an application tries to perform accelerometer operations on that handle after calling CloseHandle, those operations fail.

Requirements

Library

Accel.lib

See Also

Reference

Accelerometer MDD Functions