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.

51 lines
1.2 KiB

  1. //
  2. // CEnumPackage Class Definition
  3. //
  4. class CEnumPackage: public IEnumPackage
  5. {
  6. private:
  7. IRowset * m_pIRow;
  8. HACCESSOR m_HAcc;
  9. IAccessor * m_pIAccessor;
  10. ULONG m_dwRefCount;
  11. WCHAR * m_CommandText;
  12. DWORD m_dwPosition;
  13. DWORD m_dwAppFlags;
  14. DWORD *m_pdwLocale;
  15. CSPLATFORM *m_pPlatform;
  16. public:
  17. IDBCreateCommand * m_pIDBCreateCommand;
  18. CEnumPackage();
  19. ~CEnumPackage();
  20. HRESULT __stdcall QueryInterface(
  21. REFIID riid,
  22. void ** ppvObject);
  23. ULONG __stdcall AddRef();
  24. ULONG __stdcall Release();
  25. HRESULT __stdcall Next(
  26. ULONG celt,
  27. PACKAGEDISPINFO *rgelt,
  28. ULONG *pceltFetched);
  29. HRESULT __stdcall Skip(
  30. ULONG celt);
  31. HRESULT __stdcall Reset();
  32. HRESULT __stdcall Clone(
  33. IEnumPackage **ppenum);
  34. HRESULT __stdcall Initialize(
  35. LPOLESTR szCommandText,
  36. DWORD dwAppFlags,
  37. DWORD *pdwLocale,
  38. CSPLATFORM *pPlatform
  39. );
  40. };