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.

33 lines
1.2 KiB

  1. ///////////////////////////////////////////////////////////////////////////
  2. typedef interface ISMimePolicy ISMimePolicy;
  3. #define SMIME_POLICY_EDIT_UI 0x00000001
  4. EXTERN_C const IID IID_ISMimePolicy;
  5. MIDL_INTERFACE("744dffc0-63f4-11d2-8a52-0080c76b34c6")
  6. ISMimePolicy : public IUnknown
  7. {
  8. public:
  9. virtual HRESULT STDMETHODCALLTYPE GetInfo(
  10. /* OUT */ DWORD * pdwFlags,
  11. /* OUT */ DWORD * pcClassifications) = 0;
  12. virtual HRESULT STDMETHODCALLTYPE EnumClassifications(
  13. /* OUT */ LPWSTR rgwch,
  14. /* OUT */ DWORD * pcb,
  15. /* OUT */ DWORD * dwValue,
  16. /* IN */ DWORD i) = 0;
  17. virtual HRESULT STDMETHODCALLTYPE EditUI(
  18. /* IN */ HWND hwnd,
  19. /* IN/OUT */ DWORD * pdwClassification,
  20. /* IN/OUT */ LPWSTR * pwszPrivacyMark,
  21. /* IN/OUT */ LPBYTE * ppbLabel,
  22. /* IN/OUT */ DWORD * pcbLabel) = 0;
  23. virtual HRESULT STDMETHODCALLTYPE CheckEdits(
  24. /* IN */ HWND hwnd,
  25. /* IN */ DWORD dwClassification,
  26. /* IN */ LPCWSTR wszPrivacyLabel,
  27. /* IN/OUT */ LPBYTE * ppbLabel,
  28. /* IN/OUT */ DWORD * pcbLabel) = 0;
  29. };