1 #pragma once 2 3 #define WIN32_NO_STATUS 4 #define _INC_WINDOWS 5 #define COM_NO_WINDOWS_H 6 #include <stdarg.h> 7 #include <windef.h> 8 #include <winbase.h> 9 #include <objbase.h> 10 #include <commctrl.h> 11 #include <cpl.h> 12 13 #include "resource.h" 14 15 typedef struct 16 { 17 int idIcon; 18 int idName; 19 int idDescription; 20 APPLET_PROC AppletProc; 21 } APPLET, *PAPPLET; 22 23 typedef struct 24 { 25 WCHAR szTarget[MAX_PATH]; 26 WCHAR szWorkingDirectory[MAX_PATH]; 27 WCHAR szDescription[MAX_PATH]; 28 WCHAR szLinkName[MAX_PATH]; 29 } CREATE_LINK_CONTEXT, *PCREATE_LINK_CONTEXT; 30 31 32 extern HINSTANCE hApplet; 33 34 void ShowLastWin32Error(HWND hWndOwner); 35 36 /* EOF */ 37