The FMExtensionProc function is an application-defined callback function that processes menu commands and messages sent to a File Manager extension dynamic-link library (DLL).
LONG WINAPI FMExtensionProc(
HWND hwnd, |
// handle to extension window |
WORD wEvent, |
// menu-item identifier, or message |
LONG lParam |
// additional message information |
); |
Value |
Meaning |
1-99 |
The user selected the menu item identified by this number. |
FMEVENT_INITMENU |
User selected the extension’s menu. |
FMEVENT_LOAD |
File Manager is loading the extension DLL. |
FMEVENT_SELCHANGE |
Selection changed in File Manager’s directory window or in Search Results window. |
FMEVENT_UNLOAD |
File Manager is unloading the extension DLL. |
FMEVENT_USER_REFRESH |
User chose the Refresh command from the Window menu. |
The callback function should return the result of the message processing. The actual return value depends on the message processed.
Whenever File Manager calls the FMExtensionProc function, it waits to refresh its directory windows (for changes in the file system) until after the function returns. This allows the extension to perform large numbers of file operations without excessive repainting by File Manager. It is not necessary for the extension to send the FM_REFRESH_WINDOWS message to notify File Manager to repaint its windows.
file: /Techref/os/win/api/win32/func/src/f25_10.htm, 4KB, , updated: 2000/4/7 11:06, local time: 2024/11/25 22:39,
3.145.62.36:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/Techref/os/win/api/win32/func/src/f25_10.htm"> FMExtensionProc</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.