上传日期:2004-07-18 02:25:07
上 传 者david_0788
说明:  Drive.dll is a dll that creates a drive to system directoryor drive similar to existing drives such as C:\. It contains seven classes:

ContextMenu.cpp (6550, 1998-12-20)
ContextMenu.h (1045, 1998-12-20)
Debug (0, 1998-12-20)
Debug\QDrive.dll (151595, 1998-12-20)
DropTarget.cpp (6078, 1998-12-20)
DropTarget.h (998, 1998-12-20)
EnumIDL.cpp (5450, 1998-12-20)
EnumIDL.h (2385, 1998-12-20)
ExtractIcon.cpp (2075, 1998-12-20)
ExtractIcon.h (627, 1998-12-20)
QDrive.cpp (11656, 1998-12-20)
QDrive.def (201, 1998-12-20)
QDrive.dsp (5787, 1998-12-20)
QDrive.dsw (535, 1998-12-20)
QDrive.h (727, 1998-12-20)
QDrive.ncb (66560, 1998-12-20)
QDrive.opt (51712, 1998-12-20)
QDrive.plg (1553, 1998-12-20)
QDrive.rc (4716, 1998-12-20)
ReadMe.txt (4362, 1998-12-20)
res (0, 1998-12-20)
resource.h (2097, 1998-12-20)
res\IconFolder_C.Ico (1078, 1998-12-20)
res\IconRoot.Ico (1078, 1998-12-20)
res\MyIcon.Ico (766, 1998-12-20)
res\MyView.Bmp (8310, 1998-12-20)
res\NewFolder.bmp (246, 1998-12-20)
ShellFolder.cpp (7658, 1998-12-20)
ShellFolder.h (1600, 1998-12-20)
ShellView.cpp (23190, 1998-12-20)
ShellView.h (2577, 1998-12-20)

======================================================================== SHELL NAMESPACE EXTENSION DLL : QDrive ======================================================================== Kotpal's NameSpace Extension AppWizard has created this QDrive DLL for you. This DLL not only demonstrates the basics of writing a Shell NameSpace Extensions but is also a good starting point for writing your Custom NameSpace Extensions. ///////////////////////////////////////////////////////////////////////////// PS: The Shell NameSpace Extension AppWizard is an unsupported tool. Use it at your own risk. For updates and FAQ you can contact me at kotpal@usa.net, or http://nse.cjb.net ///////////////////////////////////////////////////////////////////////////// This file contains a summary of what you will find in each of the files that make up your QDrive DLL. TODO : 1. Goto Project | Settings | General : Select "Not Using MFC" /////////////////////////////////////////////////////////////////////////// Features A Rooted Namespace Extension with the GUID: {A79EBF22-97C6-11d2-A6CA-204C4F4F5020} On the Desktop With the following classes: + IShellFolder derived CShellFolder in ShellFolder.cpp and ShellFolder.h with Folder attributes 0xFF3F0177 and following UI Objects IContextMenu derived CContextMenu in ContextMenu.cpp and ContextMenu.h IDropTarget derived CDropTarget in DropTarget.cpp and DropTarget.h IExtractIcon derived CExtractIcon in ExtractIcon.cpp and ExtractIcon.h + IShellView derived CShellView in ShellView.cpp and ShellView.h with a list view in the IShellView derived class that has implemenatation for menu & toolbar merging and status text handling Private Functions are in lower case /////////////////////////////////////////////////////////////////////////// Standard files: QDrive.h This is the main header file for the DLL. It declares the GUID for the DLL. QDrive.cpp This is the main DLL source file. It contains the implemenation of DllMain, DllGetClassObject, DllRegisterServer, DllUnregisterServer and DllCanUnloadNow. It also contains the definition and implemenatation of the class factory CQDriveClassFactory. QDrive.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Developer Studio. QDrive.def This file contains information about the DLL that must be provided to run with Microsoft Windows. It defines parameters such as the name and description of the DLL. It also exports functions DllGetClassObject, DllRegisterServer, DllUnregisterServer and DllCanUnloadNow from the DLL. QDrive.clw This file contains information used by ClassWizard to edit existing classes or add new classes. ///////////////////////////////////////////////////////////////////////////// Other standard files: Resource.h This is the standard header file, which defines new resource IDs. Microsoft Developer Studio reads and updates this file. ///////////////////////////////////////////////////////////////////////////// Other files specific to NameSpace Extensions: ShellFolder.h ShellFolder.cpp The files contain definition and implementation of IShellFolder derived class. ShellView.h ShellView.cpp The files contain definition and implementation of IShellView derived class. EnumIDL.h EnumIDL.cpp The files contain classes for dealing with PIDLS. They define and implement CPidlMgr and CEnumIDList ContextMenu.h ContextMenu.cpp The files contain definition and impleme ... ...