PDD_HandleModeCustomProperties (Windows Embedded CE 6.0)
1/6/2010
PDD_HandleModeCustomProperties handles Sensor Mode specific Custom/Proprietary properties. All DeviceIOControl() calls corresponding to Custom properties would get translated to PDD_HandleModeCustomProperties()
Syntax
DWORD PDD_HandleModeCustomProperties(
LPVOID PDDContext,
ULONG ulModeType,
PUCHAR pInBuf,
DWORD InBufLen,
PUCHAR pOutBuf,
DWORD OutBufLen,
PDWORD pdwBytesTransferred
);
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
PUCHAR pInBuf
[in]Pointer to a buffer that contains the data required to perform the operation. Set to NULL if the dwIoControlCode parameter specifies an operation that does not require input data
DWORD InBufLen
[in]Size, in bytes, of the buffer pointed to by pInBuf.
PUCHAR pOutBuf
[out]Pointer to a buffer that receives the output data for the operation.
DWORD OutBufLen
[out]Size, in bytes, of the buffer pointed to by pOutBuf.
PDWORD pdwBytesTransferred
[out]Pointer to a variable that receives the size, in bytes, of the data stored into the buffer pointed to by pOutBuf.
Return Value
PDD specific. ERROR_SUCCESS represents success. Any other value will be treated as error.
Requirements
Header | Developer Implemented |
Library | Developer Implemented |
Windows Embedded CE | Windows Embedded CE 6.0 and later |