import "g_IIEPad.idl";
Public Member Functions | |
| HRESULT | GetNumDevices ([out] int *p_iNumDevices) |
| HRESULT | OpenConnection ([in] int iDeviceNum,[in] gIIEPadEvent *p_EventHandler) |
| HRESULT | CloseConnection () |
| HRESULT | ConnGetRanges ([out] int *p_min_x,[out] int *p_max_x,[out] int *p_min_y,[out] int *p_max_y,[out] int *p_min_press,[out] int *p_max_press,[out] int *p_nButtons) |
| HRESULT | ConnSetMouseOn ([in] boolean fState) |
| HRESULT | ConnGetMouseOn ([out] boolean *p_fState) |
| HRESULT | ConnSetEventNotification ([in] boolean fState) |
| HRESULT | ConnGetEventNotification ([out] boolean *p_fState) |
| HRESULT | ConnGetSerialNumber ([out] GUID *p_serialNum) |
| HRESULT | ConnPushMouseData ([in] byte dx,[in] byte dy,[in] char bmButtons) |
| HRESULT | DisplayDebugGUI () |
| HRESULT | ShowConfigDialog () |
| HRESULT | ConnGetPhysicalExtents ([out] double *pExtX,[out] double *pExtY) |
| HRESULT | ConnGetReportRate ([out] int *p_nPackets,[out] int *p_milliseconds) |
| HRESULT | GetFriendlyName ([in] GUID *pSerialNum,[out] BSTR *pFriendlyName) |
| HRESULT | SetFriendlyName ([in] GUID *pSerialNum,[in] BSTR FriendlyName) |
| HRESULT | GetSerialNumber ([in] int iDeviceNum,[out] GUID *p_serialNum) |
| HRESULT | EnumSerialNumberHistory ([in] int iDeviceNum,[out] GUID *p_serialNum) |
Pads are physically mapped as follows:
+===============================+
+ (0,0) +
+ +
+ +
+ +
+ +
+ +
+ +
+ (maxX,maxY) +
+===============================+
It is up to the service provider to translate the low-level data into a compatable format.
Note that maxX and maxY do not necessarily indicate the aspect ratio of the device -- this is obtained via the ConnGetAspectRatio method.
Definition at line 212 of file g_IIEPad.idl.
|
|
Closes an existing connection, if it exists. Note that this should not be called while processing data from a gIIEPadEvent callback. |
|
|
Returns the current client notifification state.
|
|
|
Returns the state of system mousing. If the service provider does not support system mousing this function will always return false.
|
|
||||||||||||
|
Gets the unit's physical extents in inches. |
|
||||||||||||||||||||||||||||||||
|
Returns the device-specific information on this device. |
|
||||||||||||
|
Returns the # of reports per interval. |
|
|
Returns the unit's unique serial number. On devices that do not have unique serial numbers. |
|
||||||||||||||||
|
Pushes user-defined relative mouse data through device stack and back into the bottom of the system's mouse driver stack. This allows a user-mode program to supply system mousing information from the device, regardless of operating system. This may not be supported by all service providers. |
|
|
Sets client data event message to On | off. The default is ON so that as soon as the connection is established the user will get callbacks on data events.
|
|
|
Sets system mouse messaging state. This may not be supported in all service providers.
|
|
|
Displays the internal debugging GUI for the service provider. |
|
||||||||||||
|
Returns history of all unique serial numbers ever plugged into host for this provider. Returns S_OK until the last item is reached. |
|
||||||||||||
|
Returns the friendly name of the device. |
|
|
Returns the number of devices supported by this provider. In most cases this should be the actual number of devices present at the time of the call.
|
|
||||||||||||
|
Returns the unit's unique serial number if the device is connected. This is done as "silently" and quickly as possible. |
|
||||||||||||
|
Opens a connection to device instance 'iDeviceNum' where 'iDeviceNum' is within the range of device reported by GetNumDevices. Caller must provide p_EventHandler method.
|
|
||||||||||||
|
Sets the friendly name of the device, if supported. |
|
|
Displays a pop-up dialog that configures the service provider. If no configuration is required, this shall return E_NOTIMPL. |
1.4.6-NO