SDL
2.0
|
#include <windows.h>
#include <basetyps.h>
Go to the source code of this file.
Macros | |
#define | WIN_StringToUTF8(S) SDL_iconv_string("UTF-8", "ASCII", (char *)(S), (SDL_strlen(S)+1)) |
#define | WIN_UTF8ToString(S) SDL_iconv_string("ASCII", "UTF-8", (char *)(S), SDL_strlen(S)+1) |
Functions | |
int | WIN_SetErrorFromHRESULT (const char *prefix, HRESULT hr) |
int | WIN_SetError (const char *prefix) |
HRESULT | WIN_CoInitialize (void) |
void | WIN_CoUninitialize (void) |
BOOL | WIN_IsWindowsVistaOrGreater (void) |
BOOL | WIN_IsWindows7OrGreater (void) |
char * | WIN_LookupAudioDeviceName (const WCHAR *name, const GUID *guid) |
BOOL | WIN_IsEqualGUID (const GUID *a, const GUID *b) |
BOOL | WIN_IsEqualIID (REFIID a, REFIID b) |
#define WIN_StringToUTF8 | ( | S | ) | SDL_iconv_string("UTF-8", "ASCII", (char *)(S), (SDL_strlen(S)+1)) |
Definition at line 46 of file SDL_windows.h.
#define WIN_UTF8ToString | ( | S | ) | SDL_iconv_string("ASCII", "UTF-8", (char *)(S), SDL_strlen(S)+1) |
Definition at line 47 of file SDL_windows.h.
Referenced by IsSDLWindowEventPending(), and SDL_LogOutput().
HRESULT WIN_CoInitialize | ( | void | ) |
BOOL WIN_IsEqualGUID | ( | const GUID * | a, |
const GUID * | b | ||
) |
BOOL WIN_IsEqualIID | ( | REFIID | a, |
REFIID | b | ||
) |
BOOL WIN_IsWindows7OrGreater | ( | void | ) |
BOOL WIN_IsWindowsVistaOrGreater | ( | void | ) |
char* WIN_LookupAudioDeviceName | ( | const WCHAR * | name, |
const GUID * | guid | ||
) |
int WIN_SetError | ( | const char * | prefix | ) |
int WIN_SetErrorFromHRESULT | ( | const char * | prefix, |
HRESULT | hr | ||
) |