Share via


PDD_UnRegisterClientBuffer (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Other Resources

Camera PDD Methods