⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 contextmenu.h

📁 Drive.dll is a dll that creates a drive to system directoryor drive similar to existing drives such
💻 H
字号:
#ifndef _CONTEXTMENU_H_
#define _CONTEXTMENU_H_

class CPidlMgr;
class CShellFolder;

class CContextMenu : public IContextMenu, IShellExtInit
{
protected:
    ULONG           m_uiRef;             // Object reference count
public:
    CContextMenu(CShellFolder *pSF, UINT uiCount, 
					LPCITEMIDLIST *aPidls);
    ~CContextMenu();

    STDMETHODIMP            QueryInterface (REFIID, LPVOID FAR *);
    STDMETHODIMP_(ULONG)    AddRef ();
    STDMETHODIMP_(ULONG)    Release ();
    
    STDMETHODIMP GetCommandString(UINT idCmd, UINT uFlags, UINT *pwReserved,
							LPSTR pszName, UINT cchMax);
	STDMETHODIMP InvokeCommand(LPCMINVOKECOMMANDINFO lpici);
	STDMETHODIMP QueryContextMenu(HMENU hmenu, UINT indexMenu, UINT idCmdFirst,
							UINT idCmdLast, UINT uFlags);

    STDMETHODIMP    Initialize (LPCITEMIDLIST pidlFolder, 
						LPDATAOBJECT lpdobj, HKEY hKeyProgID);
private:
	CShellFolder	*m_pSF;
	UINT			m_uiCount;
	LPITEMIDLIST	*m_aPidls;
	IMalloc			*m_pMalloc;
	CPidlMgr		*m_pPidlMgr;
};

#endif 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -