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.
|
|
//+-------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (C) Microsoft Corporation, 1995 - 1995.
//
// File: copyhook.hxx
//
// Contents: CShareCopyHook definition
//
// History: 21-Apr-95 BruceFo Created
//
//--------------------------------------------------------------------------
#ifndef __COPYHOOK_HXX__
#define __COPYHOOK_HXX__
class CShareCopyHook : public ICopyHook { DECLARE_SIG;
public:
CShareCopyHook(); ~CShareCopyHook();
//
// IUnknown methods
//
STDMETHOD(QueryInterface)(REFIID riid, LPVOID* ppvObj); STDMETHOD_(ULONG,AddRef)(); STDMETHOD_(ULONG,Release)();
//
// ICopyHook methods
//
STDMETHOD_(UINT,CopyCallback)( HWND hwnd, UINT wFunc, UINT wFlags, LPCWSTR pszSrcFile, DWORD dwSrcAttribs, LPCWSTR pszDestFile, DWORD dwDestAttribs );
private:
ULONG _uRefs; // OLE reference count
};
#endif // __COPYHOOK_HXX__
|