9-2
Programmable Hotpad Libraries for 16-bit Windows Applications
Hotpad notification is performed using one of the following methods. The parameters passed to the
SetHotpadNotification
function determine which notification method is used.
• A notification message sent to the window procedure of the application.
• A call-back function.
SetHotpadNotification
The
SetHotpadNotification
function enables hotpad notification. Applications which are to receive
notification of hotpad events must call this function once to enable hotpad notification. A prototype of
this function is shown below:
int SetHotpadNotification ( HWND
WindowHandle, UINT MessageID, FARPROC CallbackPointer )
If a hotpad event is to generate a notification message, the
WindowHandle
and
MessageID
parameters are
required. If a hotpad event is to generate a call-back function call, the
CallbackPointer
parameter is
required. Details on these parameters are as follows:
Return values for this function are as follows:
Parameter
Description
WindowHandle
Handle to the application window which will receive hotpad notification
messages.
If this parameter is NULL, the CallbackPointer parameter must be a valid
call-back function address.
MessageID
Message ID of the notification message that will be sent to the application
window when a hotpad event occurs.
If this parameter is NULL, the CallbackPointer parameter must be a valid
call-back function address.
CallbackPointer
Pointer to the call-back function in the application that will receive hotpad
notification. See “Call-Back Function” on page 9-3 for information on how to
declare the callback function.
If the WindowHandle parameter is not NULL, this parameter is ignored and
hotpad notification is sent via a notification message.
If this parameter is NULL, the WindowHandle and MessageID parameters
must be valid.
Return Value
Description
Positive nonzero integer
Hotpad notification ID. Returned on success.
The library assigns a unique hotpad notification ID number for each
occurrence of the SetHotpadNotification function. Your application must
pass this ID number when hotpad notification is disabled using the
KillHotpadNotification function.
0
Memory allocation failure.
-1
WindowHandle parameter not valid.
-2
Could not allocate system timer.
-3
CallbackPointer parameter not valid.
Microsoft Corp. Exhibit 1020
Summary of Contents for Stylistic 2300
Page 1: ...Microsoft Corp Exhibit 1020 ...
Page 8: ...viii Microsoft Corp Exhibit 1020 ...
Page 10: ...x Microsoft Corp Exhibit 1020 ...
Page 18: ...1 4 Pen Tablet Features Microsoft Corp Exhibit 1020 ...
Page 42: ...Microsoft Corp Exhibit 1020 ...
Page 60: ...3 40 Configuring the Stylistic 2300 Pen Tablet System Microsoft Corp Exhibit 1020 ...
Page 61: ...Microsoft Corp Exhibit 1020 ...
Page 63: ...Microsoft Corp Exhibit 1020 ...
Page 74: ...5 10 Hardware Specifications Microsoft Corp Exhibit 1020 ...
Page 76: ...Microsoft Corp Exhibit 1020 ...
Page 77: ...Microsoft Corp Exhibit 1020 ...
Page 78: ...Microsoft Corp Exhibit 1020 ...
Page 81: ...Microsoft Corp Exhibit 1020 ...
Page 91: ...Microsoft Corp Exhibit 1020 ...
Page 114: ...9 4 Programmable Hotpad Libraries for 16 bit Windows Applications Microsoft Corp Exhibit 1020 ...
Page 120: ...Microsoft Corp Exhibit 1020 ...
Page 124: ...C 2 Enabling ACPI Microsoft Corp Exhibit 1020 ...
Page 138: ...Index 6 Microsoft Corp Exhibit 1020 ...
Page 139: ...Microsoft Corp Exhibit 1020 ...
Page 140: ...4 99 58 0584 00C Microsoft Corp Exhibit 1020 ...