HyperPlatform Programmer's Reference
Classes | Typedefs | Functions | Variables
global_object.cpp File Reference

Implements global object functions. More...

#include "global_object.h"
Include dependency graph for global_object.cpp:

Go to the source code of this file.

Classes

struct  DestructorEntry
 

Typedefs

using Destructor = void(__cdecl *)()
 

Functions

 __declspec (allocate(".CRT$XCA")) static Destructor g_gop_ctors_begin[1]
 
 __declspec (allocate(".CRT$XCZ")) static Destructor g_gop_ctors_end[1]
 
NTSTATUS GlobalObjectInitialization ()
 Calls all constructors and register all destructor. More...
 
void GlobalObjectTermination ()
 Calls all destructors. More...
 
int __cdecl atexit (_In_ Destructor dtor)
 

Variables

static const ULONG kGlobalObjectpPoolTag = 'jbOG'
 A pool tag for this module. More...
 
static SINGLE_LIST_ENTRY g_gop_dtors_list_head = {}
 

Detailed Description

Implements global object functions.

Definition in file global_object.cpp.

Typedef Documentation

◆ Destructor

using Destructor = void(__cdecl *)()

Definition at line 38 of file global_object.cpp.

Function Documentation

◆ __declspec() [1/2]

__declspec ( allocate(".CRT$XCA")  )

◆ __declspec() [2/2]

__declspec ( allocate(".CRT$XCZ")  )

◆ atexit()

int __cdecl atexit ( _In_ Destructor  dtor)

Definition at line 99 of file global_object.cpp.

◆ GlobalObjectInitialization()

NTSTATUS GlobalObjectInitialization ( )

Calls all constructors and register all destructor.

Returns
STATUS_SUCCESS on success

Definition at line 75 of file global_object.cpp.

Here is the caller graph for this function:

◆ GlobalObjectTermination()

void GlobalObjectTermination ( )

Calls all destructors.

Definition at line 86 of file global_object.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ g_gop_dtors_list_head

SINGLE_LIST_ENTRY g_gop_dtors_list_head = {}
static

Definition at line 67 of file global_object.cpp.

◆ kGlobalObjectpPoolTag

const ULONG kGlobalObjectpPoolTag = 'jbOG'
static

A pool tag for this module.

Definition at line 31 of file global_object.cpp.