home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
PENWIN.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
49KB
|
1,644 lines
//----------------------------------------------------------------------------
// PenWin.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: PenWin.pas
//----------------------------------------------------------------------------
#ifndef PenWinHPP
#define PenWinHPP
//----------------------------------------------------------------------------
#include <MMSystem.hpp>
#include <Messages.hpp>
#include <Windows.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Penwin
{
//-- type declarations -------------------------------------------------------
typedef int HTRG;
typedef int HPCM;
typedef int HPENDATA;
typedef int HREC;
typedef long ALC;
typedef int CL;
typedef int HKP;
typedef int REC;
typedef long SYV;
typedef long *PALC;
typedef void *POEM;
typedef long *PSYV;
typedef int *PHPENDATA;
typedef int __stdcall (*TFNEnumProc)(PSYV p1, int p2, int p3);
typedef int __stdcall (*TFNLPDF)(int p1, void * p2, void * p3, int p4, int p5, int p6);
typedef TFNLPDF *PFNLPDF;
typedef DWord __stdcall (*TFNRCYieldProc)(void);
struct TAbsTime;
typedef TAbsTime *PAbsTime;
#pragma pack(push, 1)
struct TAbsTime
{
int sec;
int ms;
} ;
#pragma pack(pop)
struct TCtlInitHEdit;
typedef TCtlInitHEdit *PCtlInitHEdit;
#pragma pack(push, 1)
struct TCtlInitHEdit
{
int cbSize;
HWND hwnd;
int id;
int dwFlags;
int dwReserved;
} ;
#pragma pack(pop)
struct TBoxLayout;
typedef TBoxLayout *PBoxLayout;
#pragma pack(push, 1)
struct TBoxLayout
{
int cyCusp;
int cyEndCusp;
int style;
int dwReserved1;
int dwReserved2;
int dwReserved3;
} ;
#pragma pack(pop)
struct TIMEColors;
typedef TIMEColors *PIMEColors;
#pragma pack(push, 1)
struct TIMEColors
{
int cColors;
int *lpnElem;
int *lprgbIme;
} ;
#pragma pack(pop)
struct TCtlInitBEdit;
typedef TCtlInitBEdit *PCtlInitBEdit;
#pragma pack(push, 1)
struct TCtlInitBEdit
{
int cbSize;
HWND hwnd;
int id;
Word wSizeCategory;
Word wFlags;
int dwReserved;
} ;
#pragma pack(pop)
struct TBoxEditInfo;
typedef TBoxEditInfo *PBoxEditInfo;
#pragma pack(push, 1)
struct TBoxEditInfo
{
int cxBox;
int cyBox;
int cxBase;
int cyBase;
int cyMid;
TBoxLayout boxlayout;
int wFlags;
Byte szFaceName[32];
int wFontHeight;
int rgwReserved[8];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TRectOfs
{
int dLeft;
int dTop;
int dRight;
int dBottom;
} ;
#pragma pack(pop)
typedef TRectOfs *PRectOfs;
struct TPenDataHeader;
typedef TPenDataHeader *PPenDataHeader;
#pragma pack(push, 1)
struct TPenDataHeader
{
int wVersion;
int cbSizeUsed;
int cStrokes;
int cPnt;
int cPntStrokeMax;
Windows::TRect rectBound;
int wPndts;
int nInkWidth;
int rgbInk;
} ;
#pragma pack(pop)
struct TStrokeInfo;
typedef TStrokeInfo *PStrokeInfo;
#pragma pack(push, 1)
struct TStrokeInfo
{
int cPnt;
int cbPnts;
int wPdk;
int dwTick;
} ;
#pragma pack(pop)
struct TPenTip;
typedef TPenTip *PPenTip;
#pragma pack(push, 1)
struct TPenTip
{
int cbSize;
Byte btype;
Byte bwidth;
Byte bheight;
Byte bOpacity;
int rgb;
int dwFlags;
int dwReserved;
} ;
#pragma pack(pop)
typedef DWord __stdcall (*TFNAnimateProc)(int p1, int p2, int p3, PUINT p4, long p5);
struct TAnimateInfo;
typedef TAnimateInfo *PAnimateInfo;
#pragma pack(push, 1)
struct TAnimateInfo
{
int cbSize;
int uSpeedPct;
int uPeriodCB;
int fuFlags;
long lParam;
int dwReserved;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TOEMPenInfo
{
int wPdt;
int wValueMax;
int wDistinct;
} ;
#pragma pack(pop)
typedef TOEMPenInfo *POEMPenInfo;
struct TPenPacket;
typedef TPenPacket *PPenPacket;
#pragma pack(push, 1)
struct TPenPacket
{
int wTabletX;
int wTabletY;
int wPDK;
int rgwOemData[6];
} ;
#pragma pack(pop)
struct TOEMPenPacket;
typedef TOEMPenPacket *POEMPenPacket;
#pragma pack(push, 1)
struct TOEMPenPacket
{
int wTabletX;
int wTabletY;
int wPDK;
int rgwOemData[6];
int dwTime;
} ;
#pragma pack(pop)
struct TPenInfo;
typedef TPenInfo *PPenInfo;
#pragma pack(push, 1)
struct TPenInfo
{
int cxRawWidth;
int cyRawHeight;
int wDistinctWidth;
int wDistinctHeight;
int nSamplingRate;
int nSamplingDist;
long lPdc;
int cPens;
int cbOemData;
TOEMPenInfo rgoempeninfo[6];
int rgwReserved[7];
int fuOEM;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TCalbStruct
{
int wOffsetX;
int wOffsetY;
int wDistinctWidth;
int wDistinctHeight;
} ;
#pragma pack(pop)
typedef TCalbStruct *PCalbStruct;
typedef DWord __stdcall (*TFNRawHook)(PPenPacket PenPacket);
typedef int HRC;
typedef int HRCRESULT;
typedef int HWL;
typedef int HRECHOOK;
typedef int HINKSET;
typedef int *PHRC;
typedef int *PHRCRESULT;
typedef int *PHWL;
typedef DWord __stdcall (*TFNHRCResultHookProc)(int p1, int p2, int p3, int p4, int p5, void * p6);
typedef int *LPHINKSET;
#pragma pack(push, 1)
struct TInterval
{
TAbsTime atBegin;
TAbsTime atEnd;
} ;
#pragma pack(pop)
typedef TInterval *PInterval;
struct TBoxResults;
typedef TBoxResults *PBoxResults;
#pragma pack(push, 1)
struct TBoxResults
{
int indxBox;
int hinksetBox;
long rgSyv[1];
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TGuide
{
int xOrigin;
int yOrigin;
int cxBox;
int cyBox;
int cxBase;
int cyBase;
int cHorzBox;
int cVertBox;
int cyMid;
} ;
#pragma pack(pop)
typedef TGuide *PGuide;
struct TCtlInitIEdit;
typedef TCtlInitIEdit *PCtlInitIEdit;
#pragma pack(push, 1)
struct TCtlInitIEdit
{
int cbSize;
HWND hwnd;
int id;
Word ieb;
Word iedo;
Word iei;
Word ien;
Word ierec;
Word ies;
Word iesec;
Word pdts;
int hpndt;
HGDIOBJ hgdiobj;
HPEN hpenGrid;
POINT ptOrgGrid;
Word wVGrid;
Word wHGrid;
int dwApp;
int dwReserved;
} ;
#pragma pack(pop)
struct TPDEvent;
typedef TPDEvent *PPDEvent;
#pragma pack(push, 1)
struct TPDEvent
{
int cbSize;
HWND hwnd;
int wm;
long wParam;
long lParam;
POINT pt;
DWord fPen;
long lExInfo;
int dwReserved;
} ;
#pragma pack(pop)
struct TStrkFmt;
typedef TStrkFmt *PStrkFmt;
#pragma pack(push, 1)
struct TStrkFmt
{
int cbSize;
int iesf;
int iStrk;
TPenTip tip;
int dwUser;
int dwReserved;
} ;
#pragma pack(pop)
struct TPCMInfo;
typedef TPCMInfo *PPCMInfo;
#pragma pack(push, 1)
struct TPCMInfo
{
int cbSize;
int dwPcm;
Windows::TRect rectBound;
Windows::TRect rectExclude;
HRGN hrgnBound;
HRGN hrgnExclude;
int dwTimeout;
} ;
#pragma pack(pop)
struct TInkingInfo;
typedef TInkingInfo *PInkingInfo;
#pragma pack(push, 1)
struct TInkingInfo
{
int cbSize;
int wFlags;
TPenTip tip;
Windows::TRect rectClip;
Windows::TRect rectInkStop;
HRGN hrgnClip;
HRGN hrgnInkStop;
} ;
#pragma pack(pop)
struct TSYC;
typedef TSYC *PSYC;
#pragma pack(push, 1)
struct TSYC
{
int wStrokeFirst;
int wPntFirst;
int wStrokeLast;
int wPntLast;
DWord fLastSyc;
} ;
#pragma pack(pop)
#pragma pack(push, 1)
struct TSYE
{
long syv;
long lRecogVal;
int cl;
int iSyc;
} ;
#pragma pack(pop)
typedef TSYE *PSYE;
struct TSYG;
typedef TSYG *PSYG;
#pragma pack(push, 1)
struct TSYG
{
POINT rgpntHotSpots[8];
int cHotSpot;
int nFirstBox;
long lRecogVal;
TSYE *lpsye;
int cSye;
TSYC *lpsyc;
int cSyc;
} ;
#pragma pack(pop)
struct TRC;
typedef TRC *PRC;
#pragma pack(push, 1)
struct TRC
{
int hrec;
HWND hwnd;
int wEventRef;
int wRcPreferences;
long lRcOptions;
TFNRCYieldProc lpfnYield;
Byte lpUser[32];
int wCountry;
int wIntlPreferences;
char lpLanguage[44];
TFNLPDF *rglpdf[16];
int wTryDictionary;
int clErrorLevel;
long alc;
long alcPriority;
Byte rgbfAlc[32];
int wResultMode;
int wTimeOut;
long lPcm;
Windows::TRect rectBound;
Windows::TRect rectExclude;
TGuide guide;
int wRcOrient;
int wRcDirect;
int nInkWidth;
int rgbInk;
int dwAppParam;
int dwDictParam;
int dwRecognizer;
int rgwReserved[8];
} ;
#pragma pack(pop)
struct TRCResult;
typedef TRCResult *PRCResult;
#pragma pack(push, 1)
struct TRCResult
{
TSYG syg;
int wResultsType;
int cSyv;
long *lpsyv;
int hSyv;
int nBaseLine;
int nMidLine;
int hpendata;
Windows::TRect rectBoundInk;
POINT pntEnd;
TRC *lprc;
} ;
#pragma pack(pop)
typedef int __stdcall (*TFNFuncResults)(PRCResult p1, int p2);
struct TTarget;
typedef TTarget *PTarget;
#pragma pack(push, 1)
struct TTarget
{
int dwFlags;
int idTarget;
int htrgTarget;
Windows::TRect rectBound;
int dwData;
Windows::TRect rectBoundInk;
Windows::TRect rectBoundLastInk;
} ;
#pragma pack(pop)
struct TTargInfo;
typedef TTargInfo *PTargInfo;
#pragma pack(push, 1)
struct TTargInfo
{
int cbSize;
int dwFlags;
int htrgOwner;
Word cTargets;
Word iTargetLast;
TTarget rgTarget[1];
} ;
#pragma pack(pop)
struct TInpParams;
typedef TInpParams *PInpParams;
#pragma pack(push, 1)
struct TInpParams
{
int cbSize;
int dwFlags;
int hpndt;
TTarget target;
} ;
#pragma pack(pop)
struct TSKBInfo;
typedef TSKBInfo *PSKBInfo;
#pragma pack(push, 1)
struct TSKBInfo
{
HWND handle;
Word nPad;
DWord fVisible;
DWord fMinimized;
Windows::TRect hect;
long dwReserved;
} ;
#pragma pack(pop)
//-- var, const, procedure ---------------------------------------------------
#define ALC_DEFAULT (Byte)(0)
#define ALC_LCALPHA (Byte)(1)
#define ALC_UCALPHA (Byte)(2)
#define ALC_NUMERIC (Byte)(4)
#define ALC_PUNC (Byte)(8)
#define ALC_MATH (Byte)(16)
#define ALC_MONETARY (Byte)(32)
#define ALC_OTHER (Byte)(64)
#define ALC_ASCII (Byte)(128)
#define ALC_WHITE (Word)(256)
#define ALC_NONPRINT (Word)(512)
#define ALC_DBCS (Word)(1024)
#define ALC_JIS1 (Word)(2048)
#define ALC_GESTURE (Word)(16384)
#define ALC_USEBITMAP (int)(32768)
#define ALC_HIRAGANA (int)(65536)
#define ALC_KATAKANA (int)(131072)
#define ALC_KANJI (int)(262144)
#define ALC_GLOBALPRIORITY (int)(268435456)
#define ALC_OEM (int)(267911168)
#define ALC_RESERVED (int)(-536858624)
#define ALC_NOPRIORITY (Byte)(0)
#define ALC_ALPHA (Byte)(3)
#define ALC_ALPHANUMERIC (Byte)(7)
#define ALC_SYSMINIMUM (Word)(16655)
#define ALC_ALL (Word)(17279)
#define ALC_KANJISYSMINIMUM (int)(215311)
#define ALC_KANJIALL (int)(476031)
#define BXS_NONE (Byte)(0)
#define BXS_RECT (Byte)(1)
#define BXS_BOXCROSS (Byte)(4)
#define BXS_MASK (Byte)(7)
#define OBM_SKBBTNUP (Word)(32767)
#define OBM_SKBBTNDOWN (Word)(32766)
#define OBM_SKBBTNDISABLED (Word)(32765)
#define OBM_ZENBTNUP (Word)(32764)
#define OBM_ZENBTNDOWN (Word)(32763)
#define OBM_ZENBTNDISABLED (Word)(32762)
#define OBM_HANBTNUP (Word)(32761)
#define OBM_HANBTNDOWN (Word)(32760)
#define OBM_HANBTNDISABLED (Word)(32759)
#define OBM_KKCBTNUP (Word)(32758)
#define OBM_KKCBTNDOWN (Word)(32757)
#define OBM_KKCBTNDISABLED (Word)(32756)
#define OBM_SIPBTNUP (Word)(32755)
#define OBM_SIPBTNDOWN (Word)(32754)
#define OBM_SIPBTNDISABLED (Word)(32753)
#define OBM_PTYBTNUP (Word)(32752)
#define OBM_PTYBTNDOWN (Word)(32751)
#define OBM_PTYBTNDISABLED (Word)(32750)
#define IDC_PEN (char *)(0x7f77)
#define IDC_ALTSELECT (char *)(0x7ef5)
#define SYV_NULL (Byte)(0)
#define SYV_UNKNOWN (Byte)(1)
#define SYV_EMPTY (Byte)(3)
#define SYV_BEGINOR (Byte)(16)
#define SYV_ENDOR (Byte)(17)
#define SYV_OR (Byte)(18)
#define SYV_SOFTNEWLINE (Byte)(32)
#define SYV_SPACENULL (int)(65536)
#define SYV_SELECTFIRST (int)(196544)
#define SYV_LASSO (int)(196545)
#define SYV_SELECTLEFT (int)(196546)
#define SYV_SELECTRIGHT (int)(196547)
#define SYV_SELECTLAST (int)(196559)
#define SYV_CLEARCHAR (int)(196562)
#define SYV_HELP (int)(196563)
#define SYV_KKCONVERT (int)(196564)
#define SYV_CLEAR (int)(196565)
#define SYV_INSERT (int)(196566)
#define SYV_CONTEXT (int)(196567)
#define SYV_EXTENDSELECT (int)(196568)
#define SYV_UNDO (int)(196569)
#define SYV_COPY (int)(196570)
#define SYV_CUT (int)(196571)
#define SYV_PASTE (int)(196572)
#define SYV_CLEARWORD (int)(196573)
#define SYV_USER (int)(196574)
#define SYV_CORRECT (int)(196575)
#define SYV_BACKSPACE (int)(131080)
#define SYV_TAB (int)(131081)
#define SYV_RETURN (int)(131085)
#define SYV_SPACE (int)(131104)
#define SYV_APPGESTUREMASK (int)(131072)
#define SYV_CIRCLEUPA (int)(140470)
#define SYV_CIRCLEUPZ (int)(140495)
#define SYV_CIRCLELOA (int)(140496)
#define SYV_CIRCLELOZ (int)(140521)
#define SYV_SHAPELINE (int)(262145)
#define SYV_SHAPEELLIPSE (int)(262146)
#define SYV_SHAPERECT (int)(262147)
#define SYV_SHAPEMIN (int)(262145)
#define SYV_SHAPEMAX (int)(262147)
#define SYVHI_SPECIAL (Byte)(0)
#define SYVHI_ANSI (Byte)(1)
#define SYVHI_GESTURE (Byte)(2)
#define SYVHI_KANJI (Byte)(3)
#define SYVHI_SHAPE (Byte)(4)
#define SYVHI_UNICODE (Byte)(5)
#define SYVHI_VKEY (Byte)(6)
#define IEM_UNDO (Byte)(1)
#define IEM_CUT (Byte)(2)
#define IEM_COPY (Byte)(3)
#define IEM_PASTE (Byte)(4)
#define IEM_CLEAR (Byte)(5)
#define IEM_SELECTALL (Byte)(6)
#define IEM_ERASE (Byte)(7)
#define IEM_PROPERTIES (Byte)(8)
#define IEM_LASSO (Byte)(9)
#define IEM_RESIZE (Byte)(10)
#define IEM_USER (Byte)(100)
#define IES_BORDER (Byte)(1)
#define IES_HSCROLL (Byte)(2)
#define IES_VSCROLL (Byte)(4)
#define IES_OWNERDRAW (Byte)(8)
#define AI_CBSTROKE (int)(65535)
#define AI_SKIPUPSTROKES (Byte)(1)
#define CMPD_COMPRESS (Byte)(1)
#define CMPD_DECOMPRESS (Byte)(2)
#define CPDR_BOX (Byte)(1)
#define CPDR_LASSO (Byte)(2)
#define CPD_DEFAULT (Word)(1151)
#define CPD_USERBYTE (Word)(256)
#define CPD_USERWORD (Word)(512)
#define CPD_USERDWORD (Word)(768)
#define CPD_TIME (Word)(1024)
#define DPD_HDCPEN (Byte)(1)
#define DPD_DRAWSEL (Byte)(2)
#define EPDP_REMOVE (Byte)(1)
#define EPDS_SELECT (Byte)(1)
#define EPDS_STROKEINDEX (Byte)(2)
#define EPDS_USER (Byte)(3)
#define EPDS_PENTIP (Byte)(4)
#define EPDS_TIPCOLOR (Byte)(5)
#define EPDS_TIPWIDTH (Byte)(6)
#define EPDS_TIPNIB (Byte)(7)
#define EPDS_INKSET (Byte)(8)
#define EPDS_EQ (Byte)(0)
#define EPDS_LT (Byte)(16)
#define EPDS_GT (Byte)(32)
#define EPDS_NOT (Byte)(64)
#define EPDS_NE (Byte)(64)
#define EPDS_GTE (Byte)(80)
#define EPDS_LTE (Byte)(96)
#define EPDS_REMOVE (int)(32768)
#define GPA_MAXLEN (Byte)(1)
#define GPA_POINTS (Byte)(2)
#define GPA_PDTS (Byte)(3)
#define GPA_RATE (Byte)(4)
#define GPA_RECTBOUND (Byte)(5)
#define GPA_RECTBOUNDINK (Byte)(6)
#define GPA_SIZE (Byte)(7)
#define GPA_STROKES (Byte)(8)
#define GPA_TIME (Byte)(9)
#define GPA_USER (Byte)(10)
#define GPA_VERSION (Byte)(11)
#define GSA_PENTIP (Byte)(1)
#define GSA_PENTIPCLASS (Byte)(2)
#define GSA_USER (Byte)(3)
#define GSA_USERCLASS (Byte)(4)
#define GSA_TIME (Byte)(5)
#define GSA_SIZE (Byte)(6)
#define GSA_SELECT (Byte)(7)
#define GSA_DOWN (Byte)(8)
#define GSA_RECTBOUND (Byte)(9)
#define GSA_PENTIPTABLE (Byte)(10)
#define GSA_SIZETABLE (Byte)(11)
#define GSA_USERTABLE (Byte)(12)
#define IX_END (int)(65535)
#define PENTIP_NIBDEFAULT (Byte)(0)
#define PENTIP_HEIGHTDEFAULT (Byte)(0)
#define PENTIP_OPAQUE (Byte)(255)
#define PENTIP_HILITE (Byte)(128)
#define PENTIP_TRANSPARENT (Byte)(0)
#define PDR_NOHIT (Byte)(3)
#define PDR_HIT (Byte)(2)
#define PDR_OK (Byte)(1)
#define PDR_CANCEL (Byte)(0)
#define PDR_ERROR (Shortint)(-1)
#define PDR_PNDTERR (Shortint)(-2)
#define PDR_VERSIONERR (Shortint)(-3)
#define PDR_COMPRESSED (Shortint)(-4)
#define PDR_STRKINDEXERR (Shortint)(-5)
#define PDR_PNTINDEXERR (Shortint)(-6)
#define PDR_MEMERR (Shortint)(-7)
#define PDR_INKSETERR (Shortint)(-8)
#define PDR_ABORT (Shortint)(-9)
#define PDR_NA (Shortint)(-10)
#define PDR_USERDATAERR (Shortint)(-16)
#define PDR_SCALINGERR (Shortint)(-17)
#define PDR_TIMESTAMPERR (Shortint)(-18)
#define PDR_OEMDATAERR (Shortint)(-19)
#define PDR_SCTERR (Shortint)(-20)
#define PDTS_LOMETRIC (Byte)(0)
#define PDTS_HIMETRIC (Byte)(1)
#define PDTS_HIENGLISH (Byte)(2)
#define PDTS_STANDARDSCALE (Byte)(2)
#define PDTS_DISPLAY (Byte)(3)
#define PDTS_ARBITRARY (Byte)(4)
#define PDTS_SCALEMASK (Byte)(15)
#define PDTT_DEFAULT (Byte)(0)
#define PDTT_PENINFO (Word)(256)
#define PDTT_UPPOINTS (Word)(512)
#define PDTT_OEMDATA (Word)(1024)
#define PDTT_COLLINEAR (Word)(2048)
#define PDTT_COLINEAR (Word)(2048)
#define PDTT_DECOMPRESS (Word)(16384)
#define PDTT_COMPRESS (int)(32768)
#define PDTT_ALL (Word)(3840)
#define PHW_NONE (Byte)(0)
#define PHW_PRESSURE (Byte)(1)
#define PHW_HEIGHT (Byte)(2)
#define PHW_ANGLEXY (Byte)(4)
#define PHW_ANGLEZ (Byte)(8)
#define PHW_BARRELROTATION (Byte)(16)
#define PHW_OEMSPECIFIC (Byte)(32)
#define PHW_PDK (Byte)(64)
#define PHW_ALL (Byte)(127)
#define PDTS_COMPRESS2NDDERIV (Byte)(16)
#define PDTS_COMPRESSMETHOD (Byte)(240)
#define PDTS_NOPENINFO (Word)(256)
#define PDTS_NOUPPOINTS (Word)(512)
#define PDTS_NOOEMDATA (Word)(1024)
#define PDTS_NOCOLLINEAR (Word)(2048)
#define PDTS_NOCOLINEAR (Word)(2048)
#define PDTS_NOTICK (Word)(4096)
#define PDTS_NOUSER (Word)(8192)
#define PDTS_NOEMPTYSTROKES (Word)(16384)
#define PDTS_COMPRESSED (int)(32768)
#define SSA_PENTIP (Byte)(1)
#define SSA_PENTIPCLASS (Byte)(2)
#define SSA_USER (Byte)(3)
#define SSA_USERCLASS (Byte)(4)
#define SSA_TIME (Byte)(5)
#define SSA_SELECT (Byte)(6)
#define SSA_DOWN (Byte)(7)
#define SSA_PENTIPTABLE (Byte)(8)
#define SSA_USERTABLE (Byte)(9)
#define TIP_ERASECOLOR (Byte)(1)
#define TPD_RECALCSIZE (Byte)(0)
#define TPD_USER (Byte)(128)
#define TPD_TIME (Word)(256)
#define TPD_UPPOINTS (Word)(512)
#define TPD_COLLINEAR (Word)(1024)
#define TPD_COLINEAR (Word)(1024)
#define TPD_PENINFO (Word)(2048)
#define TPD_PHW (Word)(4096)
#define TPD_OEMDATA (Word)(4096)
#define TPD_EMPTYSTROKES (Word)(8192)
#define TPD_EVERYTHING (Word)(16383)
#define cbDictPathMax (Byte)(255)
#define DIRQ_QUERY (Byte)(1)
#define DIRQ_DESCRIPTION (Byte)(2)
#define DIRQ_CONFIGURE (Byte)(3)
#define DIRQ_OPEN (Byte)(4)
#define DIRQ_CLOSE (Byte)(5)
#define DIRQ_SETWORDLISTS (Byte)(6)
#define DIRQ_STRING (Byte)(7)
#define DIRQ_SUGGEST (Byte)(8)
#define DIRQ_ADD (Byte)(9)
#define DIRQ_DELETE (Byte)(10)
#define DIRQ_FLUSH (Byte)(11)
#define DIRQ_RCCHANGE (Byte)(12)
#define DIRQ_SYMBOLGRAPH (Byte)(13)
#define DIRQ_INIT (Byte)(14)
#define DIRQ_CLEANUP (Byte)(15)
#define DIRQ_COPYRIGHT (Byte)(16)
#define DIRQ_USER (Word)(4096)
#define BITPENUP (int)(32768)
#define DRV_SetPenDriverEntryPoints (Word)(2049)
#define DRV_SetEntryPoints (Word)(2049)
#define DRV_RemovePenDriverEntryPoints (Word)(2050)
#define DRV_RemoveEntryPoints (Word)(2050)
#define DRV_SetPenSamplingRate (Word)(2051)
#define DRV_SetPenSamplingDist (Word)(2052)
#define DRV_GetName (Word)(2053)
#define DRV_GetVersion (Word)(2054)
#define DRV_GetPenInfo (Word)(2055)
#define DRV_PenPlayStart (Word)(2056)
#define DRV_PenPlayBack (Word)(2057)
#define DRV_PenPlayStop (Word)(2058)
#define DRV_GetCalibration (Word)(2059)
#define DRV_SetCalibration (Word)(2060)
#define DRV_Reserved1 (Word)(2061)
#define DRV_Reserved2 (Word)(2062)
#define DRV_Query (Word)(2063)
#define DRV_GetPenSamplingRate (Word)(2064)
#define DRV_Calibrate (Word)(2065)
#define PLAY_VERSION_10_DATA (Byte)(0)
#define PLAY_VERSION_20_DATA (Byte)(1)
#define DRV_FAILURE (Byte)(0)
#define DRV_SUCCESS (Byte)(1)
#define DRV_BADPARAM1 (Shortint)(-1)
#define DRV_BADPARAM2 (Shortint)(-2)
#define DRV_BADSTRUCT (Shortint)(-3)
#define PENREG_DEFAULT (Byte)(2)
#define PENREG_WILLHANDLEMOUSE (Byte)(1)
#define MAXOEMDATAWORDS (Byte)(6)
#define RC_LDEFAULTFLAGS (int)(-2147483648)
#define PCM_PENUP (Byte)(1)
#define PCM_RANGE (Byte)(2)
#define PCM_INVERT (Byte)(32)
#define PCM_RECTEXCLUDE (Word)(8192)
#define PCM_RECTBOUND (Word)(16384)
#define PCM_TIMEOUT (int)(32768)
#define PCM_RGNBOUND (int)(65536)
#define PCM_RGNEXCLUDE (int)(131072)
#define PCM_DOPOLLING (int)(262144)
#define PCM_TAPNHOLD (int)(524288)
#define PCM_ADDDEFAULTS (int)(-2147483648)
#define PDC_INTEGRATED (Byte)(1)
#define PDC_PROXIMITY (Byte)(2)
#define PDC_RANGE (Byte)(4)
#define PDC_INVERT (Byte)(8)
#define PDC_RELATIVE (Byte)(16)
#define PDC_BARREL1 (Byte)(32)
#define PDC_BARREL2 (Byte)(64)
#define PDC_BARREL3 (Byte)(128)
#define PDK_NULL (Byte)(0)
#define PDK_UP (Byte)(0)
#define PDK_DOWN (Byte)(1)
#define PDK_BARREL1 (Byte)(2)
#define PDK_BARREL2 (Byte)(4)
#define PDK_BARREL3 (Byte)(8)
#define PDK_SWITCHES (Byte)(15)
#define PDK_UNUSED10 (Byte)(32)
#define PDK_UNUSED20 (Byte)(64)
#define PDK_INVERTED (Byte)(128)
#define PDK_PENIDMASK (Word)(3840)
#define PDK_UNUSED1000 (Word)(4096)
#define PDK_INKSTOPPED (Word)(8192)
#define PDK_OUTOFRANGE (Word)(16384)
#define PDK_DRIVER (int)(32768)
#define PDK_TIPMASK (Byte)(1)
#define PDT_NULL (Byte)(0)
#define PDT_PRESSURE (Byte)(1)
#define PDT_HEIGHT (Byte)(2)
#define PDT_ANGLEXY (Byte)(3)
#define PDT_ANGLEZ (Byte)(4)
#define PDT_BARRELROTATION (Byte)(5)
#define PDT_OEMSPECIFIC (Byte)(16)
#define PID_CURRENT (Shortint)(-1)
#define GRH_ALL (Byte)(0)
#define GRH_GESTURE (Byte)(1)
#define GRH_NONGESTURE (Byte)(2)
#define GST_SEL (Byte)(1)
#define GST_CLIP (Byte)(2)
#define GST_WHITE (Byte)(4)
#define GST_KKCONVERT (Byte)(8)
#define GST_EDIT (Byte)(16)
#define GST_SYS (Byte)(23)
#define GST_CIRCLELO (Word)(256)
#define GST_CIRCLEUP (Word)(512)
#define GST_CIRCLE (Word)(768)
#define GST_ALL (Word)(791)
#define HRCR_NORESULTS (Byte)(4)
#define HRCR_COMPLETE (Byte)(3)
#define HRCR_GESTURE (Byte)(2)
#define HRCR_OK (Byte)(1)
#define HRCR_INCOMPLETE (Byte)(0)
#define HRCR_ERROR (Shortint)(-1)
#define HRCR_MEMERR (Shortint)(-2)
#define HRCR_INVALIDGUIDE (Shortint)(-3)
#define HRCR_INVALIDPNDT (Shortint)(-4)
#define HRCR_UNSUPPORTED (Shortint)(-5)
#define HRCR_CONFLICT (Shortint)(-6)
#define HRCR_HOOKED (Shortint)(-8)
#define HWL_SYSTEM (Byte)(1)
#define ISR_ERROR (Shortint)(-1)
#define ISR_BADINKSET (Shortint)(-2)
#define ISR_BADINDEX (Shortint)(-3)
#define MAXHOTSPOT (Byte)(8)
#define PH_MAX (Shortint)(-1)
#define PH_DEFAULT (Shortint)(-2)
#define PH_MIN (Shortint)(-3)
#define RHH_STD (Byte)(0)
#define RHH_BOX (Byte)(1)
#define SCH_NONE (Byte)(0)
#define SCH_ADVISE (Byte)(1)
#define SCH_FORCE (Byte)(2)
#define SCIM_INSERT (Byte)(0)
#define SCIM_OVERWRITE (Byte)(1)
#define SRH_HOOKALL (Byte)(1)
#define SSH_RD (Byte)(1)
#define SSH_RU (Byte)(2)
#define SSH_LD (Byte)(3)
#define SSH_LU (Byte)(4)
#define SSH_DL (Byte)(5)
#define SSH_DR (Byte)(6)
#define SSH_UL (Byte)(7)
#define SSH_UR (Byte)(8)
#define SIH_ALLANSICHAR (Byte)(1)
#define TH_QUERY (Byte)(0)
#define TH_FORCE (Byte)(1)
#define TH_SUGGEST (Byte)(2)
#define TRAIN_NONE (Byte)(0)
#define TRAIN_DEFAULT (Byte)(1)
#define TRAIN_CUSTOM (Byte)(2)
#define TRAIN_BOTH (Byte)(3)
#define TRAIN_SAVE (Byte)(0)
#define TRAIN_REVERT (Byte)(1)
#define TRAIN_RESET (Byte)(2)
#define WCR_RECOGNAME (Byte)(0)
#define WCR_QUERY (Byte)(1)
#define WCR_CONFIGDIALOG (Byte)(2)
#define WCR_DEFAULT (Byte)(3)
#define WCR_RCCHANGE (Byte)(4)
#define WCR_VERSION (Byte)(5)
#define WCR_TRAIN (Byte)(6)
#define WCR_TRAINSAVE (Byte)(7)
#define WCR_TRAINMAX (Byte)(8)
#define WCR_TRAINDIRTY (Byte)(9)
#define WCR_TRAINCUSTOM (Byte)(10)
#define WCR_QUERYLANGUAGE (Byte)(11)
#define WCR_USERCHANGE (Byte)(12)
#define WCR_PWVERSION (Byte)(13)
#define WCR_GETALCPRIORITY (Byte)(14)
#define WCR_SETALCPRIORITY (Byte)(15)
#define WCR_GETANSISTATE (Byte)(16)
#define WCR_SETANSISTATE (Byte)(17)
#define WCR_GETHAND (Byte)(18)
#define WCR_SETHAND (Byte)(19)
#define WCR_GETDIRECTION (Byte)(20)
#define WCR_SETDIRECTION (Byte)(21)
#define WCR_INITRECOGNIZER (Byte)(22)
#define WCR_CLOSERECOGNIZER (Byte)(23)
#define WCR_PRIVATE (Word)(1024)
#define CRUC_NOTIFY (Byte)(0)
#define CRUC_REMOVE (Byte)(1)
#define WLT_STRING (Byte)(0)
#define WLT_STRINGTABLE (Byte)(1)
#define WLT_EMPTY (Byte)(2)
#define WLT_WORDLIST (Byte)(3)
#define IEB_DEFAULT (Byte)(0)
#define IEB_BRUSH (Byte)(1)
#define IEB_BIT_UL (Byte)(2)
#define IEB_BIT_CENTER (Byte)(3)
#define IEB_BIT_TILE (Byte)(4)
#define IEB_BIT_STRETCH (Byte)(5)
#define IEB_OWNERDRAW (Byte)(6)
#define IEDO_NONE (Byte)(0)
#define IEDO_FAST (Byte)(1)
#define IEDO_SAVEUPSTROKES (Byte)(2)
#define IEDO_RESERVED (int)(65532)
#define IEI_MOVE (Byte)(1)
#define IEI_RESIZE (Byte)(2)
#define IEI_CROP (Byte)(4)
#define IEI_DISCARD (Byte)(8)
#define IEI_RESERVED (int)(65520)
#define IEGI_ALL (Byte)(0)
#define IEGI_SELECTION (Byte)(1)
#define IEMODE_READY (Byte)(0)
#define IEMODE_ERASE (Byte)(1)
#define IEMODE_LASSO (Byte)(2)
#define IEN_NULL (Byte)(0)
#define IEN_PDEVENT (Byte)(1)
#define IEN_PAINT (Byte)(2)
#define IEN_FOCUS (Byte)(4)
#define IEN_SCROLL (Byte)(8)
#define IEN_EDIT (Byte)(16)
#define IEN_PROPERTIES (Byte)(32)
#define IEN_RESERVED (int)(65408)
#define IER_OK (Byte)(0)
#define IER_NO (Byte)(0)
#define IER_YES (Byte)(1)
#define IER_ERROR (Shortint)(-1)
#define IER_PARAMERR (Shortint)(-2)
#define IER_OWNERDRAW (Shortint)(-3)
#define IER_SECURITY (Shortint)(-4)
#define IER_SELECTION (Shortint)(-5)
#define IER_SCALE (Shortint)(-6)
#define IER_MEMERR (Shortint)(-7)
#define IER_NOCOMMAND (Shortint)(-8)
#define IER_NOGESTURE (Shortint)(-9)
#define IER_NOPDEVENT (Shortint)(-10)
#define IER_NOTINPAINT (Shortint)(-11)
#define IER_PENDATA (Shortint)(-12)
#define IEREC_NONE (Byte)(0)
#define IEREC_GESTURE (Byte)(1)
#define IEREC_RESERVED (int)(65534)
#define IESEC_NOCOPY (Byte)(1)
#define IESEC_NOCUT (Byte)(2)
#define IESEC_NOPASTE (Byte)(4)
#define IESEC_NOUNDO (Byte)(8)
#define IESEC_NOINK (Byte)(16)
#define IESEC_NOERASE (Byte)(32)
#define IESEC_NOGET (Byte)(64)
#define IESEC_NOSET (Byte)(128)
#define IESEC_RESERVED (int)(65280)
#define IESF_ALL (Byte)(1)
#define IESF_SELECTION (Byte)(2)
#define IESF_STROKE (Byte)(4)
#define IESF_TIPCOLOR (Byte)(8)
#define IESF_TIPWIDTH (Byte)(16)
#define IESF_PENTIP (Byte)(24)
#define IESI_REPLACE (Byte)(0)
#define IESI_APPEND (Byte)(1)
#define IN_PDEVENT (Word)(256)
#define IN_ERASEBKGND (Byte)(1)
#define IN_PREPAINT (Word)(514)
#define IN_PAINT (Byte)(3)
#define IN_POSTPAINT (Word)(516)
#define IN_MODECHANGED (Word)(4101)
#define IN_CHANGE (Word)(4102)
#define IN_UPDATE (Word)(4103)
#define IN_SETFOCUS (Word)(1032)
#define IN_KILLFOCUS (Word)(1033)
#define IN_MEMERR (Byte)(10)
#define IN_HSCROLL (Word)(2059)
#define IN_VSCROLL (Word)(2060)
#define IN_GESTURE (Word)(4109)
#define IN_COMMAND (Word)(4110)
#define IN_CLOSE (Byte)(15)
#define IN_PROPERTIES (Word)(8208)
#define LRET_DONE (Byte)(1)
#define LRET_ABORT (Shortint)(-1)
#define LRET_HRC (Shortint)(-2)
#define LRET_HPENDATA (Shortint)(-3)
#define LRET_PRIVATE (Shortint)(-4)
#define PCMR_OK (Byte)(0)
#define PCMR_ALREADYCOLLECTING (Shortint)(-1)
#define PCMR_INVALIDCOLLECTION (Shortint)(-2)
#define PCMR_EVENTLOCK (Shortint)(-3)
#define PCMR_INVALID_PACKETID (Shortint)(-4)
#define PCMR_TERMTIMEOUT (Shortint)(-5)
#define PCMR_TERMRANGE (Shortint)(-6)
#define PCMR_TERMPENUP (Shortint)(-7)
#define PCMR_TERMEX (Shortint)(-8)
#define PCMR_TERMBOUND (Shortint)(-9)
#define PCMR_APPTERMINATED (Shortint)(-10)
#define PCMR_TAP (Shortint)(-11)
#define PCMR_SELECT (Shortint)(-12)
#define PCMR_OVERFLOW (Shortint)(-13)
#define PCMR_ERROR (Shortint)(-14)
#define PCMR_DISPLAYERR (Shortint)(-15)
#define PCMR_TERMINVERT (Shortint)(-16)
#define PII_INKCLIPRECT (Byte)(1)
#define PII_INKSTOPRECT (Byte)(2)
#define PII_INKCLIPRGN (Byte)(4)
#define PII_INKSTOPRGN (Byte)(8)
#define PII_INKPENTIP (Byte)(16)
#define PII_SAVEBACKGROUND (Byte)(32)
#define PII_CLIPSTOP (Byte)(64)
#define PIT_RGNBOUND (Byte)(1)
#define PIT_RGNEXCLUDE (Byte)(2)
#define PIT_TIMEOUT (Byte)(4)
#define PIT_TAPNHOLD (Byte)(8)
#define CL_NULL (Byte)(0)
#define CL_MINIMUM (Byte)(1)
#define CL_MAXIMUM (Byte)(100)
#define cwRcReservedMax (Byte)(8)
#define ENUM_MINIMUM (Byte)(1)
#define ENUM_MAXIMUM (Word)(4096)
#define HKP_SETHOOK (Byte)(0)
#define HKP_UNHOOK (int)(65535)
#define HWR_RESULTS (Byte)(0)
#define HWR_APPWIDE (Byte)(1)
#define iSycNull (Shortint)(-1)
#define LPDFNULL (Byte)(0)
#define MAXDICTIONARIES (Byte)(16)
#define wPntAll (int)(65535)
#define cbRcLanguageMax (Byte)(44)
#define cbRcUserMax (Byte)(32)
#define cbRcrgbfAlcMax (Byte)(32)
#define RC_WDEFAULT (int)(65535)
#define RC_LDEFAULT (Shortint)(-1)
#define RC_WDEFAULTFLAGS (int)(32768)
#define CWR_REPLACECR (Byte)(1)
#define CWR_STRIPCR (Byte)(1)
#define CWR_STRIPLF (Byte)(2)
#define CWR_REPLACETAB (Byte)(4)
#define CWR_STRIPTAB (Byte)(4)
#define CWR_SINGLELINEEDIT (Byte)(7)
#define CWR_INSERT (Byte)(8)
#define CWR_TITLE (Byte)(16)
#define CWR_KKCONVERT (Byte)(32)
#define CWR_SIMPLE (Byte)(64)
#define CWR_HEDIT (Byte)(128)
#define CWR_KEYBOARD (Word)(256)
#define CWR_BOXES (Word)(512)
#define CWRK_DEFAULT (Byte)(0)
#define CWRK_BASIC (Byte)(1)
#define CWRK_FULL (Byte)(2)
#define CWRK_NUMPAD (Byte)(3)
#define CWRK_TELPAD (Byte)(4)
#define GPMI_OK (Byte)(0)
#define GPMI_INVALIDPMI (int)(32768)
#define INKWIDTH_MINIMUM (Byte)(0)
#define INKWIDTH_MAXIMUM (Byte)(15)
#define PMI_RCCHANGE (Byte)(0)
#define PMI_BEDIT (Byte)(1)
#define PMI_IMECOLOR (Byte)(2)
#define PMI_CXTABLET (Byte)(3)
#define PMI_CYTABLET (Byte)(4)
#define PMI_PENTIP (Byte)(6)
#define PMI_ENABLEFLAGS (Byte)(7)
#define PMI_TIMEOUT (Byte)(8)
#define PMI_TIMEOUTGEST (Byte)(9)
#define PMI_TIMEOUTSEL (Byte)(10)
#define PMI_SYSFLAGS (Byte)(11)
#define PMI_INDEXFROMRGB (Byte)(12)
#define PMI_RGBFROMINDEX (Byte)(13)
#define PMI_SYSREC (Byte)(14)
#define PMI_TICKREF (Byte)(15)
#define PMI_SAVE (Word)(4096)
#define PWE_AUTOWRITE (Byte)(1)
#define PWE_ACTIONHANDLES (Byte)(2)
#define PWE_INPUTCURSOR (Byte)(4)
#define PWE_LENS (Byte)(8)
#define PWF_RC1 (Byte)(1)
#define PWF_PEN (Byte)(4)
#define PWF_INKDISPLAY (Byte)(8)
#define PWF_RECOGNIZER (Byte)(16)
#define PWF_BEDIT (Word)(256)
#define PWF_HEDIT (Word)(512)
#define PWF_IEDIT (Word)(1024)
#define PWF_ENHANCED (Word)(4096)
#define PWF_FULL (Word)(5917)
#define RPA_DEFAULT (Byte)(1)
#define RPA_HEDIT (Byte)(1)
#define RPA_KANJIFIXEDBEDIT (Byte)(2)
#define RPA_DBCSPRIORITY (Byte)(4)
#define PMIR_OK (Byte)(0)
#define PMIR_INDEX (Shortint)(-1)
#define PMIR_VALUE (Shortint)(-2)
#define PMIR_INVALIDBOXEDITINFO (Shortint)(-3)
#define PMIR_INIERROR (Shortint)(-4)
#define PMIR_ERROR (Shortint)(-5)
#define PMIR_NA (Shortint)(-6)
#define SPMI_OK (Byte)(0)
#define SPMI_INVALIDBOXEDITINFO (Byte)(1)
#define SPMI_INIERROR (Byte)(2)
#define SPMI_INVALIDPMI (int)(32768)
#define RCD_DEFAULT (Byte)(0)
#define RCD_LR (Byte)(1)
#define RCD_RL (Byte)(2)
#define RCD_TB (Byte)(3)
#define RCD_BT (Byte)(4)
#define RCIP_ALLANSICHAR (Byte)(1)
#define RCIP_MASK (Byte)(1)
#define RCO_NOPOINTEREVENT (Byte)(1)
#define RCO_SAVEALLDATA (Byte)(2)
#define RCO_SAVEHPENDATA (Byte)(4)
#define RCO_NOFLASHUNKNOWN (Byte)(8)
#define RCO_TABLETCOORD (Byte)(16)
#define RCO_NOSPACEBREAK (Byte)(32)
#define RCO_NOHIDECURSOR (Byte)(64)
#define RCO_NOHOOK (Byte)(128)
#define RCO_BOXED (Word)(256)
#define RCO_SUGGEST (Word)(512)
#define RCO_DISABLEGESMAP (Word)(1024)
#define RCO_NOFLASHCURSOR (Word)(2048)
#define RCO_BOXCROSS (Word)(4096)
#define RCO_COLDRECOG (int)(32768)
#define RCO_SAVEBACKGROUND (int)(65536)
#define RCO_DODEFAULT (int)(131072)
#define RCOR_NORMAL (Byte)(1)
#define RCOR_RIGHT (Byte)(2)
#define RCOR_UPSIDEDOWN (Byte)(3)
#define RCOR_LEFT (Byte)(4)
#define RCP_LEFTHAND (Byte)(1)
#define RCP_MAPCHAR (Byte)(4)
#define RCRT_DEFAULT (Byte)(0)
#define RCRT_UNIDENTIFIED (Byte)(1)
#define RCRT_GESTURE (Byte)(2)
#define RCRT_NOSYMBOLMATCH (Byte)(4)
#define RCRT_PRIVATE (Word)(16384)
#define RCRT_NORECOG (int)(32768)
#define RCRT_ALREADYPROCESSED (Byte)(8)
#define RCRT_GESTURETRANSLATED (Byte)(16)
#define RCRT_GESTURETOKEYS (Byte)(32)
#define RRM_STROKE (Byte)(0)
#define RRM_SYMBOL (Byte)(1)
#define RRM_WORD (Byte)(2)
#define RRM_NEWLINE (Byte)(3)
#define RRM_COMPLETE (Byte)(16)
#define TPT_CLOSEST (Byte)(1)
#define TPT_INTERSECTINK (Byte)(2)
#define TPT_TEXTUAL (Byte)(4)
#define TPT_DEFAULT (Byte)(7)
#define VWM_MOUSEMOVE (Byte)(1)
#define VWM_MOUSELEFTDOWN (Byte)(2)
#define VWM_MOUSELEFTUP (Byte)(4)
#define VWM_MOUSERIGHTDOWN (Byte)(8)
#define VWM_MOUSERIGHTUP (Byte)(16)
#define WM_RCRESULT (Word)(897)
#define WM_HOOKRCRESULT (Word)(898)
#define WM_PENMISCINFO (Word)(899)
#define WM_GLOBALRCCHANGE (Word)(899)
#define WM_SKB (Word)(900)
#define WM_PENCTL (Word)(901)
#define WM_HEDITCTL (Word)(901)
#define HE_GETRC (Byte)(3)
#define HE_SETRC (Byte)(4)
#define HE_GETINFLATE (Byte)(5)
#define HE_SETINFLATE (Byte)(6)
#define HE_GETUNDERLINE (Byte)(7)
#define HE_SETUNDERLINE (Byte)(8)
#define HE_GETINKHANDLE (Byte)(9)
#define HE_SETINKMODE (Byte)(10)
#define HE_STOPINKMODE (Byte)(11)
#define HE_GETRCRESULTCODE (Byte)(12)
#define HE_DEFAULTFONT (Byte)(13)
#define HE_CHARPOSITION (Byte)(14)
#define HE_CHAROFFSET (Byte)(15)
#define HE_GETBOXLAYOUT (Byte)(20)
#define HE_SETBOXLAYOUT (Byte)(21)
#define HE_GETRCRESULT (Byte)(22)
#define HE_KKCONVERT (Byte)(30)
#define HE_GETKKCONVERT (Byte)(31)
#define HE_CANCELKKCONVERT (Byte)(32)
#define HE_FIXKKCONVERT (Byte)(33)
#define HE_GETKKSTATUS (Byte)(34)
#define HE_KKNOCONVERT (Byte)(35)
#define HE_SETIMEDEFAULT (Byte)(36)
#define HE_GETIMEDEFAULT (Byte)(37)
#define HE_ENABLEALTLIST (Byte)(40)
#define HE_SHOWALTLIST (Byte)(41)
#define HE_HIDEALTLIST (Byte)(42)
#define HE_GETLENSTYPE (Byte)(43)
#define HE_SETLENSTYPE (Byte)(44)
#define HEKK_DEFAULT (Byte)(0)
#define HEKK_CONVERT (Byte)(1)
#define HEKK_CANDIDATE (Byte)(2)
#define HEKK_DBCSCHAR (Byte)(3)
#define HEKK_SBCSCHAR (Byte)(4)
#define HEKK_HIRAGANA (Byte)(5)
#define HEKK_KATAKANA (Byte)(6)
#define HEKKR_PRECONVERT (Byte)(1)
#define HEKKR_CONVERT (Byte)(2)
#define HEKKR_TEMPCONFIRM (Byte)(3)
#define HEP_NORECOG (Byte)(0)
#define HEP_RECOG (Byte)(1)
#define HEP_WAITFORTAP (Byte)(2)
#define HN_ENDREC (Byte)(4)
#define HN_DELAYEDRECOGFAIL (Byte)(5)
#define HN_RESULT (Byte)(20)
#define HN_RCRESULT (Byte)(20)
#define HN_ENDKKCONVERT (Byte)(30)
#define HN_BEGINDIALOG (Byte)(40)
#define HN_ENDDIALOG (Byte)(41)
#define IE_GETMODIFY (Byte)(184)
#define IE_SETMODIFY (Byte)(185)
#define IE_CANUNDO (Byte)(198)
#define IE_UNDO (Byte)(199)
#define IE_EMPTYUNDOBUFFER (Byte)(205)
#define IE_MSGFIRST (Word)(1174)
#define IE_GETINK (Word)(1174)
#define IE_SETINK (Word)(1175)
#define IE_GETPENTIP (Word)(1176)
#define IE_SETPENTIP (Word)(1177)
#define IE_GETERASERTIP (Word)(1178)
#define IE_SETERASERTIP (Word)(1179)
#define IE_GETBKGND (Word)(1180)
#define IE_SETBKGND (Word)(1181)
#define IE_GETGRIDORIGIN (Word)(1182)
#define IE_SETGRIDORIGIN (Word)(1183)
#define IE_GETGRIDPEN (Word)(1184)
#define IE_SETGRIDPEN (Word)(1185)
#define IE_GETGRIDSIZE (Word)(1186)
#define IE_SETGRIDSIZE (Word)(1187)
#define IE_GETMODE (Word)(1188)
#define IE_SETMODE (Word)(1189)
#define IE_GETINKRECT (Word)(1190)
#define IE_GETAPPDATA (Word)(1208)
#define IE_SETAPPDATA (Word)(1209)
#define IE_GETDRAWOPTS (Word)(1210)
#define IE_SETDRAWOPTS (Word)(1211)
#define IE_GETFORMAT (Word)(1212)
#define IE_SETFORMAT (Word)(1213)
#define IE_GETINKINPUT (Word)(1214)
#define IE_SETINKINPUT (Word)(1215)
#define IE_GETNOTIFY (Word)(1216)
#define IE_SETNOTIFY (Word)(1217)
#define IE_GETRECOG (Word)(1218)
#define IE_SETRECOG (Word)(1219)
#define IE_GETSECURITY (Word)(1220)
#define IE_SETSECURITY (Word)(1221)
#define IE_GETSEL (Word)(1222)
#define IE_SETSEL (Word)(1223)
#define IE_DOCOMMAND (Word)(1224)
#define IE_GETCOMMAND (Word)(1225)
#define IE_GETCOUNT (Word)(1226)
#define IE_GETGESTURE (Word)(1227)
#define IE_GETMENU (Word)(1228)
#define IE_GETPAINTDC (Word)(1229)
#define IE_GETPDEVENT (Word)(1230)
#define IE_GETSELCOUNT (Word)(1231)
#define IE_GETSELITEMS (Word)(1232)
#define IE_GETSTYLE (Word)(1233)
#define CIH_NOGDMSG (Byte)(1)
#define CIH_NOACTIONHANDLE (Byte)(2)
#define CIH_NOEDITTEXT (Byte)(4)
#define CIH_NOFLASHCURSOR (Byte)(8)
#define HEAL_DEFAULT (Shortint)(-1)
#define BEI_FACESIZE (Byte)(32)
#define BEIF_BOXCROSS (Byte)(1)
#define BESC_DEFAULT (Byte)(0)
#define BESC_ROMANFIXED (Byte)(1)
#define BESC_KANJIFIXED (Byte)(2)
#define BESC_USERDEFINED (Byte)(3)
#define CIB_NOGDMSG (Byte)(1)
#define CIB_NOACTIONHANDLE (Byte)(2)
#define CIB_NOFLASHCURSOR (Byte)(4)
#define CIB_NOWRITING (Byte)(16)
#define BXD_CELLWIDTH (Byte)(12)
#define BXD_CELLHEIGHT (Byte)(16)
#define BXD_BASEHEIGHT (Byte)(13)
#define BXD_BASEHORZ (Byte)(0)
#define BXD_MIDFROMBASE (Byte)(0)
#define BXD_CUSPHEIGHT (Byte)(2)
#define BXD_ENDCUSPHEIGHT (Byte)(4)
#define BXDK_CELLWIDTH (Byte)(32)
#define BXDK_CELLHEIGHT (Byte)(32)
#define BXDK_BASEHEIGHT (Byte)(28)
#define BXDK_BASEHORZ (Byte)(0)
#define BXDK_MIDFROMBASE (Byte)(0)
#define BXDK_CUSPHEIGHT (Byte)(28)
#define BXDK_ENDCUSPHEIGHT (Byte)(10)
#define COLOR_BE_INPUT (Byte)(0)
#define COLOR_BE_INPUT_TEXT (Byte)(1)
#define COLOR_BE_CONVERT (Byte)(2)
#define COLOR_BE_CONVERT_TEXT (Byte)(3)
#define COLOR_BE_CONVERTED (Byte)(4)
#define COLOR_BE_CONVERTED_TEXT (Byte)(5)
#define COLOR_BE_UNCONVERT (Byte)(6)
#define COLOR_BE_UNCONVERT_TEXT (Byte)(7)
#define COLOR_BE_CURSOR (Byte)(8)
#define COLOR_BE_CURSOR_TEXT (Byte)(9)
#define COLOR_BE_PRECONVERT (Byte)(10)
#define COLOR_BE_PRECONVERT_TEXT (Byte)(11)
#define MAXIMECOLORS (Byte)(12)
#define WM_PENMISC (Word)(902)
#define PMSC_BEDITCHANGE (Byte)(1)
#define PMSC_PENUICHANGE (Byte)(2)
#define PMSC_SUBINPCHANGE (Byte)(3)
#define PMSC_KKCTLENABLE (Byte)(4)
#define PMSC_GETPCMINFO (Byte)(5)
#define PMSC_SETPCMINFO (Byte)(6)
#define PMSC_GETINKINGINFO (Byte)(7)
#define PMSC_SETINKINGINFO (Byte)(8)
#define PMSC_GETHRC (Byte)(9)
#define PMSC_SETHRC (Byte)(10)
#define PMSC_GETSYMBOLCOUNT (Byte)(11)
#define PMSC_GETSYMBOLS (Byte)(12)
#define PMSC_SETSYMBOLS (Byte)(13)
#define PMSC_LOADPW (Byte)(15)
#define PMSC_INKSTOP (Byte)(16)
#define PMSCL_UNLOADED (Byte)(0)
#define PMSCL_LOADED (Byte)(1)
#define PMSCL_UNLOADING (Byte)(2)
#define WM_CTLINIT (Word)(903)
#define CTLINIT_HEDIT (Byte)(1)
#define CTLINIT_BEDIT (Byte)(7)
#define CTLINIT_IEDIT (Byte)(9)
#define CTLINIT_MAX (Byte)(10)
#define WM_PENEVENT (Word)(904)
#define PE_PENDOWN (Byte)(1)
#define PE_PENUP (Byte)(2)
#define PE_PENMOVE (Byte)(3)
#define PE_TERMINATING (Byte)(4)
#define PE_TERMINATED (Byte)(5)
#define PE_BUFFERWARNING (Byte)(6)
#define PE_BEGININPUT (Byte)(7)
#define PE_SETTARGETS (Byte)(8)
#define PE_BEGINDATA (Byte)(9)
#define PE_MOREDATA (Byte)(10)
#define PE_ENDDATA (Byte)(11)
#define PE_GETPCMINFO (Byte)(12)
#define PE_GETINKINGINFO (Byte)(13)
#define PE_ENDINPUT (Byte)(14)
#define PE_RESULT (Byte)(15)
extern "C" DWord __stdcall AddInksetInterval(int p1, PInterval p2);
extern "C" int __stdcall AddPenDataHRC(int p1, int p2);
extern "C" int __stdcall AddPenInputHRC(int p1, Windows::PPoint p2, void * p3, int p4, PStrokeInfo p5
);
extern "C" int __stdcall AddPointsPenData(int p1, Windows::PPoint p2, void * p3, PStrokeInfo p4);
extern "C" int __stdcall AddWordsHWL(int p1, char * p2, int p3);
extern "C" void * __stdcall AtomicVirtualEvent(DWord p1);
extern "C" void * __stdcall BoundingRectFromPoints(Windows::PPoint p1, int p2, Windows::PRect p3);
extern "C" int __stdcall CharacterToSymbol(char * p1, int p2, PSYV p3);
extern "C" int __stdcall CompressPenData(int p1, int p2, int p3);
extern "C" int __stdcall ConfigHREC(int p1, int p2, long p3, long p4);
extern "C" DWord __stdcall CorrectWriting(HWND p1, char * p2, int p3, void * p4, int p5, int p6);
extern "C" int __stdcall CreateCompatibleHRC(int p1, int p2);
extern "C" int __stdcall CreateHWL(int p1, char * p2, int p3, int p4);
extern "C" int __stdcall CreateInkset(int p1);
extern "C" int __stdcall CreateInksetHRCRESULT(int p1, int p2, int p3);
extern "C" int __stdcall CreatePenDataEx(PPenInfo p1, int p2, int p3, int p4);
extern "C" int __stdcall CreatePenDataHRC(int p1);
extern "C" HRGN __stdcall CreatePenDataRegion(int p1, int p2);
extern "C" int __stdcall DestroyHRC(int p1);
extern "C" int __stdcall DestroyHRCRESULT(int p1);
extern "C" int __stdcall DestroyHWL(int p1);
extern "C" DWord __stdcall DestroyInkset(int p1);
extern "C" DWord __stdcall DestroyPenData(int p1);
extern "C" DWord __stdcall DictionarySearch(PRC p1, PSYE p2, int p3, PSYV p4, int p5);
extern "C" int __stdcall DoDefaultPenInput(HWND p1, int p2);
extern "C" DWord __stdcall DPtoTP(Windows::PPoint p1, int p2);
extern "C" int __stdcall DrawPenDataEx(HDC p1, Windows::PRect p2, int p3, int p4, int p5, int p6, int
p7, TFNAnimateProc p8, PAnimateInfo p9, int p10);
extern "C" int __stdcall DuplicatePenData(int p1, int p2);
extern "C" int __stdcall EnableGestureSetHRC(int p1, long p2, DWord p3);
extern "C" int __stdcall EnableSystemDictionaryHRC(int p1, DWord p2);
extern "C" int __stdcall EndPenInputHRC(int p1);
extern "C" int __stdcall ExtractPenDataPoints(int p1, int p2, int p3, int p4, Windows::PPoint p5, void *
p6, int p7);
extern "C" int __stdcall ExtractPenDataStrokes(int p1, int p2, long p3, PHPENDATA p4, int p5);
extern "C" int __stdcall GetAlphabetHRC(int p1, PALC p2, Windows::PByte p3);
extern "C" int __stdcall GetAlphabetPriorityHRC(int p1, PALC p2, Windows::PByte p3);
extern "C" int __stdcall GetAlternateWordsHRCRESULT(int p1, int p2, int p3, PHRCRESULT p4, int p5);
extern "C" int __stdcall GetBoxMappingHRCRESULT(int p1, int p2, int p3, PUINT p4);
extern "C" int __stdcall GetBoxResultsHRC(int p1, int p2, int p3, int p4, PBoxResults p5, DWord p6);
extern "C" int __stdcall GetGuideHRC(int p1, PGuide p2, PUINT p3);
extern "C" int __stdcall GetHotspotsHRCRESULT(int p1, int p2, Windows::PPoint p3, int p4);
extern "C" int __stdcall GetHRECFromHRC(int p1);
extern "C" int __stdcall GetInksetInterval(int p1, int p2, PInterval p3);
extern "C" int __stdcall GetInksetIntervalCount(int p1);
extern "C" int __stdcall GetInternationalHRC(int p1, PUINT p2, char * p3, PUINT p4, PUINT p5);
extern "C" int __stdcall GetMaxResultsHRC(int p1);
extern "C" int __stdcall GetPenAppFlags(void);
extern "C" DWord __stdcall GetPenAsyncState(int p1);
extern "C" int __stdcall GetPenDataAttributes(int p1, void * p2, int p3);
extern "C" DWord __stdcall GetPenDataInfo(int p1, PPenDataHeader p2, PPenInfo p3, int p4);
extern "C" int __stdcall GetPenInput(int p1, Windows::PPoint p2, void * p3, int p4, int p5, PStrokeInfo
p6);
extern "C" long __stdcall GetPenMiscInfo(long p1, long p2);
extern "C" DWord __stdcall GetPointsFromPenData(int p1, int p2, int p3, int p4, Windows::PPoint p5);
extern "C" int __stdcall GetResultsHRC(int p1, int p2, PHRCRESULT p3, int p4);
extern "C" int __stdcall GetStrokeAttributes(int p1, int p2, void * p3, int p4);
extern "C" int __stdcall GetStrokeTableAttributes(int p1, int p2, void * p3, int p4);
extern "C" int __stdcall GetSymbolCountHRCRESULT(int p1);
extern "C" int __stdcall GetSymbolsHRCRESULT(int p1, int p2, PSYV p3, int p4);
extern "C" int __stdcall GetVersionPenWin(void);
extern "C" int __stdcall GetWordlistCoercionHRC(int p1);
extern "C" int __stdcall GetWordlistHRC(int p1, PHWL p2);
extern "C" int __stdcall HitTestPenData(int p1, Windows::PPoint p2, int p3, PUINT p4, PUINT p5);
extern "C" int __stdcall InsertPenData(int p1, int p2, int p3);
extern "C" int __stdcall InsertPenDataPoints(int p1, int p2, int p3, int p4, Windows::PPoint p5, void *
p6);
extern "C" int __stdcall InsertPenDataStroke(int p1, int p2, Windows::PPoint p3, void * p4, PStrokeInfo
p5);
extern "C" int __stdcall InstallRecognizer(char * p1);
extern "C" DWord __stdcall IsPenEvent(int p1, long p2);
extern "C" DWord __stdcall KKConvert(HWND hwndConvert, HWND hwndCaller, char * lpBuf, int cbBuf, Windows::PPoint
lpPnt);
extern "C" DWord __stdcall MetricScalePenData(int p1, int p2);
extern "C" DWord __stdcall OffsetPenData(int p1, int p2, int p3);
extern "C" int __stdcall PeekPenInput(int p1, int p2, Windows::PPoint p3, void * p4, int p5);
extern "C" long __stdcall PenDataFromBuffer(PHPENDATA p1, int p2, Windows::PByte p3, long p4, PDWORD
p5);
extern "C" long __stdcall PenDataToBuffer(int p1, Windows::PByte p2, long p3, PDWORD p4);
extern "C" int __stdcall ProcessHRC(int p1, int p2);
extern "C" int __stdcall ReadHWL(int p1, int p2);
extern "C" DWord __stdcall RedisplayPenData(HDC p1, int p2, Windows::PPoint p3, Windows::PPoint p4,
int p5, int p6);
extern "C" int __stdcall RemovePenDataStrokes(int p1, int p2, int p3);
extern "C" DWord __stdcall ResizePenData(int p1, Windows::PRect p2);
extern "C" int __stdcall SetAlphabetHRC(int p1, long p2, Windows::PByte p3);
extern "C" int __stdcall SetAlphabetPriorityHRC(int p1, long p2, Windows::PByte p3);
extern "C" int __stdcall SetBoxAlphabetHRC(int p1, PALC p2, int p3);
extern "C" int __stdcall SetGuideHRC(int p1, PGuide p2, int p3);
extern "C" int __stdcall SetInternationalHRC(int p1, int p2, char * p3, int p4, int p5);
extern "C" int __stdcall SetMaxResultsHRC(int p1, int p2);
extern "C" void * __stdcall SetPenAppFlags(int p1, int p2);
extern "C" long __stdcall SetPenMiscInfo(long p1, long p2);
extern "C" int __stdcall SetResultsHookHREC(int p1, TFNHRCResultHookProc &p2);
extern "C" int __stdcall SetStrokeAttributes(int p1, int p2, long p3, int p4);
extern "C" int __stdcall SetStrokeTableAttributes(int p1, int p2, long p3, int p4);
extern "C" int __stdcall SetWordlistCoercionHRC(int p1, int p2);
extern "C" int __stdcall SetWordlistHRC(int p1, int p2);
extern "C" int __stdcall StartInking(int p1, int p2, PInkingInfo p3);
extern "C" int __stdcall StartPenInput(HWND p1, int p2, PPCMInfo p3, PINT p4);
extern "C" int __stdcall StopInking(int p1);
extern "C" int __stdcall StopPenInput(int p1, int p2, int p3);
extern "C" DWord __stdcall SymbolToCharacter(PSYV p1, int p2, char * p3, PINT p4);
extern "C" int __stdcall TargetPoints(PTargInfo p1, Windows::PPoint p2, int p3, int p4, PStrokeInfo
p5);
extern "C" DWord __stdcall TPtoDP(Windows::PPoint p1, int p2);
extern "C" int __stdcall TrainHREC(int p1, PSYV p2, int p3, int p4, int p5);
extern "C" int __stdcall TrimPenData(int p1, int p2, int p3);
extern "C" int __stdcall UnhookResultsHookHREC(int p1, int p2);
extern "C" void * __stdcall UninstallRecognizer(int p1);
extern "C" int __stdcall WriteHWL(int p1, int p2);
extern DWord __fastcall FPenUpX(int X);
extern Word __fastcall GetWEventRef(void);
extern Windows::PByte __fastcall MpAlcB(PRC lprc, Word i);
extern Byte __fastcall MpIbf(Word i);
extern void __fastcall SetAlcBitAnsi(PRC lprc, Word i);
extern void __fastcall ResetAlcBitAnsi(PRC lprc, Word i);
extern bool __fastcall IsAlcBitAnsi(PRC lprc, Word i);
extern int __fastcall DrawPenDataFmt(HDC hdc, Windows::PRect lprect, int hpndt);
extern int __fastcall dwDiffAT(const TAbsTime &at1, const TAbsTime &at2);
extern bool __fastcall FLTAbsTime(const TAbsTime &at1, const TAbsTime &at2);
extern bool __fastcall FLTEAbsTime(const TAbsTime &at1, const TAbsTime &at2);
extern bool __fastcall FEQAbsTime(const TAbsTime &at1, const TAbsTime &at2);
extern bool __fastcall FAbsTimeInInterval(const TAbsTime &at, PInterval lpi);
extern bool __fastcall FIntervalInInterval(PInterval lpiT, PInterval lpiS);
extern bool __fastcall FIntervalXInterval(PInterval lpiT, PInterval lpiS);
extern int __fastcall dwDurInterval(PInterval lpi);
extern void __fastcall MakeAbsTime(TAbsTime &lpat, int sec, int ms);
extern bool __fastcall FIsSpecial(int syv);
extern bool __fastcall FIsAnsi(int syv);
extern bool __fastcall FIsGesture(int syv);
extern bool __fastcall FIsKanji(int syv);
extern bool __fastcall FIsShape(int syv);
extern bool __fastcall FIsUniCode(int syv);
extern bool __fastcall FIsVKey(int syv);
extern Byte __fastcall ChSyvToAnsi(int syv);
extern Word __fastcall WSyvToKanji(int syv);
extern int __fastcall SyvCharacterToSymbol(char c);
extern int __fastcall SyvKanjiToSymbol(char c);
extern bool __fastcall FIsSelectGesture(int syv);
extern bool __fastcall FIsStdGesture(int syv);
extern bool __fastcall FIsAnsiGesture(int syv);
extern Word __fastcall SubPenMsgFromWpLp(int wp, int lp);
extern Word __fastcall EventRefFromWpLp(int wp, int lp);
extern int __fastcall TerminationFromWpLp(int wp, int lp);
extern int __fastcall HpcmFromWpLp(int wp, int lp);
extern HWND __fastcall HwndFromHtrg(int trg);
extern int __fastcall HtrgFromHwnd(HWND hwnd);
inline int __stdcall GetVersionPenWin(void)
{
return GetVersionPenWin();
}
} /* namespace Penwin */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Penwin;
#endif
//-- end unit ----------------------------------------------------------------
#endif // PenWin