DDADDVPCAPTUREBUFF structure (ddkmapi.h)

The DDADDVPCAPTUREBUFF structure contains the information required to add a new buffer to the internal capture queue.

Syntax

typedef struct _DDADDVPCAPTUREBUFF {
  HANDLE          hCapture;
  DWORD           dwFlags;
  PMDL            pMDL;
  PKEVENT         pKEvent;
  LPDDCAPBUFFINFO lpBuffInfo;
} DDADDVPCAPTUREBUFF, *LPDDADDVPCAPTUREBUFF;

Members

hCapture

Handle to the video port extensions (VPE) object.

dwFlags

Indicates whether the destination buffer exists in regular system memory or nonlocal display memory (AGP). This member can be one of the following values:

Flag Meaning
DDADDBUFF_INVERT The buffer is to be inverted during capture.
DDADDBUFF_NONLOCALVIDMEM The destination buffer exists in nonlocal display memory.
DDADDBUFF_SYSTEMMEMORY The destination buffer exists in system memory.

pMDL

Points to an MDL (defined in wdm.h) that describes the physical pages of the destination buffer.

pKEvent

Points to a KEVENT that the kernel-mode video transport sets when the destination has been filled.

lpBuffInfo

Points to a DDCAPBUFFINFO structure that the kernel-mode video transport fills in before setting the KEVENT.

Requirements

Requirement Value
Header ddkmapi.h (include Ddkmapi.h)

See also

DDCAPBUFFINFO

DD_DXAPI_ADDVPCAPTUREBUFFER

DxApi