aboutsummaryrefslogtreecommitdiff
path: root/Src/omBrowser/ifc_omstorageenum.h
blob: 0c2661d1230d64f341f9def1817c6bf11cb6ebad (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#ifndef NULLSOFT_WINAMP_OMSTORAGE_ENUMERATOR_INTERFACE_HEADER
#define NULLSOFT_WINAMP_OMSTORAGE_ENUMERATOR_INTERFACE_HEADER

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

// {31BF2BEF-4362-4277-A4E1-0589336BC55C}
static const GUID IFC_OmStorageEnumerator = 
{ 0x31bf2bef, 0x4362, 0x4277, { 0xa4, 0xe1, 0x5, 0x89, 0x33, 0x6b, 0xc5, 0x5c } };

#include <bfc/dispatch.h>
class ifc_omstorage;

class __declspec(novtable) ifc_omstorageenumerator : public Dispatchable
{
protected:
	ifc_omstorageenumerator() {}
	~ifc_omstorageenumerator() {}

public:
	HRESULT Next(unsigned long listSize, ifc_omstorage **elementList, unsigned long *elementCount);
	HRESULT Reset(void);
	HRESULT Skip(unsigned long elementCount);

public:
	DISPATCH_CODES
	{
		API_NEXT = 10,
		API_RESET = 20,
		API_SKIP = 30,
	};
};

inline HRESULT ifc_omstorageenumerator::Next(unsigned long listSize, ifc_omstorage **elementList, unsigned long *elementCount)
{
	return _call(API_NEXT, (HRESULT)E_NOTIMPL, listSize, elementList, elementCount);
}

inline HRESULT ifc_omstorageenumerator::Reset(void)
{
	return _call(API_RESET, (HRESULT)E_NOTIMPL);
}

inline HRESULT ifc_omstorageenumerator::Skip(unsigned long elementCount)
{
	return _call(API_SKIP, (HRESULT)E_NOTIMPL, elementCount);
}

#endif //NULLSOFT_WINAMP_OMSTORAGE_ENUMERATOR_INTERFACE_HEADER