PDD_SetSensorModeFormat (Windows Embedded CE 6.0)
1/6/2010
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
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
PCS_DATARANGE_VIDEO 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 |
Windows Embedded CE | Windows Embedded CE 6.0 and later |