blob: b4db39f62d088f2992a977539561ee32b44436ed [file] [log] [blame] [edit]
/**
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER within this package.
*/
#ifndef _WINNLS32_
#define _WINNLS32_
#include <_mingw_unicode.h>
#include <winapifamily.h>
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _tagDATETIME {
WORD year;
WORD month;
WORD day;
WORD hour;
WORD min;
WORD sec;
} DATETIME;
typedef struct _tagIMEPROA {
HWND hWnd;
DATETIME InstDate;
UINT wVersion;
BYTE szDescription[50];
BYTE szName[80];
BYTE szOptions[30];
} IMEPROA,*PIMEPROA,*NPIMEPROA,*LPIMEPROA;
typedef struct _tagIMEPROW {
HWND hWnd;
DATETIME InstDate;
UINT wVersion;
WCHAR szDescription[50];
WCHAR szName[80];
WCHAR szOptions[30];
} IMEPROW,*PIMEPROW,*NPIMEPROW,*LPIMEPROW;
__MINGW_TYPEDEF_AW(IMEPRO)
__MINGW_TYPEDEF_AW(PIMEPRO)
__MINGW_TYPEDEF_AW(NPIMEPRO)
__MINGW_TYPEDEF_AW(LPIMEPRO)
WINBOOL WINAPI IMPGetIMEA (HWND, LPIMEPROA);
WINBOOL WINAPI IMPGetIMEW (HWND, LPIMEPROW);
WINBOOL WINAPI IMPQueryIMEA (LPIMEPROA);
WINBOOL WINAPI IMPQueryIMEW (LPIMEPROW);
WINBOOL WINAPI IMPSetIMEA (HWND, LPIMEPROA);
WINBOOL WINAPI IMPSetIMEW (HWND, LPIMEPROW);
UINT WINAPI WINNLSGetIMEHotkey (HWND);
WINBOOL WINAPI WINNLSEnableIME (HWND, WINBOOL);
WINBOOL WINAPI WINNLSGetEnableStatus (HWND);
#define IMPGetIME __MINGW_NAME_AW(IMPGetIME)
#define IMPQueryIME __MINGW_NAME_AW(IMPQueryIME)
#define IMPSetIME __MINGW_NAME_AW(IMPSetIME)
#ifdef __cplusplus
}
#endif
#endif
#endif