StructTypeOfCallInfo¶
Include: Use System\Reflection.pkg
See Also: TypeOfCallInfo, StructTypeOf, CreateStructFromType
Purpose¶
Inside a function, returns struct metadata for the caller's return variable when the function is being called for a struct result.
Syntax¶
StructTypeOfCallInfo to hStructType
Arguments¶
hStructType
: Receives a struct metadata Handle.
Returns¶
This command writes the struct metadata handle to hStructType.
Behavior¶
Returns 0 when no struct return-call information is available.
Example¶
Function CreateStructResult Returns Variant
Handle hStructType
Variant vStruct
StructTypeOfCallInfo to hStructType
If (hStructType <> 0) Begin
Get CreateStructFromType hStructType to vStruct
End
Function_Return vStruct
End_Function