DISPIDs
DISPIDs, or dispatch identifiers, are integer identifiers used in Component Object Model (COM) automation to identify members of an interface that supports IDispatch. They enable late binding by letting clients invoke methods or access properties without compile-time knowledge of the interface.
In practice, a scripting or automation client calls IDispatch::GetIDsOfNames to map a member name (such as a
DISPIDs can be assigned in two ways. They may be automatically assigned by a type library when
If an object does not expose IDispatch (for example, a purely vtable-bound interface), DISPIDs are not used.