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.

56 lines
989 B

  1. // GetResources.h : Declaration of the CGetResources
  2. #pragma once
  3. #include "resource.h" // main symbols
  4. // IGetResources
  5. [
  6. object,
  7. uuid("31C8E3CB-F4CF-42C1-BC8C-3CF259127BBD"),
  8. dual, helpstring("IGetResources Interface"),
  9. pointer_default(unique)
  10. ]
  11. __interface IGetResources : IDispatch
  12. {
  13. [id(1), helpstring("method GetAllResources")] HRESULT GetAllResources([in] BSTR bstLang, [out,retval] IDispatch** oRS);
  14. };
  15. // CGetResources
  16. [
  17. coclass,
  18. threading("apartment"),
  19. vi_progid("OcaData.GetResources"),
  20. progid("OcaData.GetResources.1"),
  21. version(1.0),
  22. uuid("A88C1857-5B4A-44C0-B256-1F33A38B0B5F"),
  23. helpstring("GetResources Class")
  24. ]
  25. class ATL_NO_VTABLE CGetResources :
  26. public IGetResources
  27. {
  28. public:
  29. CGetResources()
  30. {
  31. }
  32. DECLARE_PROTECT_FINAL_CONSTRUCT()
  33. HRESULT FinalConstruct()
  34. {
  35. return S_OK;
  36. }
  37. void FinalRelease()
  38. {
  39. }
  40. public:
  41. STDMETHOD(GetAllResources)(BSTR bstLang, IDispatch** oRS);
  42. };