Skip to content

Commit

Permalink
Added comments to the sample addon as to how to list in winfile.ini;
Browse files Browse the repository at this point in the history
change version to 10.0.1806.1 for the next cumulative release.
  • Loading branch information
craigwi committed Jun 30, 2018
1 parent 3657bc4 commit 6d7605c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
12 changes: 11 additions & 1 deletion samples/addon/extproc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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=<path to dll>
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)
{
Expand Down
8 changes: 4 additions & 4 deletions src/res.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6d7605c

Please sign in to comment.