14#define DWL_USER DWLP_USER
17#define VFD_LIBRARY_FILENAME "vfd.dll"
19#ifdef VFD_EMBED_DRIVER
20#define VFD_DRIVER_NAME_ID VFD_DRIVER
21#define VFD_DRIVER_TYPE_ID BINARY
48#define VFD_NOTIFY_MESSAGE "VfdNotifyMessage"
53#define VFD_MSGBOX_TITLE "Virtual Floppy Drive"
58#define VFDEXT_DESCRIPTION "VFD shell extension"
59#define VFDEXT_MENU_REGKEY "Drive\\shellex\\ContextMenuHandlers\\VFD"
60#define VFDEXT_DND_REGKEY "Drive\\shellex\\DragDropHandlers\\VFD"
61#define VFDEXT_PROP_REGKEY "Drive\\shellex\\PropertySheetHandlers\\VFD"
62#define VFDEXT_INFO_REGKEY "Drive\\shellex\\{00021500-0000-0000-C000-000000000046}"
142#define IS_WINDOWS_NT() ((GetVersion() & 0xff) < 5)
149extern ULONG TraceFlags;
151extern PCHAR TraceFile;
153extern CHAR const * TraceFile;
155extern ULONG TraceLine;
157#define VFDTRACE(LEVEL,STRING) \
158 if ((TraceFlags & (LEVEL)) == (LEVEL)) { \
159 TraceFile = __FILE__; \
160 TraceLine = __LINE__; \
167#define VFDTRACE(LEVEL,STRING)
173#ifndef INVALID_FILE_ATTRIBUTES
174#define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
177#if defined(_INC_COMMDLG) && !defined(OPENFILENAME_SIZE_VERSION_400)
180#define OPENFILENAME_SIZE_VERSION_400 sizeof(OPENFILENAME)
#define DebugTrace(INDENT, LEVEL, X, Y)
PSTR ModuleMessage(DWORD nFormat,...)
DWORD ExtractZipImage(HANDLE hFile, PUCHAR *pBuffer, PULONG pLength)
void ShowHelpWindow(HWND hDlg, UINT nCtl)
struct _SAVE_PARAM PSAVE_PARAM
const SAVE_PARAM * PCSAVE_PARAM
void SetControlText(HWND hWnd, UINT nCtrl, DWORD nMsg)
DWORD FormatBufferFat(PUCHAR pBuffer, ULONG nSectors)
DWORD ExtractZipInfo(HANDLE hFile, ULONG *pSize)
PCSTR SystemMessage(DWORD nError)
DWORD GuiSaveParam(HWND hParent, PCSAVE_PARAM pParam)
const SAVE_PARAM CSAVE_PARAM
void ShowContextMenu(HWND hDlg, HWND hCtl, LPARAM lParam)
struct _SAVE_PARAM SAVE_PARAM