windows-nt/Source/XPSP1/NT/base/mvdm/thunk/gdicbid.inc

18 lines
777 B
PHP
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
; Callback-type id's for GDI callbacks. All callback-type id's are
; 32-bits long and the upper 16-bits must be set to the module's
; Callback Client id.
;
; WARNING -- WARNING -- WARNING
;
; Win32c.dll uses the lower 16 bits of CBID's to index directly into
; the tables stored in GDI.EXE (gdicb16.asm) and GDI32.DLL (gdicb32.asm).
; Those tables *must* match these id's or callbacks will fail miserably.
; Do everyone a big favor and add new id's only at the end, and never
; change an existing id.
;
CBID_LINEDDA equ (0 + (CBCID_GDI SHL 16))
CBID_ENUMPEN equ (1 + (CBCID_GDI SHL 16))
CBID_ENUMBRUSH equ (2 + (CBCID_GDI SHL 16))
CBID_ABORTPROC equ (3 + (CBCID_GDI SHL 16))