File tree Expand file tree Collapse file tree 3 files changed +43
-8
lines changed Expand file tree Collapse file tree 3 files changed +43
-8
lines changed Original file line number Diff line number Diff line change
1
+
2
+ spec2def(liccpa.cpl liccpa.spec)
3
+
4
+ list (APPEND SOURCE
5
+ liccpa.c
6
+ liccpa.h)
7
+
8
+ file (GLOB liccpa_rc_deps resources/*.*)
9
+ add_rc_deps(liccpa.rc ${liccpa_rc_deps} )
10
+
11
+ add_library (liccpa SHARED
12
+ ${SOURCE}
13
+ liccpa.rc
14
+ ${CMAKE_CURRENT_BINARY_DIR} /liccpa.def)
15
+
16
+ set_module_type(liccpa cpl UNICODE)
17
+ add_importlibs(liccpa advapi32 user32 gdi32 msvcrt kernel32 ntdll)
18
+ add_pch(liccpa liccpa.h SOURCE )
19
+ add_cd_file(TARGET liccpa DESTINATION reactos/system32 FOR all )
Original file line number Diff line number Diff line change 10
10
* This application does almost nothing and its really good at it.
11
11
*/
12
12
13
- #include <windows.h>
14
- #include <commctrl.h>
15
- #include <cpl.h>
16
-
17
- #include "resource.h"
18
13
#include "liccpa.h"
19
14
20
15
HINSTANCE hApplet = 0 ;
@@ -26,12 +21,12 @@ DlgMainProc(HWND hwndDlg,
26
21
WPARAM wParam ,
27
22
LPARAM lParam )
28
23
{
29
- TCHAR szString [256 ];
24
+ // TCHAR szString[256];
30
25
31
26
switch (uMsg )
32
27
{
33
28
case WM_INITDIALOG :
34
- break ;
29
+ return TRUE ;
35
30
36
31
case WM_COMMAND :
37
32
switch (HIWORD (wParam ))
Original file line number Diff line number Diff line change 1
- #pragma once
1
+ #ifndef _LICCPA_H
2
+ #define _LICCPA_H
3
+
4
+ #include <stdarg.h>
5
+
6
+ #define WIN32_NO_STATUS
7
+ #define _INC_WINDOWS
8
+ #define COM_NO_WINDOWS_H
9
+
10
+ #include <windef.h>
11
+ #include <winbase.h>
12
+ #include <winreg.h>
13
+ #include <wingdi.h>
14
+ #include <wincon.h>
15
+ #include <devguid.h>
16
+ #include <shlobj.h>
17
+ #include <cpl.h>
18
+ #include <regstr.h>
19
+
20
+ #include "resource.h"
2
21
3
22
typedef struct
4
23
{
@@ -10,4 +29,6 @@ typedef struct
10
29
11
30
extern HINSTANCE hApplet ;
12
31
32
+ #endif /* _LICCPA_H */
33
+
13
34
/* EOF */
You can’t perform that action at this time.
0 commit comments