winhttp/tests: Accept Windows7 return value for WinHttpQueryOption(WINHTTP_OPTION_CON...
[wine.git] / include / slpublic.h
blobc8bb559d2f3758222684b9e8d3ada26e87fd3bb6
1 /*
3 * Copyright 2008 Alistair Leslie-Hughes
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_SLPUBLIC_H
20 #define __WINE_SLPUBLIC_H
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 #ifdef _SLC_
27 #define SLCAPI
28 #else
29 #define SLCAPI DECLSPEC_IMPORT
30 #endif
32 typedef enum _tagSLDATATYPE
34 SL_DATA_NONE = REG_NONE,
35 SL_DATA_SZ = REG_SZ,
36 SL_DATA_DWORD = REG_DWORD,
37 SL_DATA_BINARY = REG_BINARY,
38 SL_DATA_MULTI_SZ = REG_MULTI_SZ,
39 SL_DATA_SUM = 100,
40 } SLDATATYPE;
42 SLCAPI HRESULT WINAPI SLGetWindowsInformation(LPCWSTR, SLDATATYPE*, UINT*, LPBYTE*);
43 SLCAPI HRESULT WINAPI SLGetWindowsInformationDWORD(LPCWSTR, LPDWORD);
46 #ifdef __cplusplus
48 #endif
50 #endif /* __WINE_SLPUBLIC_H */