PDD_InitSensorMode (Compact 2013)
3/26/2014
PDD_InitSensorMod is called when the MDD layer wants the PDD layer to allocate all the resources related to a given mode ulModeType.
Syntax
DWORD PDD_InitSensorMode(
LPVOID PDDContext,
ULONG ulModeType,
LPVOID ModeContext
);
Parameters
- PDDContext
[in] This is the return value of PDD_Init.
- ulModeType
[in] There are three modes supported, i.e., CAPTURE, PREVIEW and STILL
- ModeContext
[out] This is mode specific context that the MDD sends to the PDD. The PDD then passes this context to calls to MDD_HandleIO()
Return Value
PDD specific. ERROR_SUCCESS represents success. Any other value will be treated as error.
Requirements
Header |
Developer Implemented |
Library |
Developer Implemented |