af062818b47340eef15700d2f0211576ba3506eevboxsync * Copyright (C) 2005 Mike McCormack
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is free software; you can redistribute it and/or
af062818b47340eef15700d2f0211576ba3506eevboxsync * modify it under the terms of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License as published by the Free Software Foundation; either
af062818b47340eef15700d2f0211576ba3506eevboxsync * version 2.1 of the License, or (at your option) any later version.
af062818b47340eef15700d2f0211576ba3506eevboxsync * This library is distributed in the hope that it will be useful,
af062818b47340eef15700d2f0211576ba3506eevboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
af062818b47340eef15700d2f0211576ba3506eevboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
af062818b47340eef15700d2f0211576ba3506eevboxsync * Lesser General Public License for more details.
af062818b47340eef15700d2f0211576ba3506eevboxsync * You should have received a copy of the GNU Lesser General Public
af062818b47340eef15700d2f0211576ba3506eevboxsync * License along with this library; if not, write to the Free Software
af062818b47340eef15700d2f0211576ba3506eevboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
4b9d6701570cb98fd36e209314239d104ec584d3vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * a choice of LGPL license versions is made available with the language indicating
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
b955672b950093ff7416d1269dd4d3b69983bd8fvboxsync * of the LGPL is applied is otherwise unspecified.
af062818b47340eef15700d2f0211576ba3506eevboxsync/* FIXME: #include <cfg.h> */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync/* cfgmgr32 doesn't use the normal convention, it adds an underscore before A/W */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync# define DECL_WINELIB_CFGMGR32_TYPE_AW(type) /* nothing */
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync# define DECL_WINELIB_CFGMGR32_TYPE_AW(type) typedef WINELIB_NAME_AW(type##_) type;
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CR_ALREADY_SUCH_DEVINST CR_ALREADY_SUCH_DEVNODE
af062818b47340eef15700d2f0211576ba3506eevboxsyncextern "C" {
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMAPI CONFIGRET WINAPI CM_Connect_MachineA(PCSTR,PHMACHINE);
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMAPI CONFIGRET WINAPI CM_Connect_MachineW(PCWSTR,PHMACHINE);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CM_Connect_Machine WINELIB_NAME_AW(CM_Connect_Machine)
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncCMAPI CONFIGRET WINAPI CM_Create_DevNodeA(PDEVINST,DEVINSTID_A,DEVINST,ULONG);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncCMAPI CONFIGRET WINAPI CM_Create_DevNodeW(PDEVINST,DEVINSTID_W,DEVINST,ULONG);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define CM_Create_DevNode WINELIB_NAME_AW(CM_Create_DevNode)
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMAPI CONFIGRET WINAPI CM_Disconnect_Machine(HMACHINE);
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMAPI CONFIGRET WINAPI CM_Get_Device_IDA(DEVINST,PSTR,ULONG,ULONG);
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMAPI CONFIGRET WINAPI CM_Get_Device_IDW(DEVINST,PWSTR,ULONG,ULONG);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CM_Get_Device_ID WINELIB_NAME_AW(CM_Get_Device_ID)
5112e32d7072e280613921c982a6672f2c859cf3vboxsyncCMAPI CONFIGRET WINAPI CM_Get_Device_ID_ExA(DEVINST,PSTR,ULONG,ULONG,HMACHINE);
5112e32d7072e280613921c982a6672f2c859cf3vboxsyncCMAPI CONFIGRET WINAPI CM_Get_Device_ID_ExW(DEVINST,PWSTR,ULONG,ULONG,HMACHINE);
5112e32d7072e280613921c982a6672f2c859cf3vboxsync#define CM_Get_Device_ID_Ex WINELIB_NAME_AW(CM_Get_Device_ID_Ex)
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMAPI CONFIGRET WINAPI CM_Get_Device_ID_ListA(PCSTR,PCHAR,ULONG,ULONG);
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMAPI CONFIGRET WINAPI CM_Get_Device_ID_ListW(PCWSTR,PWCHAR,ULONG,ULONG);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CM_Get_Device_ID_List WINELIB_NAME_AW(CM_Get_Device_ID_List)
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMAPI CONFIGRET WINAPI CM_Get_Device_ID_List_ExA(PCSTR,PCHAR,ULONG,ULONG,HMACHINE);
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMAPI CONFIGRET WINAPI CM_Get_Device_ID_List_ExW(PCWSTR,PWCHAR,ULONG,ULONG,HMACHINE);
af062818b47340eef15700d2f0211576ba3506eevboxsync#define CM_Get_Device_ID_List_Ex WINELIB_NAME_AW(CM_Get_Device_ID_List_Ex)
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMAPI CONFIGRET WINAPI CM_Get_Device_ID_Size(PULONG,DEVINST,ULONG);
af062818b47340eef15700d2f0211576ba3506eevboxsyncCMAPI CONFIGRET WINAPI CM_Get_Device_ID_Size_Ex(PULONG,DEVINST,ULONG,HMACHINE);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncCMAPI CONFIGRET WINAPI CM_Locate_DevNodeA(PDEVINST,DEVINSTID_A,ULONG);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsyncCMAPI CONFIGRET WINAPI CM_Locate_DevNodeW(PDEVINST,DEVINSTID_W,ULONG);
589fd26cedb2b4ebbed14f2964cad03cc8ebbca2vboxsync#define CM_Locate_DevNode WINELIB_NAME_AW(CM_Locate_DevNode)
af062818b47340eef15700d2f0211576ba3506eevboxsync#endif /* _CFGMGR32_H_ */