Share via


PDD_HandleModeCustomProperties (Compact 2013)

3/26/2014

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

  • PDDContext
    [in] This is the return value of PDD_Init.
  • ulModeType
    [in] There are three modes supported, i.e., CAPTURE, PREVIEW and STILL
  • 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.
  • InBufLen
    [in] Size, in bytes, of the buffer pointed to by pInBuf.
  • pOutBuf
    [out] Pointer to a buffer that receives the output data for the operation.
  • OutBufLen
    [out] Size, in bytes, of the buffer pointed to by pOutBuf.
  • 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

See Also

Reference

Camera PDD Methods