/usr/share/mingw-w64/include/winnls32.h is in mingw-w64-common 4.0.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | /**
* 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
|