Fix the case of product and company names.
[wine] / dlls / setupapi / devinst.c
1 /*
2  * SetupAPI device installer
3  *
4  * Copyright 2000 Andreas Mohr for CodeWeavers
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  */
20
21 #include <stdarg.h>
22
23 #include "windef.h"
24 #include "winbase.h"
25 #include "wine/debug.h"
26 #include "wingdi.h"
27 #include "winuser.h"
28 #include "winnls.h"
29 #include "setupapi.h"
30
31 WINE_DEFAULT_DEBUG_CHANNEL(setupapi);
32
33 /***********************************************************************
34  *              SetupDiGetDeviceInterfaceDetailA (SETUPAPI.@)
35  */
36 BOOL WINAPI SetupDiGetDeviceInterfaceDetailA(
37       HDEVINFO DeviceInfoSet,
38       PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData,
39       PSP_DEVICE_INTERFACE_DETAIL_DATAA DeviceInterfaceDetailData,
40       DWORD DeviceInterfaceDetailDataSize,
41       PDWORD RequiredSize,
42       PSP_DEVINFO_DATA DeviceInfoData )
43 {
44     FIXME("\n");
45     return FALSE;
46 }
47
48 /***********************************************************************
49  *              SetupDiGetDeviceInterfaceDetailW (SETUPAPI.@)
50  */
51 BOOL WINAPI SetupDiGetDeviceInterfaceDetailW(
52       HDEVINFO DeviceInfoSet,
53       PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData,
54       PSP_DEVICE_INTERFACE_DETAIL_DATAW DeviceInterfaceDetailData,
55       DWORD DeviceInterfaceDetailDataSize,
56       PDWORD RequiredSize,
57       PSP_DEVINFO_DATA DeviceInfoData )
58 {
59     FIXME("\n");
60     return FALSE;
61 }
62
63 /***********************************************************************
64  *              SetupDiEnumDeviceInterfaces (SETUPAPI.@)
65  */
66 BOOL WINAPI SetupDiEnumDeviceInterfaces(
67        HDEVINFO DeviceInfoSet,
68        PSP_DEVINFO_DATA DeviceInfoData,
69        CONST GUID * InterfaceClassGuid,
70        DWORD MemberIndex,
71        PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData)
72 {
73     FIXME("\n");
74     return FALSE;
75 }
76
77 /***********************************************************************
78  *              SetupDiGetClassDevsA (SETUPAPI.@)
79  */
80 HDEVINFO WINAPI SetupDiGetClassDevsA(
81        CONST GUID *class,
82        LPCSTR enumstr,
83        HWND parent,
84        DWORD flags)
85 {
86     FIXME("%s %s %p %08lx\n",debugstr_guid(class),enumstr,parent,flags);
87
88     return (HDEVINFO) INVALID_HANDLE_VALUE;
89 }
90
91 /***********************************************************************
92  *              SetupDiGetClassDevsW (SETUPAPI.@)
93  */
94 HDEVINFO WINAPI SetupDiGetClassDevsW(
95        CONST GUID *class,
96        LPCWSTR enumstr,
97        HWND parent,
98        DWORD flags)
99 {
100     FIXME("%s %s %p %08lx\n",debugstr_guid(class),debugstr_w(enumstr),parent,flags);
101
102     return (HDEVINFO) INVALID_HANDLE_VALUE;
103 }
104 /***********************************************************************
105  *              SetupDiEnumDeviceInfo (SETUPAPI.@)
106  */
107 BOOL WINAPI SetupDiEnumDeviceInfo(
108         HDEVINFO  devinfo,
109         DWORD  index,
110         PSP_DEVINFO_DATA info)
111 {
112     FIXME("%p %ld %p\n", devinfo, index, info );
113
114     if(info==NULL)
115         return FALSE;
116     if(info->cbSize < sizeof(*info))
117         return FALSE;
118
119     return FALSE;
120 }
121
122 /***********************************************************************
123  *              SetupDiDestroyDeviceInfoList (SETUPAPI.@)
124  */
125 BOOL WINAPI SetupDiDestroyDeviceInfoList( HDEVINFO devinfo )
126 {
127     FIXME("%04lx\n", (DWORD)devinfo);
128     return FALSE;
129 }
130
131 /***********************************************************************
132  *              SetupDiGetDeviceRegistryPropertyA (SETUPAPI.@)
133  */
134 BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(
135         HDEVINFO  devinfo,
136         PSP_DEVINFO_DATA  DeviceInfoData,
137         DWORD   Property,
138         PDWORD  PropertyRegDataType,
139         PBYTE   PropertyBuffer,
140         DWORD   PropertyBufferSize,
141         PDWORD  RequiredSize)
142 {
143     FIXME("%04lx %p %ld %p %p %ld %p\n", (DWORD)devinfo, DeviceInfoData,
144         Property, PropertyRegDataType, PropertyBuffer, PropertyBufferSize,
145         RequiredSize);
146     return FALSE;
147 }