GetPenResource
2.0
The GetPenResource
function retrieves a copy of a pen services resource. (Japanese version only.)
HANDLE GetPenResource( WPARAM wParam )
Parameters
wParam
Specifies the
pen services resource for which to retrieve a handle. This may be one of the
following:
Constant |
Description |
GPR_CURSPEN |
Standard
pen cursor. |
GPR_CURSCOPY |
Copy
cursor. |
GPR_CURSUNKNOWN |
Unknown
cursor. |
GPR_CURSERASE |
Erase
cursor. |
GPR_BMCRMONO |
Monochrome
Return bitmap. |
GPR_BMLFMONO |
Monochrome
LineFeed bitmap. |
GPR_BMTABMONO |
Monochrome
Tab bitmap. |
GPR_BMDELETE |
Delete
bitmap. |
GPR_BMLENSBTN |
Lens
buttonface bitmap. |
GPR_BMHSPMONO |
Hankaku
space bitmap (Japanese version only). |
GPR_BMZSPMONO |
Zenkaku
space bitmap (Japanese version only). |
Comments
An
application can use this function to get a copy of a cursor or bitmap used by
pen services. It is the application's responsibility to destroy the object by
calling either the DestroyCursor
Return Value
This function
returns a handle to an object, depending on the index specified by wParam
if successful. Otherwise the return value is NULL.