Microsoft DirectX 9.0

RESET_MASKS

The RESET_MASKS macro fills the color mask fields in a VIDEOINFO structure with zeroes.

Syntax

RESET_MASKS(pbmi)

Parameters

pbmi

Pointer to a VIDEOINFO structure.

Return Value

No return value.

Remarks

As defined in the header file Amvideo.h, this macro is not correct and will cause a compile error. Replace it with the following:

#undef RESET_MASKS
#define RESET_MASKS(x) (ZeroMemory((PVOID)(x)->dwBitMasks, SIZE_MASKS))

See Also