PDD_AllocateBuffer (Windows Embedded CE 6.0)
1/6/2010
PDD_AllocateBuffer is called when the MDD interface wants PDD interface to allocate mode specific buffers. The size of the buffer should be equal to that of the currently selected format of the given mode.
Syntax
PVOID PDD_AllocateBuffer(
LPVOID PDDContext,
ULONG ulModeType
);
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
Return Value
PDD specific. ERROR_SUCCESS represents success. Any other value will be treated as error.
Remarks
Each mode (Capture, Still etc.) will have its own set of buffers. This method is only called if the memory model for the given mode is CSPROPERTY_BUFFER_DRIVER
Requirements
Header | Developer Implemented |
Library | Developer Implemented |
Windows Embedded CE | Windows Embedded CE 6.0 and later |