Index   Commented   Search   About

CreatePenDataHRC

The CreatePenDataHRC function returns a handle to an HPENDATA object that contains the raw data used for recognition. In the example code above, AddPenInputHRC has already done the work of storing the pen data into an internal HPENDATA. Thus, the hypothetical CreatePenDataHRC function outlined below simply duplicates the internal object.

HPENDATA WINAPI CreatePenDataHRC( HRC hrc )

{

LPHRCinternal lphrc = (LPHRCinternal) hrc; // Pointer to HRC

// Clone the internal HPENDATA and return its handle

return (DuplicatePenData( lphrc->hpendata, 0 ));

}

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun