ShellExt: Shell Extensions Sample

Click to open or copy the files for the ShellExt sample.

This sample demonstrates how to implement the basic shell extensions. These include context menu, property sheet, icon handler, and copy hook extensions. This sample does not implement a drag-drop handler, but the implementation would be similar to context menu handlers.

Building SDK Samples

This sample uses the following keywords:

addpages; addref; copycallback; createinstance; createpropertysheetpage; cshellext; cshellextclassfactory; data_seg; define_guid; destroypropertysheetpage; dllcanunloadnow; dllgetclassobject; dllmain; dogakmenu1; dogakmenu2; dogakmenu3; dogakmenu4; dragqueryfile; extract; gakpagecallback; gakpagedlgproc; getclassid; getcommandstring; getcurfile; getdata; getdlgctrlid; geticonlocation; getmodulefilename; getprivateprofileint; getprop; getwindowlong; initialize; insertmenu; invokecommand; isdirty; isequaliid; load; lockserver; lpfnaddpage; lstrcpy; make_scode; makeintresource; messagebox; ods; outputdebugstring; querycontextmenu; queryinterface; release; removeprop; replacepage; resultfromscode; resultfromshort; save; savecompleted; senddlgitemmessage; setprop; setwindowlong; shchangenotify; stdmethodimp_; succeeded; switch; widechartomultibyte; writeprivateprofilestring; wsprintf