Share via


PDD_SetSensorModeFormat (Compact 2013)

3/26/2014

PDD_SetSensorModeFormat is called to set the format of a particular sensor mode such as ulModeType.

Syntax

DWORD PDD_SetSensorModeFormat(
  LPVOID PDDContext, 
  ULONG ulModeType, 
  PCS_DATARANGE_VIDEO pCsDataRangeVideo 
);

Parameters

  • PDDContext
    [in] This is the return value of PDD_Init.
  • ulModeType
    [in] There are three modes supported, i.e., CAPTURE, PREVIEW and STILL
  • pCsDataRangeVideo
    [in] Defined in %_WINCEROOT%\public\common\oak\inc\csmedia.h

Return Value

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

Remarks

The PDD interface must not allocate resources at this time. Instead it should wait for a PDD_AllocateBuffer call to do the actual allocation.

Requirements

Header

Developer Implemented

Library

Developer Implemented

See Also

Reference

Camera PDD Methods