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.
|
|
#ifndef _INC_DSKQUOTA_EXTINIT_H
#define _INC_DSKQUOTA_EXTINIT_H
///////////////////////////////////////////////////////////////////////////////
/* File: extinit.h
Description: Contains declarations for disk quota shell extensions.
Revision History:
Date Description Programmer -------- --------------------------------------------------- ---------- 08/15/96 Initial creation. BrianAu */ ///////////////////////////////////////////////////////////////////////////////
#ifndef _INC_DSKQUOTA_UTILS_H
# include "utils.h"
#endif
#ifndef _INC_DSKQUOTA_STRCLASS_H
# include "strclass.h"
#endif
class ShellExtInit : public IShellExtInit { private: LONG m_cRef; CVolumeID m_idVolume; // Contains strings for parsing and display.
HRESULT Create_IShellPropSheetExt(REFIID riid, LPVOID *ppvOut); HRESULT Create_ISnapInPropSheetExt(REFIID riid, LPVOID *ppvOut);
public: ShellExtInit(VOID) : m_cRef(0) { }
//
// IUnknown methods.
//
STDMETHODIMP QueryInterface( REFIID, LPVOID *);
STDMETHODIMP_(ULONG) AddRef( VOID);
STDMETHODIMP_(ULONG) Release( VOID);
//
// IShellExtInit methods.
//
STDMETHODIMP Initialize( LPCITEMIDLIST pidlFolder, IDataObject *pDataObj, HKEY hkeyProgID); };
#endif // _INC_DSKQUOTA_EXTINIT_H
|