instance

Platform: WINDOWS
Definition: atom a = instance()
Description: Return a handle to the current program.
Comments: This handle value can be passed to various Windows routines to get information about the current program that is running, i.e. your program. Each time a user starts up your program, a different instance will be created.

In C, this is the first parameter to WinMain().

On Linux, instance() always returns 0.
See Also: Calling C Functions