Pyrogenesis
trunk
|
#include "precompiled.h"
#include "lib/sysdep/os/win/wutil.h"
#include <stdio.h>
#include <stdlib.h>
#include "lib/file/file.h"
#include "lib/posix/posix.h"
#include "lib/sysdep/sysdep.h"
#include "lib/sysdep/os/win/win.h"
#include "lib/sysdep/os/win/wdbg.h"
#include "lib/sysdep/os/win/winit.h"
#include <shlobj.h>
#include "lib/sysdep/os/win/wdll_main.h"
Variables | |
static CRITICAL_SECTION | cs [NUM_CS] |
static bool | cs_valid |
static wchar_t * | argvContents |
int | s_argc = 0 |
wchar_t ** | s_argv = 0 |
static OsPath * | systemPath |
static OsPath * | executablePath |
static OsPath * | localAppdataPath |
static OsPath * | roamingAppdataPath |
static OsPath * | personalPath |
static HMODULE | hUser32Dll |
static bool | isWow64 |
static HWND | hAppWindow |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Status StatusFromWin | ( | ) |
WINIT_REGISTER_EARLY_INIT | ( | wutil_Init | ) |
WINIT_REGISTER_LATE_SHUTDOWN | ( | wutil_Shutdown | ) |
void* wutil_Allocate | ( | size_t | size | ) |
HWND wutil_AppWindow | ( | ) |
enumerates all top-level windows and stops if PID matches. once this function returns a non-NULL handle, it will always return that cached value.
int wutil_argc | ( | ) |
wchar_t** wutil_argv | ( | ) |
const OsPath& wutil_ExecutablePath | ( | ) |
void wutil_Free | ( | void * | p | ) |
|
static |
|
static |
bool wutil_HasCommandLineArgument | ( | const wchar_t * | arg | ) |
|
static |
bool wutil_IsLocked | ( | WinLockId | id | ) |
bool wutil_IsWow64 | ( | ) |
HMODULE wutil_LibModuleHandle | ( | ) |
const OsPath& wutil_LocalAppdataPath | ( | ) |
void wutil_Lock | ( | WinLockId | id | ) |
const OsPath& wutil_PersonalPath | ( | ) |
const OsPath& wutil_RoamingAppdataPath | ( | ) |
|
static |
const OsPath& wutil_SystemPath | ( | ) |
void wutil_Unlock | ( | WinLockId | id | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int s_argc = 0 |
wchar_t** s_argv = 0 |
|
static |