ACC_Open (Compact 2013)
This function opens the device for reading, writing, or both.
DWORD ACC_Open( DWORD hDeviceContext, DWORD AccessCode, DWORD ShareMode);
[in] Handle returned by ACC_Init.
[in] Type of access to the object. The value for this parameter is taken directly from the CreateFile function's dwDesiredAccess parameter.
[in] Share mode for the object. The value for this parameter is taken directly from the CreateFile function's dwShareMode parameter.
A handle that can be used in a call to ACC_Close. It is the responsibility of the specific accelerometer model device driver (MDD) implementation to determine what this value represents. A value of zero (0) indicates an error occurred.