; --------------------------------------------------------------------------------------------------
;                           gapi32.inc Copyright The MASM32 SDK 1998-2010
; --------------------------------------------------------------------------------------------------

IFNDEF GAPI32_INC
GAPI32_INC equ <1>

CbGSzLen PROTO STDCALL :DWORD
CbVSzLen PROTO STDCALL :DWORD,:DWORD
CchGSzLen PROTO STDCALL :DWORD
CchVSzLen PROTO STDCALL :DWORD,:DWORD
EntryFunc PROTO STDCALL :DWORD,:DWORD,:DWORD
FDeinitIME PROTO STDCALL :DWORD
FEucCodeE PROTO STDCALL :DWORD,:DWORD
FEucCodeS PROTO STDCALL :DWORD,:DWORD
FFlushIMEComposition PROTO STDCALL :DWORD,:DWORD
FGAddPunct PROTO STDCALL :DWORD,:DWORD
FGAlign PROTO STDCALL :DWORD,:DWORD
FGCheckLang PROTO STDCALL :DWORD,:DWORD
FGGetDefFont PROTO STDCALL :DWORD,:DWORD
FGGetLangInfo PROTO STDCALL :DWORD,:DWORD
FGGetLangInfos PROTO STDCALL :DWORD
FGInitPunct PROTO STDCALL :DWORD,:DWORD
FGLeadByte PROTO STDCALL :DWORD
FGLeadBytep PROTO STDCALL :DWORD
FGPunct PROTO STDCALL :DWORD,:DWORD
FGRemovePunct PROTO STDCALL :DWORD,:DWORD
FGSetLangInfo PROTO STDCALL :DWORD,:DWORD
FGSetWordBreakProc PROTO STDCALL :DWORD
FGSyncSys PROTO STDCALL
FGValidString PROTO STDCALL :DWORD
FGetActiveIMEStatus PROTO STDCALL :DWORD
FGetConversionStatus PROTO STDCALL :DWORD,:DWORD,:DWORD
FGetOpenIMEStatus PROTO STDCALL :DWORD
FGetOpenIMEStatusWindow PROTO STDCALL :DWORD
FIMEMessage PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FIMEWordRegister PROTO STDCALL :DWORD,:DWORD,:DWORD
FInitIME PROTO STDCALL :DWORD,:DWORD,:DWORD
FRedefCommand PROTO STDCALL :DWORD,:DWORD
FRegisterHelpID PROTO STDCALL :DWORD,:DWORD,:DWORD
FSJISCode PROTO STDCALL :DWORD,:DWORD
FSetActiveIMEStatus PROTO STDCALL :DWORD,:DWORD
FSetConversionStatus PROTO STDCALL :DWORD,:DWORD,:DWORD
FSetIMEFont PROTO STDCALL :DWORD,:DWORD
FSetIMEFontH PROTO STDCALL :DWORD,:DWORD
FSetIMEWndProc PROTO STDCALL :DWORD,:DWORD
FSetOpenIMEStatus PROTO STDCALL :DWORD,:DWORD
FSetOpenIMEStatusWindow PROTO STDCALL :DWORD,:DWORD
FTerminatorCode PROTO STDCALL :DWORD,:DWORD
FVAddPunct PROTO STDCALL :DWORD,:DWORD,:DWORD
FVAlign PROTO STDCALL :DWORD,:DWORD,:DWORD
FVCheckLang PROTO STDCALL :DWORD,:DWORD,:DWORD
FVFreeCharObject PROTO STDCALL :DWORD
FVFreeConvObject PROTO STDCALL :DWORD
FVFreeLangObject PROTO STDCALL :DWORD
FVFreePunctObject PROTO STDCALL :DWORD
FVGetLangInfo PROTO STDCALL :DWORD,:DWORD,:DWORD
FVGetLangInfos PROTO STDCALL :DWORD,:DWORD
FVInitPunct PROTO STDCALL :DWORD,:DWORD,:DWORD
FVLeadByte PROTO STDCALL :DWORD,:DWORD
FVLeadBytep PROTO STDCALL :DWORD,:DWORD
FVPunct PROTO STDCALL :DWORD,:DWORD,:DWORD
FVRegDecodeProc PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FVRegDecodeProcEx PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FVRegEncodeProc PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
FVRemoveDecodeProc PROTO STDCALL :DWORD,:DWORD
FVRemoveEncodeProc PROTO STDCALL :DWORD,:DWORD
FVRemovePunct PROTO STDCALL :DWORD,:DWORD,:DWORD
FVSetLangInfo PROTO STDCALL :DWORD,:DWORD,:DWORD
FVSetWordBreakProc PROTO STDCALL :DWORD,:DWORD
FVValidString PROTO STDCALL :DWORD,:DWORD
FValidateLogfont PROTO STDCALL :DWORD,:DWORD,:DWORD
FreeAllIMEObject PROTO STDCALL
HConvDlg PROTO STDCALL :DWORD,:DWORD
HConvDlgTemplate PROTO STDCALL :DWORD
HFreeDlg PROTO STDCALL :DWORD
HFreeDlgTemplate PROTO STDCALL :DWORD
IGetValidFontSize PROTO STDCALL :DWORD,:DWORD
IVWordBreakProc PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
IWordBreakProc PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
LpConvDlgTemplate PROTO STDCALL :DWORD
LpConvLockDlg PROTO STDCALL :DWORD,:DWORD
LpConvPropSheet PROTO STDCALL :DWORD
LpFreeDlg PROTO STDCALL :DWORD
LpFreeDlgTemplate PROTO STDCALL :DWORD
LpFreePropSheet PROTO STDCALL :DWORD
LpGetIMEComposition PROTO STDCALL :DWORD
LpGetIMECriticalSection PROTO STDCALL :DWORD
LpGetIMEWndProc PROTO STDCALL :DWORD
LpVCreateCharObject PROTO STDCALL
LpVCreateConvObject PROTO STDCALL
LpVCreateLangObject PROTO STDCALL
LpVCreatePunctObject PROTO STDCALL
LpVGetWordBreakProc PROTO STDCALL :DWORD
NCheckIMEMessage PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
NDetectCodeFromESC PROTO STDCALL :DWORD
NDetectCodeFromSz PROTO STDCALL :DWORD
NGetFontInfo PROTO STDCALL :DWORD,:DWORD,:DWORD
NGetIMEType PROTO STDCALL
NVGetDecodeProcList PROTO STDCALL :DWORD,:DWORD,:DWORD
NVGetDecodeProcNum PROTO STDCALL :DWORD
NVGetEncodeProcList PROTO STDCALL :DWORD,:DWORD,:DWORD
NVGetEncodeProcNum PROTO STDCALL :DWORD
REDEFCALL_New PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
REDEFCALL_Release PROTO STDCALL :DWORD
RedefOnCommand PROTO STDCALL :DWORD,:DWORD
SetIMECandidatePos PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SzGAlign PROTO STDCALL :DWORD,:DWORD
SzGCombine PROTO STDCALL :DWORD,:DWORD
SzGCombineCh PROTO STDCALL :DWORD,:DWORD
SzGConvToDBCS PROTO STDCALL :DWORD,:DWORD
SzGConvToSBCS PROTO STDCALL :DWORD,:DWORD
SzGCopy PROTO STDCALL :DWORD,:DWORD
SzGCopyCh PROTO STDCALL :DWORD,:DWORD
SzGFind PROTO STDCALL :DWORD,:DWORD
SzGFindBack PROTO STDCALL :DWORD,:DWORD,:DWORD
SzGFindBackCh PROTO STDCALL :DWORD,:DWORD,:DWORD
SzGFindCh PROTO STDCALL :DWORD,:DWORD
SzGLower PROTO STDCALL :DWORD,:DWORD
SzGNext PROTO STDCALL :DWORD
SzGPrev PROTO STDCALL :DWORD,:DWORD
SzGUpper PROTO STDCALL :DWORD,:DWORD
SzVAlign PROTO STDCALL :DWORD,:DWORD,:DWORD
SzVCombine PROTO STDCALL :DWORD,:DWORD,:DWORD
SzVCombineCh PROTO STDCALL :DWORD,:DWORD,:DWORD
SzVConvToDBCS PROTO STDCALL :DWORD,:DWORD,:DWORD
SzVConvToSBCS PROTO STDCALL :DWORD,:DWORD,:DWORD
SzVCopy PROTO STDCALL :DWORD,:DWORD,:DWORD
SzVCopyCh PROTO STDCALL :DWORD,:DWORD,:DWORD
SzVDecode PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SzVEncode PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
SzVFind PROTO STDCALL :DWORD,:DWORD,:DWORD
SzVFindBack PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SzVFindBackCh PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
SzVFindCh PROTO STDCALL :DWORD,:DWORD,:DWORD
SzVLower PROTO STDCALL :DWORD,:DWORD,:DWORD
SzVNext PROTO STDCALL :DWORD,:DWORD
SzVPrev PROTO STDCALL :DWORD,:DWORD,:DWORD
SzVUpper PROTO STDCALL :DWORD,:DWORD,:DWORD
UlDecodeEUC_JIS PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlDecodeGB2312_1980 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlDecodeISO8859_1 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlDecodeISO8859_7 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlDecodeJISX0201_1976 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlDecodeJISX0208_1978 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlDecodeJISX0208_1983 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlDecodeJISX0208_NEC PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlDecodeJISX0212_1990 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlDecodeKSC5601_1987 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlDecodeTerminator PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeEUC_JIS PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeGB2312_1980 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeISO8859_1 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeISO8859_7 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeJISX0201K_1976 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeJISX0201R_1976 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeJISX0201_1976 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeJISX0208S_1978 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeJISX0208S_1983 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeJISX0208S_NEC PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeJISX0208_1978 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeJISX0208_1983 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeJISX0208_NEC PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeJISX0212S_1990 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeJISX0212_1990 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeKSC5601_1987 PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlEncodeTerminator PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD,:DWORD
UlGCharType PROTO STDCALL :DWORD
UlGGetLang PROTO STDCALL
UlGGetPunctMask PROTO STDCALL :DWORD
UlGSetLang PROTO STDCALL :DWORD,:DWORD
UlGSetPunctMask PROTO STDCALL :DWORD,:DWORD
UlGetIMEComposition PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
UlGetIMEMode PROTO STDCALL :DWORD
UlSetIMEMode PROTO STDCALL :DWORD,:DWORD
UlVCharType PROTO STDCALL :DWORD,:DWORD
UlVGetLang PROTO STDCALL :DWORD
UlVGetPunctMask PROTO STDCALL :DWORD,:DWORD
UlVSetLang PROTO STDCALL :DWORD,:DWORD,:DWORD
UlVSetPunctMask PROTO STDCALL :DWORD,:DWORD,:DWORD
UsGCharSize PROTO STDCALL :DWORD
UsGDecChar PROTO STDCALL :DWORD
UsGGetBreakOption PROTO STDCALL
UsGGetPunct PROTO STDCALL :DWORD,:DWORD,:DWORD
UsGIncChar PROTO STDCALL :DWORD
UsGPunct PROTO STDCALL :DWORD
UsGSetBreakOption PROTO STDCALL :DWORD
UsVCharSize PROTO STDCALL :DWORD,:DWORD
UsVDecChar PROTO STDCALL :DWORD,:DWORD
UsVGetBreakOption PROTO STDCALL :DWORD
UsVGetPunct PROTO STDCALL :DWORD,:DWORD,:DWORD,:DWORD
UsVIncChar PROTO STDCALL :DWORD,:DWORD
UsVPunct PROTO STDCALL :DWORD,:DWORD
UsVSetBreakOption PROTO STDCALL :DWORD,:DWORD
VGetLastError PROTO STDCALL :DWORD
VResetDecodingStatus PROTO STDCALL :DWORD
VResetEncodingStatus PROTO STDCALL :DWORD

ELSE
  echo -----------------------------------------
  echo WARNING duplicate include file gapi32.inc
  echo -----------------------------------------
ENDIF
