zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_windows.h File Reference
#include <windows.h>

Go to the source code of this file.

Macros

#define _WIN32_WINNT   0x501 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices(), 0x501 for raw input */
 
#define STRICT
 
#define UNICODE   1
 
#define WIN32_LEAN_AND_MEAN
 
#define WIN_StringToUTF8(S)   SDL_iconv_string("UTF-8", "UCS-2-INTERNAL", (char *)(S), (SDL_wcslen(S)+1)*sizeof(WCHAR))
 
#define WIN_UTF8ToString(S)   (WCHAR *)SDL_iconv_string("UCS-2-INTERNAL", "UTF-8", (char *)(S), SDL_strlen(S)+1)
 

Functions

HRESULT WIN_CoInitialize (void)
 
void WIN_CoUninitialize (void)
 
int WIN_SetError (const char *prefix)
 

Macro Definition Documentation

#define _WIN32_WINNT   0x501 /* Need 0x410 for AlphaBlend() and 0x500 for EnumDisplayDevices(), 0x501 for raw input */

Definition at line 33 of file SDL_windows.h.

#define STRICT

Definition at line 28 of file SDL_windows.h.

#define UNICODE   1

Definition at line 30 of file SDL_windows.h.

#define WIN32_LEAN_AND_MEAN

Definition at line 27 of file SDL_windows.h.

#define WIN_StringToUTF8 (   S)    SDL_iconv_string("UTF-8", "UCS-2-INTERNAL", (char *)(S), (SDL_wcslen(S)+1)*sizeof(WCHAR))

Definition at line 41 of file SDL_windows.h.

#define WIN_UTF8ToString (   S)    (WCHAR *)SDL_iconv_string("UCS-2-INTERNAL", "UTF-8", (char *)(S), SDL_strlen(S)+1)

Definition at line 42 of file SDL_windows.h.

Referenced by SDL_LogOutput().

Function Documentation

HRESULT WIN_CoInitialize ( void  )
void WIN_CoUninitialize ( void  )
int WIN_SetError ( const char *  prefix)