Sync up to trunk head.
[reactos.git] / base / shell / explorer / notifyhook / notifyhook.h
1 /*
2 * Copyright 2004 Martin Fuchs
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 */
18
19
20 //
21 // NotifyHook DLL for ROS Explorer
22 //
23 // notifyhook.h
24 //
25 // Martin Fuchs, 17.03.2004
26 //
27
28
29 #ifdef _NOTIFYHOOK_IMPL
30 #define DECL_NOTIFYHOOK __declspec(dllexport)
31 #else
32 #define DECL_NOTIFYHOOK __declspec(dllimport)
33 #ifdef _MSC_VER
34 #pragma comment(lib, "notifyhook")
35 #endif
36 #endif
37
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41
42 DECL_NOTIFYHOOK UINT InstallNotifyHook();
43 DECL_NOTIFYHOOK void DeinstallNotifyHook();
44
45 DECL_NOTIFYHOOK void GetWindowModulePath(HWND hwnd);
46 DECL_NOTIFYHOOK int GetWindowModulePathCopyData(LPARAM lparam, HWND* phwnd, LPSTR buffer, int size);
47
48 #ifdef __cplusplus
49 };
50 #endif