Microsoft DirectX 8.1 (C++) |
The BIT_MASKS_MATCH macro compares the color masks for two VIDEOINFO structures.
Syntax
BIT_MASKS_MATCH(pbmi1, pbmi2)
Parameters
pbmi1
Pointer to the first VIDEOINFO structure.
pbmi2
Pointer to the second VIDEOINFO structure.
Return Value
Returns TRUE if the color masks are identical, or FALSE otherwise.
Example Code
VIDEOINFO *pVi, *pVi2;
/* Initialize pVi and pVi2 (not shown). */
if (BIT_MASKS_MATCH(pVi, pVi2)
{
// ....
}
See Also