Share via


PDD_UnRegisterClientBuffer (Compact 2013)

3/26/2014

PDD_UnRegisterClientBuffer is called by the MDD interface to tell the PDD interface that the particular pointer is no longer available. The PDD interface must not use this pointer after this function call.

Syntax

DWORD PDD_UnRegisterClientBuffer( 
  LPVOID PDDContext, 
  ULONG ulModeType, 
  PVOID pBuffer 
);

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

  • PVOID pBuffer
    [in]

    Pointer to the buffer allocated by client.

Return Value

PDD specific. ERROR_SUCCESS represents success. Any other value will be treated as error.

Remarks

This method is only called if the Memory Model is not set to SPROPERTY_BUFFER_DRIVER.

The PDD interface must not use this pointer after this function call.

Requirements

Header

Developer Implemented

Library

Developer Implemented

See Also

Reference

Camera PDD Methods