📄 usbkeypnpactivex.odl
字号:
// USBKeyPnPActiveX.odl : type library source for ActiveX Control project.
// This file will be processed by the Make Type Library (mktyplib) tool to
// produce the type library (USBKeyPnPActiveX.tlb) that will become a resource in
// USBKeyPnPActiveX.ocx.
#include <olectl.h>
#include <idispids.h>
[ uuid(6D9D01A3-184E-4215-A942-926AD5B0C62F), version(1.0),
helpfile("USBKeyPnPActiveX.hlp"),
helpstring("USBKeyPnPActiveX ActiveX Control module"),
control ]
library USBKEYPNPACTIVEXLib
{
importlib(STDOLE_TLB);
importlib(STDTYPE_TLB);
// Primary dispatch interface for CUSBKeyPnPActiveXCtrl
[ uuid(2D85D5EF-6954-464E-96F7-C119DCDDAB81),
helpstring("Dispatch interface for USBKeyPnPActiveX Control"), hidden ]
dispinterface _DUSBKeyPnPActiveX
{
properties:
// NOTE - ClassWizard will maintain property information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_PROP(CUSBKeyPnPActiveXCtrl)
//}}AFX_ODL_PROP
methods:
// NOTE - ClassWizard will maintain method information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_METHOD(CUSBKeyPnPActiveXCtrl)
[id(1)] BSTR EnumUsbKey();
[id(2)] BSTR getUserInfoByContainer(BSTR strContainerName, short type);
[id(3)] BSTR getUserList();
[id(4)] void RegisterDeviceInterface();
[id(5)] boolean SetLoginState(BSTR strContainerName, BSTR strUserName);
[id(6)] BSTR GetSavedPass(BSTR UserName);
[id(7)] BSTR GetUSBKeyList();
[id(8)] boolean GetPassSaveState(BSTR UserName);
[id(9)] boolean SaveUserPass(BSTR strUserName, BSTR strPass);
[id(10)] boolean DelUserPass(BSTR strUserName);
//}}AFX_ODL_METHOD
[id(DISPID_ABOUTBOX)] void AboutBox();
};
// Event dispatch interface for CUSBKeyPnPActiveXCtrl
[ uuid(0E7D2618-9EBE-4227-9F98-9B8643905408),
helpstring("Event interface for USBKeyPnPActiveX Control") ]
dispinterface _DUSBKeyPnPActiveXEvents
{
properties:
// Event interface has no properties
methods:
// NOTE - ClassWizard will maintain event information here.
// Use extreme caution when editing this section.
//{{AFX_ODL_EVENT(CUSBKeyPnPActiveXCtrl)
[id(1)] void OnUSBKeyChange();
//}}AFX_ODL_EVENT
};
// Class information for CUSBKeyPnPActiveXCtrl
[ uuid(0CF5259B-A812-4B6E-9746-ACF7279FEF74),
helpstring("USBKeyPnPActiveX Control"), control ]
coclass USBKeyPnPActiveX
{
[default] dispinterface _DUSBKeyPnPActiveX;
[default, source] dispinterface _DUSBKeyPnPActiveXEvents;
};
//{{AFX_APPEND_ODL}}
//}}AFX_APPEND_ODL}}
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -