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
propsext.h
Package: shell.rar [view]
Upload User: xhy777
Upload Date: 2007-02-14
Package Size: 24088k
Code Size: 1k
Category:
Windows Kernel
Development Platform:
Visual C++
- //---------------------------------------------------------------------------
- //
- // File: PROPSEXT.CPP
- //
- // Defines the CPropSheetExt object.
- //
- //---------------------------------------------------------------------------
- #ifndef _PROPSEXT_H_
- #define _PROPSEXT_H_
- #include <windows.h>
- #include <prsht.h>
- #include <shlobj.h>
- extern BOOL g_RunningOnNT;
- //Type for an object-destroyed callback
- typedef void (FAR PASCAL *LPFNDESTROYED)(void);
- class CPropSheetExt : public IShellPropSheetExt
- {
- private:
- ULONG m_cRef;
- LPUNKNOWN m_pUnkOuter; //Controlling unknown
- LPFNDESTROYED m_pfnDestroy; //Function closure call
- public:
- CPropSheetExt( LPUNKNOWN pUnkOuter, LPFNDESTROYED pfnDestroy );
- ~CPropSheetExt(void);
- // IUnknown members
- STDMETHODIMP QueryInterface(REFIID, LPVOID*);
- STDMETHODIMP_(ULONG) AddRef(void);
- STDMETHODIMP_(ULONG) Release(void);
- // *** IShellPropSheetExt methods ***
- STDMETHODIMP AddPages( LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam );
- STDMETHODIMP ReplacePage( UINT uPageID, LPFNADDPROPSHEETPAGE lpfnReplaceWith, LPARAM lParam );
- };
- #ifndef ARRAYSIZE
- #define ARRAYSIZE(x) (sizeof(x)/sizeof(x[0]))
- #endif
- #endif //_PROPSEXT_H_