Share via


PDD_GetSensorModeInfo (Compact 2013)

3/26/2014

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

  • PDDContext
    [in] This is the return value of PDD_Init.
  • 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

See Also

Reference

Camera PDD Methods