MIL_ID EventId, | //in |
MIL_INT64 InfoType, | //in |
void *UserVarPtr | //out |
This function allows you to get information about the event that caused the hook function to be called. MobjGetHookInfo() should only be called within the scope of an object hook-handler function (see MobjHookFunction()).
Specifies the object-related event identifier received by the hook-handler function (see MobjHookFunction()).
Specifies the type of information about which to inquire.
See the Parameter associations section for possible values that can be specified.
Specifies the address in which to write the requested information.
See the Parameter associations section for possible values that can be returned.
The table below lists possible values for the InfoType parameter and possible values returned to the UserVarPtr parameter.
For inquiring information
|
|||||||||||||||||||||||||||||||||||||||
InfoType | Description | ||||||||||||||||||||||||||||||||||||||
UserVarPtr - Possible values returned |
|||||||||||||||||||||||||||||||||||||||
M_OBJECT_ID |
Inquires the object identifier that called the hook-handler function. (summarize)Inquires the object identifier that called the hook-handler function. (more details...) |
||||||||||||||||||||||||||||||||||||||
UserVarPtr extra info |
Data type info: Data
type: address of a MIL_ID
Data type info: Data
type: address of a MIL_ID
|
||||||||||||||||||||||||||||||||||||||
Object identifier |
Specifies the object identifier that called the hook-handler function. |
Header | Include mil.h. |
Library | Use mil.lib. |
DLL | Requires mil.dll. |