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 <SDL_loadso.h>
#include <SDL_syswm.h>
Variables | |
const char * | main_window_name |
static CRITICAL_SECTION | cs [NUM_CS] |
static bool | cs_valid |
static OsPath * | systemPath |
static OsPath * | executablePath |
static OsPath * | localAppdataPath |
static OsPath * | roamingAppdataPath |
static OsPath * | personalPath |
static bool | isWow64 |
static HWND | hAppWindow |
|
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.
void wutil_EnableHiDPIOnWindows | ( | ) |
const OsPath& wutil_ExecutablePath | ( | ) |
void wutil_Free | ( | void * | p | ) |
|
static |
|
static |
|
static |
void* wutil_GetAppHDC | ( | ) |
|
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 | ( | ) |
void wutil_SetAppWindow | ( | SDL_Window * | window | ) |
void wutil_SetAppWindow | ( | void * | hwnd | ) |
Status wutil_SetPrivilege | ( | const wchar_t * | privilege, |
bool | enable | ||
) |
|
static |
const OsPath& wutil_SystemPath | ( | ) |
void wutil_Unlock | ( | WinLockId | id | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
const char* main_window_name |
|
static |
|
static |
|
static |