Source code of Windows XP (NT5)
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.

72 lines
2.1 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. //+--------------------------------------------------------------------------
  17. // ICertManageModule::XetProperty()
  18. // Flags for get/set property interface
  19. // values are bstrs
  20. const WCHAR wszCMM_PROP_NAME[] = L"Name";
  21. const WCHAR wszCMM_PROP_DESCRIPTION[] = L"Description";
  22. const WCHAR wszCMM_PROP_COPYRIGHT[] = L"Copyright";
  23. const WCHAR wszCMM_PROP_FILEVER[] = L"File Version";
  24. const WCHAR wszCMM_PROP_PRODUCTVER[] = L"Product Version";
  25. // value is bstr sizeof(HWND)
  26. const WCHAR wszCMM_PROP_DISPLAY_HWND[] = L"HWND";
  27. // values are longs
  28. const WCHAR wszCMM_PROP_ISMULTITHREADED[] = L"IsMultiThreaded";
  29. //+--------------------------------------------------------------------------
  30. // ICertManageModule class -- local COM interface
  31. //+--------------------------------------------------------------------------
  32. [
  33. object,
  34. uuid(e7d7ad42-bd3d-11d1-9a4d-00c04fc297eb),
  35. dual,
  36. helpstring("ICertManageModule Interface"),
  37. pointer_default(unique)
  38. ]
  39. interface ICertManageModule: IDispatch
  40. {
  41. import "oaidl.idl";
  42. HRESULT GetProperty(
  43. [in] BSTR const strConfig,
  44. [in] BSTR strStorageLocation,
  45. [in] BSTR strPropertyName,
  46. [in] LONG Flags,
  47. [out, retval] VARIANT* pvarProperty);
  48. HRESULT SetProperty(
  49. [in] BSTR const strConfig,
  50. [in] BSTR strStorageLocation,
  51. [in] BSTR strPropertyName,
  52. [in] LONG Flags,
  53. [in] VARIANT const *pvarProperty);
  54. HRESULT Configure(
  55. [in] BSTR const strConfig,
  56. [in] BSTR strStorageLocation,
  57. [in] LONG Flags);
  58. };