|
Spellforce-Spell-framework
|
#include <windows.h>#include "core/sf_hooks.h"#include "core/sf_wrappers.h"#include "registry/sf_registry.h"#include "../asi/sf_asi.h"#include <stdio.h>
Go to the source code of this file.
Functions | |
| DebugLevel | parse_debug_level (const char *levelStr) |
| void | create_default_ini_file (const char *filename) |
| void | load_debug_level_from_ini (const char *filename) |
| BOOL APIENTRY | DllMain (HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) |
| Entry point for the DLL. | |
Variables | |
| DebugLevel | global_debug_level = DEBUG_INFO |
| void create_default_ini_file | ( | const char * | filename | ) |
| BOOL APIENTRY DllMain | ( | HMODULE | hModule, |
| DWORD | ul_reason_for_call, | ||
| LPVOID | lpReserved ) |
Entry point for the DLL.
This function is called by the operating system when the DLL is loaded or unloaded. It handles initialization and cleanup based on the reason for the call.
| hModule | Handle to the DLL module. This value is used for resource management. |
| ul_reason_for_call | The reason the function is being called. Possible values include:
|
| lpReserved | If ul_reason_for_call is DLL_PROCESS_ATTACH, this parameter is NULL for dynamic loads and non-NULL for static loads. If ul_reason_for_call is DLL_PROCESS_DETACH, this parameter is NULL if the DLL is being unloaded by a call to FreeLibrary, or non-NULL if the process is terminating. |
Definition at line 118 of file sfsf.cpp.

| void load_debug_level_from_ini | ( | const char * | filename | ) |
| DebugLevel parse_debug_level | ( | const char * | levelStr | ) |
| DebugLevel global_debug_level = DEBUG_INFO |