ReactOS  0.4.15-dev-1201-gb2cf5a4
stubs.c
Go to the documentation of this file.
1 /*
2  * SetupAPI stubs
3  *
4  * Copyright 2000 James Hatheway
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19  */
20 
21 #include "setupapi_private.h"
22 
23 /***********************************************************************
24  * pSetupRegistryDelnode(SETUPAPI.@)
25  */
27 {
28  FIXME("%08x %08x: stub\n", x, y);
29  return FALSE;
30 }
31 
32 /***********************************************************************
33  * SetupPromptReboot(SETUPAPI.@)
34  */
36 {
37  FIXME("%p, %p, %d\n", file_queue, owner, scan_only);
38  return 0;
39 }
40 
41 /***********************************************************************
42  * SetupAddToSourceListA (SETUPAPI.@)
43  */
45 {
46  FIXME("0x%08x %s: stub\n", flags, debugstr_a(source));
47  return TRUE;
48 }
49 
50 /***********************************************************************
51  * SetupAddToSourceListW (SETUPAPI.@)
52  */
54 {
55  FIXME("0x%08x %s: stub\n", flags, debugstr_w(source));
56  return TRUE;
57 }
58 
59 /***********************************************************************
60  * SetupSetSourceListA (SETUPAPI.@)
61  */
63 {
64  FIXME("0x%08x %p %d\n", flags, list, count);
65  return FALSE;
66 }
67 
68 /***********************************************************************
69  * SetupSetSourceListW (SETUPAPI.@)
70  */
72 {
73  FIXME("0x%08x %p %d\n", flags, list, count);
74  return FALSE;
75 }
76 
77 
78 /***********************************************************************
79  * SetupDiRemoveDevice(SETUPAPI.@)
80  */
85 {
86  FIXME ("Stub %p %p\n", DeviceInfoSet, DeviceInfoData);
88  return FALSE;
89 }
90 
91 
92 /***********************************************************************
93  * SetupDiUnremoveDevice(SETUPAPI.@)
94  */
99 {
100  FIXME ("Stub %p %p\n", DeviceInfoSet, DeviceInfoData);
102  return FALSE;
103 }
104 
105 
106 /***********************************************************************
107  * SetupDiRemoveDeviceInterface (SETUPAPI.@)
108  */
110 {
111  FIXME("(%p, %p): stub\n", info, data);
113  return FALSE;
114 }
115 
116 
118 {
119  FIXME("%p %p %p %p %p stub\n", DeviceInfoSet, DeviceInterfaceData, AliasInterfaceClassGuid, AliasDeviceInterfaceData);
121  return FALSE;
122 }
123 
124 /***********************************************************************
125  * SetupVerifyInfFileA(SETUPAPI.@)
126  */
127 BOOL WINAPI
129  IN PCSTR InfName,
130  IN PSP_ALTPLATFORM_INFO AltPlatformInfo,
131  OUT PSP_INF_SIGNER_INFO_A InfFileName)
132 {
133  FIXME ("Stub %s %p %p\n", debugstr_a(InfName), AltPlatformInfo, InfFileName);
135  return FALSE;
136 }
137 
138 /***********************************************************************
139  * SetupVerifyInfFileW(SETUPAPI.@)
140  */
141 BOOL WINAPI
143  IN PCWSTR InfName,
144  IN PSP_ALTPLATFORM_INFO AltPlatformInfo,
145  OUT PSP_INF_SIGNER_INFO_W InfFileName)
146 {
147  FIXME ("Stub %s %p %p\n", debugstr_w(InfName), AltPlatformInfo, InfFileName);
149  return FALSE;
150 }
151 
#define ERROR_INVALID_PARAMETER
Definition: compat.h:101
_In_ CONST GUID * AliasInterfaceClassGuid
Definition: iofuncs.h:960
const uint16_t * PCWSTR
Definition: typedefs.h:57
#define IN
Definition: typedefs.h:39
BOOL WINAPI SetupSetSourceListW(DWORD flags, PCWSTR *list, UINT count)
Definition: stubs.c:71
BOOL WINAPI SetupVerifyInfFileA(IN PCSTR InfName, IN PSP_ALTPLATFORM_INFO AltPlatformInfo, OUT PSP_INF_SIGNER_INFO_A InfFileName)
Definition: stubs.c:128
WINSETUPAPI BOOL WINAPI SetupDiGetDeviceInterfaceAlias(IN HDEVINFO DeviceInfoSet, IN PSP_DEVICE_INTERFACE_DATA DeviceInterfaceData, IN CONST GUID *AliasInterfaceClassGuid, OUT PSP_DEVICE_INTERFACE_DATA AliasDeviceInterfaceData)
Definition: stubs.c:117
#define TRUE
Definition: types.h:120
GLuint GLuint GLsizei count
Definition: gl.h:1545
BOOL WINAPI SetupAddToSourceListW(DWORD flags, PCWSTR source)
Definition: stubs.c:53
BOOL WINAPI SetupDiUnremoveDevice(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData)
Definition: stubs.c:96
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
int32_t INT
Definition: typedefs.h:58
BOOL WINAPI pSetupRegistryDelnode(DWORD x, DWORD y)
Definition: stubs.c:26
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
#define debugstr_w
Definition: kernel32.h:32
#define FIXME(fmt,...)
Definition: debug.h:111
BOOL WINAPI SetupVerifyInfFileW(IN PCWSTR InfName, IN PSP_ALTPLATFORM_INFO AltPlatformInfo, OUT PSP_INF_SIGNER_INFO_W InfFileName)
Definition: stubs.c:142
INT WINAPI SetupPromptReboot(HSPFILEQ file_queue, HWND owner, BOOL scan_only)
Definition: stubs.c:35
BOOL WINAPI SetupAddToSourceListA(DWORD flags, PCSTR source)
Definition: stubs.c:44
#define debugstr_a
Definition: kernel32.h:31
#define WINAPI
Definition: msvc.h:6
_In_opt_ PSP_DEVINFO_DATA DeviceInfoData
Definition: setupapi.h:1523
unsigned long DWORD
Definition: ntddk_ex.h:95
#define SetLastError(x)
Definition: compat.h:611
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLbitfield flags
Definition: glext.h:7161
BOOL WINAPI SetupSetSourceListA(DWORD flags, PCSTR *list, UINT count)
Definition: stubs.c:62
Definition: _list.h:228
BOOL WINAPI SetupDiRemoveDeviceInterface(HDEVINFO info, PSP_DEVICE_INTERFACE_DATA data)
Definition: stubs.c:109
BOOL WINAPI SetupDiRemoveDevice(IN HDEVINFO DeviceInfoSet, IN PSP_DEVINFO_DATA DeviceInfoData)
Definition: stubs.c:82
unsigned int UINT
Definition: ndis.h:50
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548
#define OUT
Definition: typedefs.h:40
#define ERROR_CALL_NOT_IMPLEMENTED
Definition: compat.h:102
#define WINSETUPAPI
Definition: setupapi.h:15
const char * PCSTR
Definition: typedefs.h:52
#define CONST
Definition: pedump.c:81