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.

43 lines
664 B

  1. class FAR ObjectTypeList
  2. {
  3. private:
  4. SAFEARRAY FAR * _pObjList;
  5. DWORD _dwCurrentIndex;
  6. DWORD _dwLBound;
  7. DWORD _dwUBound;
  8. DWORD _dwMaxElements;
  9. public:
  10. ObjectTypeList();
  11. static
  12. HRESULT
  13. ObjectTypeList::CreateObjectTypeList(
  14. VARIANT vFilter,
  15. ObjectTypeList ** ppObjectTypeList
  16. );
  17. ~ObjectTypeList();
  18. HRESULT
  19. GetCurrentObject(
  20. PDWORD pdwObject
  21. );
  22. HRESULT
  23. Next();
  24. HRESULT
  25. Reset();
  26. };
  27. HRESULT
  28. IsValidFilter(
  29. LPWSTR ObjectName,
  30. DWORD *pdwFilterId,
  31. PFILTERS pFilters,
  32. DWORD dwMaxFilters
  33. );