Skip to content

Next: GetGlobalInstance

Archie_UwU edited this page Nov 19, 2023 · 1 revision

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.

Quick Access

Documentation

Writeups

Clone this wiki locally