Share via


PDD_GetSensorModeInfo (Windows Embedded CE 6.0)

1/6/2010

PDD_GetSensorModeInfo returns sensor mode specific information such as Memory model, Maximum number of buffers, Video control caps information and current video format specific to the given mode.

PDD_GetSensorModeInfo is called during instantiation time but can be called from any place.

Syntax

DWORD PDD_GetSensorModeInfo( 
LPVOID PDDContext
ULONG ulModeType
PSUBDEVICEINFO pSubDevInfo
);

Parameters

  • LPVOID PDDContext
    [in]

    This is the return value of PDD_Init.

  • ULONG ulModeType
    [in]

    There are three modes supported, i.e., CAPTURE, PREVIEW and STILL

  • PSENSORMODEINFO pSensorModeInfo
    [in], [out]

    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.

Remarks

PDD_GetSensorModeInfo is normally called during instantiation time but can be called from any place.

Requirements

Header Developer Implemented
Library Developer Implemented
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Other Resources

Camera PDD Methods