FMEVENT_LOAD

The FMEVENT_LOAD message is sent to an extension dynamic-link library (DLL) when File Manager is loading the DLL.

Parameters

lParam

Points to an FMS_LOAD structure that specifies the menu-item delta value. An extension DLL should save the menu-item delta value and fill the other structure members with information about the extension. The FMS_LOAD structure has the following form:

#include <wfext.h>

typedef struct tagFMS_LOAD { /* fmsld */
    DWORD dwSize;
    char  szMenuName[MENU_TEXT_LEN];
    HMENU hMenu;
    UINT  wMenuDelta;
} FMS_LOAD;

Return Value

This message does not return a value.

Comments

An application should fill the dwSize, szMenuName, and hMenu members. It should also save the value of the wMenuDelta member and use it to identify menu items when modifying the menu. For more information, see the description of the FMS_LOAD structure.

See Also

FMExtensionProc