Share via


PDDCapabilitiesGet (Compact 7)

3/12/2014

This function retrieves the capabilities of the platform-dependent driver (PDD) hardware.

Syntax

DWORD PDDCapabilitiesGet(
    DWORD dwContext,
   __in PDWORD pdwCaps
);

Parameters

  • pdwCaps
    [in] Pointer to the capabilities of the PDD hardware.

Return Value

Returns ERROR_SUCCESS if function succeeds; otherwise, returns a non-zero value.

Remarks

A value of ACC_PDD_CAPABILITIES_HWORIENTATION_DETECT in pdwCaps indicates that the PDD can detect a change in the device orientation without streaming data to the model device driver (MDD). When a change in orientation is detected, the PDD sends a MESSAGE_ACCELEROMETER_3D_ORIENTATION_CHANGE event in response.

Requirements

Library

accmdd.lib

See Also

Reference

Accelerometer PDD Functions