Share via


PDD_DeAllocateBuffer

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

PDD_DeAllocateBuffer is called when the MDD interface wants PDD interface to de-allocate its mode specific buffer.

Syntax

DWORD PDD_DeAllocateBuffer(
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]

    This is the same pointer returned by PDD_AllocateBuffer().

Return Value

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

Remarks

MDD will call this function n times where n is the total number of buffers agreed by the driver and the application (DShow).

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

Requirements

Header Developer Implemented
Library Developer Implemented
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Other Resources

Camera PDD Methods