Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 6d7605c

Browse files
committed
Added comments to the sample addon as to how to list in winfile.ini;
change version to 10.0.1806.1 for the next cumulative release.
1 parent 3657bc4 commit 6d7605c

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

samples/addon/extproc.cpp

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ WORD wMenuDelta;
1616
BOOL fToggle = FALSE;
1717

1818
/*
19-
LONG CALLBACK FMExtensionProcW(HWND hwnd, WORD wMsg, LONG lParam);
19+
LONG CALLBACK FMExtensionProc(HWND hwnd, WORD wMsg, LONG lParam) -- ANSI
20+
LONG CALLBACK FMExtensionProcW(HWND hwnd, WORD wMsg, LONG lParam) -- UNICODE
2021
2122
Parameters:
2223
@@ -60,6 +61,15 @@ LONG CALLBACK FMExtensionProcW(HWND hwnd, WORD wMsg, LONG lParam);
6061
6162
Return value Type: LONG
6263
Returns a value dependent upon the wMsg parameter message.
64+
65+
Usage: in order for Windows File Manager to load this dll, add a section to winfile.ini (located in %USERPROFILE%\Roaming\Microsoft\Winfile):
66+
67+
[Addons]
68+
ext1=<path to dll>
69+
70+
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
71+
results in undefined behavior currently.
72+
6373
*/
6474
LONG APIENTRY FMExtensionProcW(HWND hwnd, WPARAM wEvent, LPARAM lParam)
6575
{

src/res.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,10 @@ END
8282
#define VER_PRODUCTNAME_STR "File Manager"
8383
#define VER_LEGALCOPYRIGHT_STR "Copyright (c) Microsoft Corporation. All rights reserved."
8484

85-
#define VER_FILEVERSION 10,0,1805,1
86-
#define VER_FILEVERSION_STR "10.0.1805.1\0"
87-
#define VER_PRODUCTVERSION 10,0,1805,1
88-
#define VER_PRODUCTVERSION_STR "10.0.1805.1\0"
85+
#define VER_FILEVERSION 10,0,1806,1
86+
#define VER_FILEVERSION_STR "10.0.1806.1\0"
87+
#define VER_PRODUCTVERSION 10,0,1806,1
88+
#define VER_PRODUCTVERSION_STR "10.0.1806.1\0"
8989

9090
#ifndef DEBUG
9191
#define VER_DEBUG 0

0 commit comments

Comments
 (0)