PDD_FillBuffer (Windows Embedded CE 6.0)

1/6/2010

PDD_FillBuffer is called by the MDD to transfer or DMA data to the buffer.

Syntax

DWORD PDD_FillBuffer( 
LPVOID PDDContext, 
ULONG ulModeType, 
PUCHAR pImage 
);

Parameters

  • LPVOID PDDContext
    [in]

    This is the return value of PDD_Init.

  • ULONG ulModeType
    T[in]

    There are three modes supported, i.e., CAPTURE, PREVIEW and STILL

  • PUCHAR pImage
    [in]

    Pointer to the buffer that needs to be filled by the PDD

Return Value

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

Remarks

When the PDD layer receives an interrupt for sensor data availability, it calls the MDD_HandleIO method implemented by the MDD layer. MDD_HandleIO is used internally to call PDD_FillBuffer to let the PDD layer transfer or DMA data to the buffer.

Requirements

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

See Also

Other Resources

Camera PDD Methods