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.
 
 
 
 
 
 

74 lines
1.7 KiB

#ifndef _INC_DSKQUOTA_FORMAT_H
#define _INC_DSKQUOTA_FORMAT_H
///////////////////////////////////////////////////////////////////////////////
/* File: format.h
Description: Declaration for class EnumFORMATETC.
Moved from original location in dataobj.h (deleted from project).
Revision History:
Date Description Programmer
-------- --------------------------------------------------- ----------
05/28/97 Initial creation. BrianAu
*/
///////////////////////////////////////////////////////////////////////////////
class EnumFORMATETC : public IEnumFORMATETC
{
private:
LONG m_cRef;
UINT m_cFormats;
UINT m_iCurrent;
LPFORMATETC m_prgFormats;
//
// Prevent assignment.
//
void operator = (const EnumFORMATETC&);
public:
EnumFORMATETC(UINT cFormats, LPFORMATETC prgFormats);
EnumFORMATETC(const EnumFORMATETC& ef);
~EnumFORMATETC(VOID);
//
// IUnknown methods.
//
STDMETHODIMP
QueryInterface(
REFIID riid,
LPVOID *ppvOut);
STDMETHODIMP_(ULONG)
AddRef(
VOID);
STDMETHODIMP_(ULONG)
Release(
VOID);
//
// IEnumFORMATETC methods.
//
STDMETHODIMP
Next(
DWORD,
LPFORMATETC,
LPDWORD);
STDMETHODIMP
Skip(
DWORD);
STDMETHODIMP
Reset(
VOID);
STDMETHODIMP
Clone(
IEnumFORMATETC **);
};
#endif // _INC_DSKQUOTA_FORMAT_H