DRAWBUFFER

typedef struct _DRAWBUFFER {
PUCHAR lpData;
ULONG ulWidth;
ULONG ulHeight;
ULONG Format;
RECT rcSource;
} DRAWBUFFER, *PDRAWBUFFER;

The DRAWBUFFER structure describes the data, frame size, and format for drawing a video frame. It is defined in vcstruct.h.

Members

lpData

Pointer to frame data.

ulWidth

Frame width in pixels.

ulHeight

Frame height in pixels.

Format

Video data format.

rcSource

Rectangle describing portion of the frame to be drawn.

Comments

User-mode video capture drivers use the DRAWBUFFER structure when calling VC_DrawFrame. The ulWidth and ulHeight members describe the entire frame. The rcSource member specifies the portion of the frame to be drawn.