This repository has been archived on 2024-12-16. You can view files and clone it, but cannot push or open issues or pull requests.
CodeBlocksPortable/Borland/BCC55/Include/winnls32.h

94 lines
2.1 KiB
C

/*++ BUILD Version: 0003 // Increment this if a change has global effects
Copyright (c) 1985-1998, Microsoft Corporation
Module Name:
winnls32.h
Abstract:
Procedure declarations, constant definitions and macros for the
Windows NT 3.x compatible FarEast IMM component.
--*/
#ifndef _WINNLS32_
#pragma option push -b -a8 -pc -A- /*P_O_Push*/
#define _WINNLS32_
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
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,NEAR *NPIMEPROA,FAR *LPIMEPROA;
typedef struct _tagIMEPROW {
HWND hWnd;
DATETIME InstDate;
UINT wVersion;
WCHAR szDescription[50];
WCHAR szName[80];
WCHAR szOptions[30];
} IMEPROW,*PIMEPROW,NEAR *NPIMEPROW,FAR *LPIMEPROW;
#ifdef UNICODE
typedef IMEPROW IMEPRO;
typedef PIMEPROW PIMEPRO;
typedef NPIMEPROW NPIMEPRO;
typedef LPIMEPROW LPIMEPRO;
#else
typedef IMEPROA IMEPRO;
typedef PIMEPROA PIMEPRO;
typedef NPIMEPROA NPIMEPRO;
typedef LPIMEPROA LPIMEPRO;
#endif // UNICODE
BOOL WINAPI IMPGetIMEA( IN HWND, OUT LPIMEPROA);
BOOL WINAPI IMPGetIMEW( IN HWND, OUT LPIMEPROW);
#ifdef UNICODE
#define IMPGetIME IMPGetIMEW
#else
#define IMPGetIME IMPGetIMEA
#endif // !UNICODE
BOOL WINAPI IMPQueryIMEA( IN OUT LPIMEPROA);
BOOL WINAPI IMPQueryIMEW( IN OUT LPIMEPROW);
#ifdef UNICODE
#define IMPQueryIME IMPQueryIMEW
#else
#define IMPQueryIME IMPQueryIMEA
#endif // !UNICODE
BOOL WINAPI IMPSetIMEA( IN HWND, IN LPIMEPROA);
BOOL WINAPI IMPSetIMEW( IN HWND, IN LPIMEPROW);
#ifdef UNICODE
#define IMPSetIME IMPSetIMEW
#else
#define IMPSetIME IMPSetIMEA
#endif // !UNICODE
UINT WINAPI WINNLSGetIMEHotkey( IN HWND);
BOOL WINAPI WINNLSEnableIME( IN HWND, IN BOOL);
BOOL WINAPI WINNLSGetEnableStatus( IN HWND);
#ifdef __cplusplus
}
#endif /* __cplusplus */
#pragma option pop /*P_O_Pop*/
#endif // _WINNLS32_