From b624b87363abcc543981bdd0cc467dfb07c03c19 Mon Sep 17 00:00:00 2001 From: Mike McCormack Date: Tue, 4 Jan 2005 11:56:13 +0000 Subject: [PATCH] Add cfgmgr32.h header. --- include/Makefile.in | 1 + include/cfgmgr32.h | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 include/cfgmgr32.h diff --git a/include/Makefile.in b/include/Makefile.in index 62d5c47ccc2..fd7e5f187e5 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -50,6 +50,7 @@ WINDOWS_INCLUDES = \ aviriff.h \ basetsd.h \ cderr.h \ + cfgmgr32.h \ cguid.h \ commctrl.h \ commdlg.h \ diff --git a/include/cfgmgr32.h b/include/cfgmgr32.h new file mode 100644 index 00000000000..fe581bd379d --- /dev/null +++ b/include/cfgmgr32.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2005 Mike McCormack + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef _CFGMGR32_H_ +#define _CFGMGR32_H_ + +typedef DWORD CONFIGRET; + +#define CR_SUCCESS 0 + +CONFIGRET WINAPI CM_Get_Device_ID_ListA( PCSTR, PCHAR, ULONG, ULONG ); +CONFIGRET WINAPI CM_Get_Device_ID_ListW( PCWSTR, PWCHAR, ULONG, ULONG ); +#define CM_Get_Device_ID_List WINELIB_NAME_AW(CM_Get_Device_ID_List) + +#endif /* _CFGMGR32_H_ */