- 0 2.0
Locks a pen data block in memory in preparation for enumerating strokes.
This function is provided only for compatibility with version 1.0 of the Pen
API, and will not be supported in future versions.
LPPENDATA BeginEnumStrokes( HPENDATA hpendata )
Handle to an HPENDATA
Returns a pointer to the locked pen data if successful. Returns NULL if hpendata
is compressed or if the handle cannot be locked.
BeginEnumStrokes calls the GlobalLock
function internally, returning a far pointer to the memory block in the
global heap. This serves to lock the data in preparation for direct reading or
. The return value from BeginEnumStrokes
is used as an argument for GetPenDataStroke
. After calling BeginEnumStrokes
to lock data, an application must unlock the data when finished by calling EndEnumStrokes
An application should never modify data directly within an HPENDATA
block. Doing so can invalidate other information in the block. To modify an HPENDATA
block, use one of the Pen API functions listed in Chapter 4, "The Inking
- Software for developers
Software for Android Developers
- More information resources
Unix Manual Pages