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.

73 lines
2.2 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1996 - 1999
  5. //
  6. // File: certmod.idl
  7. //
  8. // Contents: IDL source for module management functions
  9. //
  10. //---------------------------------------------------------------------------
  11. import "wtypes.idl";
  12. //+--------------------------------------------------------------------------
  13. // ICertManageModule::Configure()
  14. // Flags for configuration interface
  15. const LONG CMM_REFRESHONLY = 0x00000001; // Non-interactive configure; just reload settings
  16. const LONG CMM_READONLY = 0x00000002; // show UI in read-only mode
  17. //+--------------------------------------------------------------------------
  18. // ICertManageModule::XetProperty()
  19. // Flags for get/set property interface
  20. // values are bstrs
  21. const WCHAR wszCMM_PROP_NAME[] = L"Name";
  22. const WCHAR wszCMM_PROP_DESCRIPTION[] = L"Description";
  23. const WCHAR wszCMM_PROP_COPYRIGHT[] = L"Copyright";
  24. const WCHAR wszCMM_PROP_FILEVER[] = L"File Version";
  25. const WCHAR wszCMM_PROP_PRODUCTVER[] = L"Product Version";
  26. // value is bstr sizeof(HWND)
  27. const WCHAR wszCMM_PROP_DISPLAY_HWND[] = L"HWND";
  28. // values are longs
  29. const WCHAR wszCMM_PROP_ISMULTITHREADED[] = L"IsMultiThreaded";
  30. //+--------------------------------------------------------------------------
  31. // ICertManageModule class -- local COM interface
  32. //+--------------------------------------------------------------------------
  33. [
  34. object,
  35. uuid(e7d7ad42-bd3d-11d1-9a4d-00c04fc297eb),
  36. dual,
  37. helpstring("ICertManageModule Interface"),
  38. pointer_default(unique)
  39. ]
  40. interface ICertManageModule: IDispatch
  41. {
  42. import "oaidl.idl";
  43. HRESULT GetProperty(
  44. [in] BSTR const strConfig,
  45. [in] BSTR strStorageLocation,
  46. [in] BSTR strPropertyName,
  47. [in] LONG Flags,
  48. [out, retval] VARIANT* pvarProperty);
  49. HRESULT SetProperty(
  50. [in] BSTR const strConfig,
  51. [in] BSTR strStorageLocation,
  52. [in] BSTR strPropertyName,
  53. [in] LONG Flags,
  54. [in] VARIANT const *pvarProperty);
  55. HRESULT Configure(
  56. [in] BSTR const strConfig,
  57. [in] BSTR strStorageLocation,
  58. [in] LONG Flags);
  59. };