xref: /reactos/dll/cpl/joy/joy.h (revision 845faec4)
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 LONG (CALLBACK *CPLAPPLET_PROC)(VOID);
16 
17 typedef struct
18 {
19     int idIcon;
20     int idName;
21     int idDescription;
22     CPLAPPLET_PROC AppletProc;
23 } APPLET, *PAPPLET;
24 
25 typedef struct
26 {
27     WCHAR szTarget[MAX_PATH];
28     WCHAR szWorkingDirectory[MAX_PATH];
29     WCHAR szDescription[MAX_PATH];
30     WCHAR szLinkName[MAX_PATH];
31 }CREATE_LINK_CONTEXT, *PCREATE_LINK_CONTEXT;
32 
33 
34 extern HINSTANCE hApplet;
35 
36 void ShowLastWin32Error(HWND hWndOwner);
37 
38 /* EOF */
39