FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <string.h>
#include <windows.h>
#include <Shlobj.h>
#include <Sddl.h>
#include "globalincs/pstypes.h"
#include "osapi/osregistry.h"
#include "cmdline/cmdline.h"
Go to the source code of this file.
Functions | |
bool | get_user_sid (SCP_string &outStr) |
bool | needsWOW64 () |
HKEY | get_registry_keyname (char *out_keyname, const char *section) |
bool | registry_has_value (const char *section, const char *name) |
void | os_config_write_string (const char *section, const char *name, const char *value) |
void | os_config_write_uint (const char *section, const char *name, uint value) |
const char * | os_config_read_string (const char *section, const char *name, const char *default_value) |
uint | os_config_read_uint (const char *section, const char *name, uint default_value) |
void | os_init_registry_stuff (const char *company, const char *app, const char *version) |
Variables | |
const char * | Osreg_company_name = "Volition" |
const char * | Osreg_class_name = "FreeSpace2Class" |
const char * | Osreg_app_name = "FreeSpace2" |
const char * | Osreg_title = "FreeSpace 2" |
const char * | Osreg_pref_dir = NULL |
int | Os_reg_inited = 0 |
HKEY get_registry_keyname | ( | char * | out_keyname, |
const char * | section | ||
) |
Definition at line 112 of file osregistry.cpp.
bool get_user_sid | ( | SCP_string & | outStr | ) |
Definition at line 50 of file osregistry.cpp.
bool needsWOW64 | ( | ) |
Definition at line 95 of file osregistry.cpp.
const char* os_config_read_string | ( | const char * | section, |
const char * | name, | ||
const char * | default_value | ||
) |
Definition at line 322 of file osregistry.cpp.
Definition at line 372 of file osregistry.cpp.
void os_config_write_string | ( | const char * | section, |
const char * | name, | ||
const char * | value | ||
) |
Definition at line 221 of file osregistry.cpp.
Definition at line 269 of file osregistry.cpp.
void os_init_registry_stuff | ( | const char * | company, |
const char * | app, | ||
const char * | version | ||
) |
Definition at line 423 of file osregistry.cpp.
bool registry_has_value | ( | const char * | section, |
const char * | name | ||
) |
Definition at line 174 of file osregistry.cpp.
int Os_reg_inited = 0 |
Definition at line 40 of file osregistry.cpp.
const char* Osreg_app_name = "FreeSpace2" |
Definition at line 35 of file osregistry.cpp.
const char* Osreg_class_name = "FreeSpace2Class" |
Definition at line 29 of file osregistry.cpp.
const char* Osreg_company_name = "Volition" |
Definition at line 28 of file osregistry.cpp.
const char* Osreg_pref_dir = NULL |
Definition at line 38 of file osregistry.cpp.
const char* Osreg_title = "FreeSpace 2" |
Definition at line 36 of file osregistry.cpp.