Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
menu.hxx
Package: win2ksrc.rar [view]
Upload User: caisha3
Upload Date: 2013-09-21
Package Size: 208739k
Code Size: 2k
Category:
Windows Develop
Development Platform:
Visual C++
- //+---------------------------------------------------------------------------
- //
- // Microsoft Windows
- // Copyright (C) Microsoft Corporation, 1995 - 1995.
- //
- // File: menu.hxx
- //
- // Contents: Declaration of CSharesCM, implementing IContextMenu
- //
- // History: 20-Dec-95 BruceFo Created
- //
- //----------------------------------------------------------------------------
- #ifndef __MENU_HXX__
- #define __MENU_HXX__
- class CSharesCM : public IContextMenu
- {
- public:
- CSharesCM(
- IN HWND hwnd
- );
- HRESULT
- InitInstance(
- IN PWSTR pszMachine,
- IN UINT cidl,
- IN LPCITEMIDLIST* apidl,
- IN IShellFolder* psf
- );
- ~CSharesCM();
- //
- // IUnknown methods
- //
- STDMETHOD(QueryInterface)(REFIID riid, LPVOID * ppvObj);
- STDMETHOD_(ULONG,AddRef)();
- STDMETHOD_(ULONG,Release)();
- //
- // IContextMenu methods
- //
- STDMETHOD(QueryContextMenu)(
- HMENU hmenu,
- UINT indexMenu,
- UINT idCmdFirst,
- UINT idCmdLast,
- UINT uFlags
- );
- STDMETHOD(InvokeCommand)(
- LPCMINVOKECOMMANDINFO lpici
- );
- STDMETHOD(GetCommandString)(
- UINT idCmd,
- UINT uType,
- UINT * pwReserved,
- LPSTR pszName,
- UINT cchMax
- );
- private:
- PWSTR m_pszMachine;
- UINT m_cidl;
- LPITEMIDLIST* m_apidl;
- HWND m_hwnd;
- IShellFolder* m_psf;
- ULONG m_ulRefs;
- };
- #endif // __MENU_HXX__