diff --git a/samples/addon/extproc.cpp b/samples/addon/extproc.cpp index 89f5c22d..21603294 100644 --- a/samples/addon/extproc.cpp +++ b/samples/addon/extproc.cpp @@ -16,7 +16,8 @@ WORD wMenuDelta; BOOL fToggle = FALSE; /* -LONG CALLBACK FMExtensionProcW(HWND hwnd, WORD wMsg, LONG lParam); +LONG CALLBACK FMExtensionProc(HWND hwnd, WORD wMsg, LONG lParam) -- ANSI +LONG CALLBACK FMExtensionProcW(HWND hwnd, WORD wMsg, LONG lParam) -- UNICODE Parameters: @@ -60,6 +61,15 @@ LONG CALLBACK FMExtensionProcW(HWND hwnd, WORD wMsg, LONG lParam); Return value Type: LONG Returns a value dependent upon the wMsg parameter message. + + Usage: in order for Windows File Manager to load this dll, add a section to winfile.ini (located in %USERPROFILE%\Roaming\Microsoft\Winfile): + + [Addons] + ext1= + + The key names ('ext1' in the example) don't matter, but must all be unique within the [Addons] section. Specifying anything but a full path + results in undefined behavior currently. + */ LONG APIENTRY FMExtensionProcW(HWND hwnd, WPARAM wEvent, LPARAM lParam) { diff --git a/src/res.rc b/src/res.rc index 7672f9ac..c534383b 100644 --- a/src/res.rc +++ b/src/res.rc @@ -82,10 +82,10 @@ END #define VER_PRODUCTNAME_STR "File Manager" #define VER_LEGALCOPYRIGHT_STR "Copyright (c) Microsoft Corporation. All rights reserved." -#define VER_FILEVERSION 10,0,1805,1 -#define VER_FILEVERSION_STR "10.0.1805.1\0" -#define VER_PRODUCTVERSION 10,0,1805,1 -#define VER_PRODUCTVERSION_STR "10.0.1805.1\0" +#define VER_FILEVERSION 10,0,1806,1 +#define VER_FILEVERSION_STR "10.0.1806.1\0" +#define VER_PRODUCTVERSION 10,0,1806,1 +#define VER_PRODUCTVERSION_STR "10.0.1806.1\0" #ifndef DEBUG #define VER_DEBUG 0