Identifies the member in a type description. For IDispatch interfaces, this is the same as DISPID.
typedef DISPID MEMBERID;
This is a 32-bit integral value in the following format.
| Bits | Value |
|---|---|
| 0 – 15 | Offset. Any value is permissible. |
| 16 – 21 | The nesting level of this type information in the inheritance hierarchy. For example:
The nesting level of IUnknown is 0, IDispatch is 1, and MyDisp is 2. |
| 22 – 25 | Reserved. Must be zero. |
| 26 – 28 | Value of the DISPID. |
| 29 | True if this is the member ID for a FUNCDESC; otherwise False. |
| 30 – 31 | Must be 01. |
Negative IDs are reserved for use by Automation.