RetroArch
Macros | Functions | Variables
platform_win32.c File Reference
#include <stdint.h>
#include <stddef.h>
#include <string.h>
#include <retro_miscellaneous.h>
#include <windows.h>
#include <boolean.h>
#include <compat/strl.h>
#include <dynamic/dylib.h>
#include <lists/file_list.h>
#include <file/file_path.h>
#include <string/stdstring.h>
#include "../frontend_driver.h"
#include "../../configuration.h"
#include "../../defaults.h"
#include "../../retroarch.h"
#include "../../verbosity.h"
#include "../../ui/drivers/ui_win32.h"
Include dependency graph for platform_win32.c:

Macros

#define SM_SERVERR2   89
 

Functions

 VOID (WINAPI *DragAcceptFiles_func)(HWND
 
static void gfx_dwm_shutdown (void)
 
static bool gfx_init_dwm (void)
 
static void gfx_set_dwm (void)
 
static void frontend_win32_get_os (char *s, size_t len, int *major, int *minor)
 
static void frontend_win32_init (void *data)
 
enum frontend_powerstate frontend_win32_get_powerstate (int *seconds, int *percent)
 
enum frontend_architecture frontend_win32_get_architecture (void)
 
static int frontend_win32_parse_drive_list (void *data, bool load_content)
 
static void frontend_win32_environment_get (int *argc, char *argv[], void *args, void *params_data)
 
static uint64_t frontend_win32_get_mem_total (void)
 
static uint64_t frontend_win32_get_mem_used (void)
 
static void frontend_win32_attach_console (void)
 
static void frontend_win32_detach_console (void)
 

Variables

 BOOL
 
static bool dwm_composition_disabled
 
static bool console_needs_free
 
frontend_ctx_driver_t frontend_ctx_win32
 

Macro Definition Documentation

◆ SM_SERVERR2

#define SM_SERVERR2   89

Function Documentation

◆ frontend_win32_attach_console()

static void frontend_win32_attach_console ( void  )
static

◆ frontend_win32_detach_console()

static void frontend_win32_detach_console ( void  )
static

◆ frontend_win32_environment_get()

static void frontend_win32_environment_get ( int *  argc,
char *  argv[],
void args,
void params_data 
)
static
Here is the call graph for this function:

◆ frontend_win32_get_architecture()

enum frontend_architecture frontend_win32_get_architecture ( void  )

◆ frontend_win32_get_mem_total()

static uint64_t frontend_win32_get_mem_total ( void  )
static
Here is the caller graph for this function:

◆ frontend_win32_get_mem_used()

static uint64_t frontend_win32_get_mem_used ( void  )
static
Here is the call graph for this function:

◆ frontend_win32_get_os()

static void frontend_win32_get_os ( char *  s,
size_t  len,
int *  major,
int *  minor 
)
static
Here is the call graph for this function:

◆ frontend_win32_get_powerstate()

enum frontend_powerstate frontend_win32_get_powerstate ( int *  seconds,
int *  percent 
)

◆ frontend_win32_init()

static void frontend_win32_init ( void data)
static

◆ frontend_win32_parse_drive_list()

static int frontend_win32_parse_drive_list ( void data,
bool  load_content 
)
static
Here is the call graph for this function:

◆ gfx_dwm_shutdown()

static void gfx_dwm_shutdown ( void  )
static
Here is the caller graph for this function:

◆ gfx_init_dwm()

static bool gfx_init_dwm ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gfx_set_dwm()

static void gfx_set_dwm ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ VOID()

VOID ( WINAPI *  DragAcceptFiles_func)
Here is the caller graph for this function:

Variable Documentation

◆ BOOL

◆ console_needs_free

bool console_needs_free
static

◆ dwm_composition_disabled

bool dwm_composition_disabled
static

◆ frontend_ctx_win32

frontend_ctx_driver_t frontend_ctx_win32
Initial value:
= {
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
"win32"
}
static void frontend_win32_environment_get(int *argc, char *argv[], void *args, void *params_data)
Definition: platform_win32.c:415
enum frontend_architecture frontend_win32_get_architecture(void)
Definition: platform_win32.c:362
enum frontend_powerstate frontend_win32_get_powerstate(int *seconds, int *percent)
Definition: platform_win32.c:333
static void frontend_win32_init(void *data)
Definition: platform_win32.c:311
static uint64_t frontend_win32_get_mem_total(void)
Definition: platform_win32.c:475
#define NULL
Pointer to 0.
Definition: gctypes.h:65
static void frontend_win32_get_os(char *s, size_t len, int *major, int *minor)
Definition: platform_win32.c:153
static void frontend_win32_detach_console(void)
Definition: platform_win32.c:549
static int frontend_win32_parse_drive_list(void *data, bool load_content)
Definition: platform_win32.c:389
static void frontend_win32_attach_console(void)
Definition: platform_win32.c:509
static uint64_t frontend_win32_get_mem_used(void)
Definition: platform_win32.c:492