blob: 976595eec3d68c52e3702055ed70cbbf911f3cba (
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
|
#ifndef _NULLSOFT_WINAMP_DEVICES_DEVICE_SUPPORTED_COMMAND_ENUM_HEADER
#define _NULLSOFT_WINAMP_DEVICES_DEVICE_SUPPORTED_COMMAND_ENUM_HEADER
#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif
#include "./ifc_devicesupportedcommandenum.h"
#include "./ifC_devicesupportedcommand.h"
class DeviceSupportedCommandEnum : public ifc_devicesupportedcommandenum
{
protected:
DeviceSupportedCommandEnum();
~DeviceSupportedCommandEnum();
public:
static HRESULT CreateInstance(ifc_devicesupportedcommand **commands,
size_t count,
DeviceSupportedCommandEnum **instance);
public:
/* Dispatchable */
size_t AddRef();
size_t Release();
int QueryInterface(GUID interface_guid, void **object);
/* ifc_devicesupportedcommandenum*/
HRESULT Next(ifc_devicesupportedcommand **buffer, size_t bufferMax, size_t *count);
HRESULT Reset(void);
HRESULT Skip(size_t count);
HRESULT GetCount(size_t *count);
protected:
size_t ref;
ifc_devicesupportedcommand **commands;
size_t count;
size_t cursor;
protected:
RECVS_DISPATCH;
};
#endif // _NULLSOFT_WINAMP_DEVICES_DEVICE_SUPPORTED_COMMAND_ENUM_HEADER
|