Share via


PDD_GetAdapterInfo (Windows Embedded CE 6.0)

1/6/2010

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

  • LPVOID PDDContext
    [in]

    This is the return value of PDD_Init.

  • PADAPTERINFO 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
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Other Resources

Camera PDD Methods