Next: GetGlobalInstance - AurieFramework/YYToolkit GitHub Wiki
Returns a pointer to the instance representing the GameMaker global namespace.
Syntax
AurieStatus GetGlobalInstance(
[out] CInstance** Instance
);
Parameters
Instance
A pointer to the buffer into which the address of the global instance is written. The contents of this buffer are guaranteed to be preserved if the function fails.
Return Value
The function returns AURIE_SUCCESS
on success, otherwise returns a matching error code. If the internal runner function needed for looking up named objects isn't available, the AURIE_MODULE_INTERNAL_ERROR
status code is returned. If the runner doesn't have a @@GlobalScope@@
function or the lookup for the function failed, the AURIE_OBJECT_NOT_FOUND
status code may be returned.