Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1012 B

  1. #include <olectl.h>
  2. #include "dispids.h"
  3. // keyocx.idl : IDL source for keyocx.dll
  4. //
  5. // This file will be processed by the MIDL tool to
  6. // produce the type library (keyocx.tlb) and marshalling code.
  7. import "oaidl.idl";
  8. import "ocidl.idl";
  9. [
  10. object,
  11. uuid(48D17197-32CF-11D2-A337-00C04FD7C1FC),
  12. dual,
  13. helpstring("IKeyocxCtrl Interface"),
  14. pointer_default(unique)
  15. ]
  16. interface IKeyocxCtrl : IDispatch
  17. {
  18. // methods
  19. [id(DISPID_CorpKeycode)]
  20. HRESULT CorpKeycode([in] BSTR bstrBaseKey, [out, retval] BSTR *bstrKeycode);
  21. [id(DISPID_ISPKeycode)]
  22. HRESULT ISPKeycode([in] BSTR bstrBaseKey, [out, retval] BSTR *bstrKeycode);
  23. };
  24. [
  25. uuid(48D17188-32CF-11D2-A337-00C04FD7C1FC),
  26. version(1.0),
  27. helpstring("keyocx 1.0 Type Library")
  28. ]
  29. library KEYOCXLib
  30. {
  31. importlib("stdole2.tlb");
  32. [
  33. uuid(8D3032AF-2CBA-11D2-8277-00104BC7DE21),
  34. helpstring("KeyocxCtrl Class")
  35. ]
  36. coclass KeyocxCtrl
  37. {
  38. [default] interface IKeyocxCtrl;
  39. };
  40. };