Share via


PDD_GetAdapterInfo (Compact 2013)

3/26/2014

PDD_GetAdapterInfo is called at initialization time to get information about the Adapter.

This information includes PDD version number, power capabilities, number of sensor modes, and sensor properties such as Brightness, Hue, and Contrast.

Syntax

DWORD PDD_GetAdapterInfo( 
  LPVOID PDDContext, 
  PADAPTERINFO pAdapterInfo 
);

Parameters

  • PDDContext
    [in] This is the return value of PDD_Init.
  • pAdapterInfo
    [out]

    typedef struct _AdapterInfo
    {
        DWORD dwSize;
        ULONG ulCTypes;     // Total number of senosr modes implemented by this camera
        ULONG ulVersionID;  // The version number of MDD/PDD interface that the PDD implements    
        POWER_CAPABILITIES PowerCaps; // Power Capabilities   
        SENSOR_PROPERTY     SensorProps[NUM_PROPERTY_ITEMS]; // All ProcAmp and CameraControl props
    } ADAPTERINFO, *PADAPTERINFO;
    

    This structure is defined under The above structure is defined in %_WINCERROOT%\ public\COMMON\oak\drivers\Capture\camera\layered\inc\dstruct.h

Return Value

PDD specific. ERROR_SUCCESS represents success. Any other value will be treated as error.

Requirements

Header

Developer Implemented

Library

Developer Implemented

See Also

Reference

Camera PDD Methods