Skip to main content

M3dgraGetHookInfo

BoardSupported
Host SystemYes
V4L2Yes
Clarity UHDYes
Concord PoENo
GenTLYes
GevIQYes
GigE VisionYes
IndioNo
Iris GTXYes
Radient eV-CLYes
Rapixo CLYes
Rapixo CoFYes
Rapixo CXPYes
USB3 VisionYes

Get information about a 3D graphic hook event.

Syntax​

AIL_INT M3dgraGetHookInfo(
AIL_ID EventId, //in
AIL_INT64 InfoType, //in
void * UserVarPtr //out
)

Description​

This function allows you to get information about the event that caused the hook-handler function to be called. M3dgraGetHookInfo should only be called within the scope of a 3D graphic hook-handler function (see M3dgraHookFunction).

Parameters​

EventId (in, AIL_ID)​

Specifies the 3D graphic event identifier received by the hook-handler function (see M3dgraHookFunction).

InfoType (in, AIL_INT64)​

Specifies the type of information about the event to return.

UserVarPtr *(out, void)​

Specifies the address in which to write the requested information.

Parameter Associations​

For retrieving information about a 3d graphics list hook event​

Regardless of the 3D graphics list event that caused the hook-handler function to be called, the InfoType parameter can be set to the value below.


M_LIST​

Retrieves the Aurora Imaging Library identifier of the 3D graphics list that generated the event.

ValueDescription
3D graphics list identifierSpecifies the Aurora Imaging Library identifier of the 3D graphics list that generated the event.

For retrieving information regarding 3D graphic events​

Regardless of the 3D graphics event that caused the hook-handler function to be called, the InfoType parameter can be set to the value below.


M_LABEL​

Retrieves the label of the 3D graphic that generated the event.

ValueDescription
Value >= 0Specifies the label of the 3D graphic that generated the event.

Return Value​

Type: AIL_INT

The returned value is M_NULL if successful. If the operation fails, a non-null (!M_NULL) value is returned.

Copyright © 2026 Zebra Technologies.