FMS_LOADFMS_LOAD*
*Contents  *Index  *Topic Contents
*Previous Topic: FMS_GETFILESEL
*Next Topic: FMS_TOOLBARLOAD

FMS_LOAD

Contains information that File Manager uses to add a custom menu provided by a File Manager extension DLL. The structure also provides a delta value that the extension DLL can use to manipulate the custom menu after File Manager has loaded the menu.

Syntax

typedef struct _FMS_LOAD {
    DWORD dwSize; 
    TCHAR  szMenuName[MENU_TEXT_LEN]; 
    HMENU hMenu; 
    UINT  wMenuDelta; 
} FMS_LOAD; 

Members

dwSize
Length, in bytes, of the structure.
szMenuName
Null-terminated name for a menu item that appears on the menu bar in File Manager.
hMenu
Identifer of the pop-up menu added to the menu bar in File Manager.
wMenuDelta
Menu item delta value. To avoid conflicts with its own menu items, File Manager renumbers the menu item identifiers in the pop-up menu identified by the hMenu member by adding this delta value to each identifier. An extension DLL that must modify a menu item must identify the item by adding the delta value to the menu item's identifier. The value of this member can vary from session to session.

See Also

FMExtensionProc


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.