user32: Replace a pointer cast by FIELD_OFFSET.
[wine/wine64.git] / include / cfgmgr32.h
blob3214c431230b96237acce29bfbfb0118a9125791
1 /*
2 * Copyright (C) 2005 Mike McCormack
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.
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.
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 St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _CFGMGR32_H_
20 #define _CFGMGR32_H_
22 typedef DWORD CONFIGRET;
24 #define CR_SUCCESS 0
26 #define MAX_CLASS_NAME_LEN 32
27 #define MAX_GUID_STRING_LEN 39
28 #define MAX_PROFILE_LEN 80
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
35 CONFIGRET WINAPI CM_Get_Device_ID_ListA( PCSTR, PCHAR, ULONG, ULONG );
36 CONFIGRET WINAPI CM_Get_Device_ID_ListW( PCWSTR, PWCHAR, ULONG, ULONG );
37 #define CM_Get_Device_ID_List WINELIB_NAME_AW(CM_Get_Device_ID_List)
39 #ifdef __cplusplus
41 #endif
43 #endif /* _CFGMGR32_H_ */