Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
48
Src/devices/deviceSupportedCommandEnum.h
Normal file
48
Src/devices/deviceSupportedCommandEnum.h
Normal file
|
@ -0,0 +1,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
|
Loading…
Add table
Add a link
Reference in a new issue