-
Notifications
You must be signed in to change notification settings - Fork 13
Next: GetGlobalInstance
Archie_UwU edited this page Nov 19, 2023
·
1 revision
Returns a pointer to the instance representing the GameMaker global namespace.
AurieStatus GetGlobalInstance(
[out] CInstance** 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.
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.