You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
85 lines
2.8 KiB
85 lines
2.8 KiB
/*****************************************************************************\
|
|
* *
|
|
* wfext.h - Windows File Manager Extensions definitions *
|
|
* *
|
|
* Version 3.10 * *
|
|
* *
|
|
* Copyright (c) 1991-1992, Microsoft Corp. All rights reserved. *
|
|
* *
|
|
*******************************************************************************/
|
|
|
|
#ifndef _INC_WFEXT
|
|
#define _INC_WFEXT /* #defined if wfext.h has been included */
|
|
|
|
#ifndef RC_INVOKED
|
|
#pragma pack(1) /* Assume byte packing throughout */
|
|
#endif /* RC_INVOKED */
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" { /* Assume C declarations for C++ */
|
|
#endif /* __cplusplus */
|
|
|
|
#define MENU_TEXT_LEN 40
|
|
|
|
#define FMMENU_FIRST 1
|
|
#define FMMENU_LAST 99
|
|
|
|
#define FMEVENT_LOAD 100
|
|
#define FMEVENT_UNLOAD 101
|
|
#define FMEVENT_INITMENU 102
|
|
#define FMEVENT_USER_REFRESH 103
|
|
#define FMEVENT_SELCHANGE 104
|
|
|
|
#define FMFOCUS_DIR 1
|
|
#define FMFOCUS_TREE 2
|
|
#define FMFOCUS_DRIVES 3
|
|
#define FMFOCUS_SEARCH 4
|
|
|
|
#define FM_GETFOCUS (WM_USER + 0x0200)
|
|
#define FM_GETDRIVEINFO (WM_USER + 0x0201)
|
|
#define FM_GETSELCOUNT (WM_USER + 0x0202)
|
|
#define FM_GETSELCOUNTLFN (WM_USER + 0x0203) /* LFN versions are odd */
|
|
#define FM_GETFILESEL (WM_USER + 0x0204)
|
|
#define FM_GETFILESELLFN (WM_USER + 0x0205) /* LFN versions are odd */
|
|
#define FM_REFRESH_WINDOWS (WM_USER + 0x0206)
|
|
#define FM_RELOAD_EXTENSIONS (WM_USER + 0x0207)
|
|
|
|
typedef struct tagFMS_GETFILESEL
|
|
{
|
|
UINT wTime;
|
|
UINT wDate;
|
|
DWORD dwSize;
|
|
BYTE bAttr;
|
|
char szName[260]; /* always fully qualified */
|
|
} FMS_GETFILESEL, FAR *LPFMS_GETFILESEL;
|
|
|
|
typedef struct tagFMS_GETDRIVEINFO /* for drive */
|
|
{
|
|
DWORD dwTotalSpace;
|
|
DWORD dwFreeSpace;
|
|
char szPath[260]; /* current directory */
|
|
char szVolume[14]; /* volume label */
|
|
char szShare[128]; /* if this is a net drive */
|
|
} FMS_GETDRIVEINFO, FAR *LPFMS_GETDRIVEINFO;
|
|
|
|
typedef struct tagFMS_LOAD
|
|
{
|
|
DWORD dwSize; /* for version checks */
|
|
char szMenuName[MENU_TEXT_LEN]; /* output */
|
|
HMENU hMenu; /* output */
|
|
UINT wMenuDelta; /* input */
|
|
} FMS_LOAD, FAR *LPFMS_LOAD;
|
|
|
|
typedef DWORD (CALLBACK *FM_EXT_PROC)(HWND, UINT, LONG);
|
|
typedef DWORD (CALLBACK *FM_UNDELETE_PROC)(HWND, LPSTR);
|
|
|
|
#ifndef RC_INVOKED
|
|
#pragma pack() /* Revert to default packing */
|
|
#endif /* RC_INVOKED */
|
|
|
|
#ifdef __cplusplus
|
|
} /* End of extern "C" { */
|
|
#endif /* __cplusplus */
|
|
|
|
#endif /* _INC_WFEXT */
|
|
|