#pragma once #define WIN32_NO_STATUS #define _INC_WINDOWS #define COM_NO_WINDOWS_H #include #include #include #include #include #include #include "resource.h" typedef LONG (CALLBACK *CPLAPPLET_PROC)(VOID); typedef struct { int idIcon; int idName; int idDescription; CPLAPPLET_PROC AppletProc; } APPLET, *PAPPLET; typedef struct { WCHAR szTarget[MAX_PATH]; WCHAR szWorkingDirectory[MAX_PATH]; WCHAR szDescription[MAX_PATH]; WCHAR szLinkName[MAX_PATH]; }CREATE_LINK_CONTEXT, *PCREATE_LINK_CONTEXT; extern HINSTANCE hApplet; void ShowLastWin32Error(HWND hWndOwner); /* EOF */