Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在研究捕获 GDI 调用的打印机驱动程序示例,例如 DrvBitBlt()、DrvTextOut() 等。在 DrvBitBlt 中,我将 ROP4 值设为 0XF0F0。这意味着我们需要使用画笔对象。
当我阅读 DrvBitBlt() ROP4 时,文档说:
低字节指定掩码为 1 时应计算的 Rop3,高字节指定掩码为 0 时可计算和应用的 Rop3。
我的问题是掩码值将出现在哪里。如何获取掩码位是 0 或 1。
掩码位来自DrvBitBlt的第三个参数