00001 00005 import "oaidl.idl"; 00006 import "ocidl.idl"; 00007 00008 #include "ie_types.h" 00012 typedef struct tagEPAD_INFO { 00014 INT32U xAxisUnity; 00016 INT32U yAxisUnity; 00018 INT32U zAxisUnity; 00020 INT32U xAxisZero; 00022 INT32U yAxisZero; 00024 INT32U zAxisZero; 00025 INT32U clockBaseFreq; 00027 INT32U clockDivisor; 00028 INT32U xPhysicalScaledInches; 00029 INT32U xPhysicalDivisor; 00030 INT32U yPhysicalScaledInches; 00032 INT32U yPhysicalDivisor; 00033 INT32U xTopLeftPhysicalScaledOffsetInches; 00034 INT32U xTopLeftPhysicalDivisorOffset; 00035 INT32U yTopLeftPhysicalScaledOffsetInches; 00037 INT32U yTopLeftPhysicalDivisorOffset; 00038 INT32U xBottomRightPhysicalScaledOffsetInches; 00039 INT32U xBottomRightPhysicalDivisorOffset; 00040 INT32U yBottomRightPhysicalScaledOffsetInches; 00042 INT32U yBottomRightPhysicalDivisorOffset; 00043 } EPAD_INFO, *PEPAD_INFO; 00044 00045 typedef struct tagFW_INFO { 00047 GUID busType; 00049 INT16U vid; 00051 INT16U pid; 00053 INT16U bcdRevision; 00054 } FW_INFO, *PFW_INFO; 00055 00056 [ 00057 object, 00058 uuid(CCE7D74D-FA34-4b8c-9DAC-46A8D77832DF), 00059 dual, 00060 helpstring("IIEPad Information Interface"), 00061 pointer_default(unique) 00062 ] 00066 interface IIEEPADINFO : IDispatch 00067 { 00071 [id(1), helpstring("Gets EPAD_INFO data about device")] HRESULT GetPadInfo(PEPAD_INFO pInfo); 00075 [id(2), helpstring("Gets FW_INFO data about device")] HRESULT GetFWInfo(PFW_INFO pInfo); 00076 }; 00077 00078 00079 00080
1.4.6-NO