Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
79ecfaf5
Commit
79ecfaf5
authored
Oct 13, 2006
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 14, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setupapi: Win64 printf format warning fixes.
parent
9d2a804f
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
54 additions
and
54 deletions
+54
-54
Makefile.in
dlls/setupapi/Makefile.in
+1
-1
devinst.c
dlls/setupapi/devinst.c
+14
-14
devinst16.c
dlls/setupapi/devinst16.c
+1
-1
dirid.c
dlls/setupapi/dirid.c
+1
-1
install.c
dlls/setupapi/install.c
+5
-5
misc.c
dlls/setupapi/misc.c
+3
-3
parser.c
dlls/setupapi/parser.c
+5
-5
query.c
dlls/setupapi/query.c
+3
-3
queue.c
dlls/setupapi/queue.c
+4
-4
setupcab.c
dlls/setupapi/setupcab.c
+2
-2
setupx_main.c
dlls/setupapi/setupx_main.c
+1
-1
stringtable.c
dlls/setupapi/stringtable.c
+6
-6
stubs.c
dlls/setupapi/stubs.c
+7
-7
virtcopy.c
dlls/setupapi/virtcopy.c
+1
-1
No files found.
dlls/setupapi/Makefile.in
View file @
79ecfaf5
EXTRADEFS
=
-D_SETUPAPI_
-DWINE_NO_LONG_AS_INT
EXTRADEFS
=
-D_SETUPAPI_
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
...
...
dlls/setupapi/devinst.c
View file @
79ecfaf5
...
...
@@ -213,7 +213,7 @@ BOOL WINAPI SetupDiBuildClassInfoListExW(
NULL
,
NULL
,
NULL
);
TRACE
(
"RegEnumKeyExW() returns %
l
d
\n
"
,
lError
);
TRACE
(
"RegEnumKeyExW() returns %d
\n
"
,
lError
);
if
(
lError
==
ERROR_SUCCESS
||
lError
==
ERROR_MORE_DATA
)
{
TRACE
(
"Key name: %p
\n
"
,
szKeyName
);
...
...
@@ -415,7 +415,7 @@ BOOL WINAPI SetupDiClassGuidsFromNameExW(
NULL
,
NULL
,
NULL
);
TRACE
(
"RegEnumKeyExW() returns %
l
d
\n
"
,
lError
);
TRACE
(
"RegEnumKeyExW() returns %d
\n
"
,
lError
);
if
(
lError
==
ERROR_SUCCESS
||
lError
==
ERROR_MORE_DATA
)
{
TRACE
(
"Key name: %p
\n
"
,
szKeyName
);
...
...
@@ -748,7 +748,7 @@ BOOL WINAPI SetupDiCreateDeviceInfoW(
DWORD
CreationFlags
,
PSP_DEVINFO_DATA
DeviceInfoData
)
{
TRACE
(
"%p %s %s %s %p %
l
x %p
\n
"
,
DeviceInfoSet
,
debugstr_w
(
DeviceName
),
TRACE
(
"%p %s %s %s %p %x %p
\n
"
,
DeviceInfoSet
,
debugstr_w
(
DeviceName
),
debugstr_guid
(
ClassGuid
),
debugstr_w
(
DeviceDescription
),
hwndParent
,
CreationFlags
,
DeviceInfoData
);
...
...
@@ -765,7 +765,7 @@ BOOL WINAPI SetupDiEnumDeviceInfo(
DWORD
index
,
PSP_DEVINFO_DATA
info
)
{
FIXME
(
"%p %
l
d %p
\n
"
,
devinfo
,
index
,
info
);
FIXME
(
"%p %d %p
\n
"
,
devinfo
,
index
,
info
);
if
(
info
==
NULL
)
return
FALSE
;
...
...
@@ -931,7 +931,7 @@ BOOL WINAPI SetupDiGetClassDescriptionExW(
Reserved
);
if
(
hKey
==
INVALID_HANDLE_VALUE
)
{
WARN
(
"SetupDiOpenClassRegKeyExW() failed (Error %
l
u)
\n
"
,
GetLastError
());
WARN
(
"SetupDiOpenClassRegKeyExW() failed (Error %u)
\n
"
,
GetLastError
());
return
FALSE
;
}
...
...
@@ -1010,7 +1010,7 @@ HDEVINFO WINAPI SetupDiGetClassDevsW(
{
HDEVINFO
ret
=
(
HDEVINFO
)
INVALID_HANDLE_VALUE
;
TRACE
(
"%s %s %p 0x%08
l
x
\n
"
,
debugstr_guid
(
class
),
debugstr_w
(
enumstr
),
TRACE
(
"%s %s %p 0x%08x
\n
"
,
debugstr_guid
(
class
),
debugstr_w
(
enumstr
),
parent
,
flags
);
if
(
flags
&
DIGCF_DEVICEINTERFACE
)
...
...
@@ -1064,7 +1064,7 @@ BOOL WINAPI SetupDiEnumDeviceInterfaces(
{
BOOL
ret
=
FALSE
;
FIXME
(
"%p, %p, %s, 0x%08
l
x, %p
\n
"
,
devinfo
,
DeviceInfoData
,
FIXME
(
"%p, %p, %s, 0x%08x, %p
\n
"
,
devinfo
,
DeviceInfoData
,
debugstr_guid
(
InterfaceClassGuid
),
MemberIndex
,
DeviceInterfaceData
);
if
(
devinfo
&&
devinfo
!=
(
HDEVINFO
)
INVALID_HANDLE_VALUE
)
...
...
@@ -1127,7 +1127,7 @@ BOOL WINAPI SetupDiGetDeviceInterfaceDetailA(
{
BOOL
ret
=
FALSE
;
FIXME
(
"(%p, %p, %p, %
l
d, %p, %p)
\n
"
,
DeviceInfoSet
,
FIXME
(
"(%p, %p, %p, %d, %p, %p)
\n
"
,
DeviceInfoSet
,
DeviceInterfaceData
,
DeviceInterfaceDetailData
,
DeviceInterfaceDetailDataSize
,
RequiredSize
,
DeviceInfoData
);
...
...
@@ -1146,7 +1146,7 @@ BOOL WINAPI SetupDiGetDeviceInterfaceDetailW(
PDWORD
RequiredSize
,
PSP_DEVINFO_DATA
DeviceInfoData
)
{
FIXME
(
"(%p, %p, %p, %
l
d, %p, %p): stub
\n
"
,
DeviceInfoSet
,
FIXME
(
"(%p, %p, %p, %d, %p, %p): stub
\n
"
,
DeviceInfoSet
,
DeviceInterfaceData
,
DeviceInterfaceDetailData
,
DeviceInterfaceDetailDataSize
,
RequiredSize
,
DeviceInfoData
);
return
FALSE
;
...
...
@@ -1164,7 +1164,7 @@ BOOL WINAPI SetupDiGetDeviceRegistryPropertyA(
DWORD
PropertyBufferSize
,
PDWORD
RequiredSize
)
{
FIXME
(
"%04
lx %p %ld %p %p %l
d %p
\n
"
,
(
DWORD
)
devinfo
,
DeviceInfoData
,
FIXME
(
"%04
x %p %d %p %p %
d %p
\n
"
,
(
DWORD
)
devinfo
,
DeviceInfoData
,
Property
,
PropertyRegDataType
,
PropertyBuffer
,
PropertyBufferSize
,
RequiredSize
);
return
FALSE
;
...
...
@@ -1486,7 +1486,7 @@ BOOL WINAPI SetupDiOpenDeviceInterfaceW(
DWORD
OpenFlags
,
PSP_DEVICE_INTERFACE_DATA
DeviceInterfaceData
)
{
FIXME
(
"%p %s %08
l
x %p
\n
"
,
FIXME
(
"%p %s %08x %p
\n
"
,
DeviceInfoSet
,
debugstr_w
(
DevicePath
),
OpenFlags
,
DeviceInterfaceData
);
return
FALSE
;
}
...
...
@@ -1500,7 +1500,7 @@ BOOL WINAPI SetupDiOpenDeviceInterfaceA(
DWORD
OpenFlags
,
PSP_DEVICE_INTERFACE_DATA
DeviceInterfaceData
)
{
FIXME
(
"%p %s %08
l
x %p
\n
"
,
DeviceInfoSet
,
FIXME
(
"%p %s %08x %p
\n
"
,
DeviceInfoSet
,
debugstr_a
(
DevicePath
),
OpenFlags
,
DeviceInterfaceData
);
return
FALSE
;
}
...
...
@@ -1514,7 +1514,7 @@ BOOL WINAPI SetupDiSetClassInstallParamsA(
PSP_CLASSINSTALL_HEADER
ClassInstallParams
,
DWORD
ClassInstallParamsSize
)
{
FIXME
(
"%p %p %x %
l
u
\n
"
,
DeviceInfoSet
,
DeviceInfoData
,
FIXME
(
"%p %p %x %u
\n
"
,
DeviceInfoSet
,
DeviceInfoData
,
ClassInstallParams
->
InstallFunction
,
ClassInstallParamsSize
);
return
FALSE
;
}
...
...
@@ -1554,7 +1554,7 @@ HKEY WINAPI SetupDiOpenDevRegKey(
DWORD
KeyType
,
REGSAM
samDesired
)
{
FIXME
(
"%p %p %
ld %ld %ld %l
x
\n
"
,
DeviceInfoSet
,
DeviceInfoData
,
FIXME
(
"%p %p %
d %d %d %
x
\n
"
,
DeviceInfoSet
,
DeviceInfoData
,
Scope
,
HwProfile
,
KeyType
,
samDesired
);
return
INVALID_HANDLE_VALUE
;
}
dlls/setupapi/devinst16.c
View file @
79ecfaf5
...
...
@@ -103,7 +103,7 @@ RETERR16 WINAPI DiCreateDeviceInfo16(LPLPDEVICE_INFO16 lplpdi,
LPCSTR
lpszClassName
,
HWND16
hwndParent
)
{
LPDEVICE_INFO16
lpdi
;
FIXME
(
"(%p %s %08
l
x %x %s %s %x): stub
\n
"
,
lplpdi
,
FIXME
(
"(%p %s %08x %x %s %s %x): stub
\n
"
,
lplpdi
,
debugstr_a
(
lpszDescription
),
dnDevnode
,
hkey
,
debugstr_a
(
lpszRegsubkey
),
debugstr_a
(
lpszClassName
),
hwndParent
);
lpdi
=
HeapAlloc
(
GetProcessHeap
(),
HEAP_ZERO_MEMORY
,
sizeof
(
DEVICE_INFO16
));
...
...
dlls/setupapi/dirid.c
View file @
79ecfaf5
...
...
@@ -156,7 +156,7 @@ static const WCHAR *get_csidl_dir( DWORD csidl )
if
(
!
SHGetSpecialFolderPathW
(
NULL
,
buffer
,
csidl
,
TRUE
))
{
FIXME
(
"CSIDL %
l
x not found
\n
"
,
csidl
);
FIXME
(
"CSIDL %x not found
\n
"
,
csidl
);
return
get_unknown_dirid
();
}
len
=
(
strlenW
(
buffer
)
+
1
)
*
sizeof
(
WCHAR
);
...
...
dlls/setupapi/install.c
View file @
79ecfaf5
...
...
@@ -336,7 +336,7 @@ static BOOL do_reg_operation( HKEY hkey, const WCHAR *value, INFCONTEXT *context
if
(
type
==
REG_DWORD
)
{
DWORD
dw
=
str
?
strtoulW
(
str
,
NULL
,
0
)
:
0
;
TRACE
(
"setting dword %s to %
l
x
\n
"
,
debugstr_w
(
value
),
dw
);
TRACE
(
"setting dword %s to %x
\n
"
,
debugstr_w
(
value
),
dw
);
RegSetValueExW
(
hkey
,
value
,
0
,
type
,
(
BYTE
*
)
&
dw
,
sizeof
(
dw
)
);
}
else
...
...
@@ -356,7 +356,7 @@ static BOOL do_reg_operation( HKEY hkey, const WCHAR *value, INFCONTEXT *context
if
(
size
)
{
if
(
!
(
data
=
HeapAlloc
(
GetProcessHeap
(),
0
,
size
)))
return
FALSE
;
TRACE
(
"setting binary data %s len %
l
d
\n
"
,
debugstr_w
(
value
),
size
);
TRACE
(
"setting binary data %s len %d
\n
"
,
debugstr_w
(
value
),
size
);
SetupGetBinaryField
(
context
,
5
,
data
,
size
,
NULL
);
}
RegSetValueExW
(
hkey
,
value
,
0
,
type
,
data
,
size
);
...
...
@@ -531,7 +531,7 @@ static BOOL do_register_dll( const struct register_dll_info *info, const WCHAR *
if
(
FAILED
(
res
))
{
WARN
(
"calling %s in %s returned error %
l
x
\n
"
,
entry_point
,
debugstr_w
(
path
),
res
);
WARN
(
"calling %s in %s returned error %x
\n
"
,
entry_point
,
debugstr_w
(
path
),
res
);
status
.
FailureCode
=
SPREG_REGSVR
;
status
.
Win32Error
=
res
;
goto
done
;
...
...
@@ -555,7 +555,7 @@ static BOOL do_register_dll( const struct register_dll_info *info, const WCHAR *
if
(
FAILED
(
res
))
{
WARN
(
"calling DllInstall in %s returned error %
l
x
\n
"
,
debugstr_w
(
path
),
res
);
WARN
(
"calling DllInstall in %s returned error %x
\n
"
,
debugstr_w
(
path
),
res
);
status
.
FailureCode
=
SPREG_REGSVR
;
status
.
Win32Error
=
res
;
goto
done
;
...
...
@@ -778,7 +778,7 @@ static BOOL iterate_section_fields( HINF hinf, PCWSTR section, PCWSTR key,
goto
done
;
if
(
!
callback
(
hinf
,
buffer
,
arg
))
{
WARN
(
"callback failed for %s %s err %
l
d
\n
"
,
WARN
(
"callback failed for %s %s err %d
\n
"
,
debugstr_w
(
section
),
debugstr_w
(
buffer
),
GetLastError
()
);
goto
done
;
}
...
...
dlls/setupapi/misc.c
View file @
79ecfaf5
...
...
@@ -68,7 +68,7 @@ VOID WINAPI MyFree(LPVOID lpMem)
*/
LPVOID
WINAPI
MyMalloc
(
DWORD
dwSize
)
{
TRACE
(
"%
l
u
\n
"
,
dwSize
);
TRACE
(
"%u
\n
"
,
dwSize
);
return
HeapAlloc
(
GetProcessHeap
(),
0
,
dwSize
);
}
...
...
@@ -93,7 +93,7 @@ LPVOID WINAPI MyMalloc(DWORD dwSize)
*/
LPVOID
WINAPI
MyRealloc
(
LPVOID
lpSrc
,
DWORD
dwSize
)
{
TRACE
(
"%p %
l
u
\n
"
,
lpSrc
,
dwSize
);
TRACE
(
"%p %u
\n
"
,
lpSrc
,
dwSize
);
if
(
lpSrc
==
NULL
)
return
HeapAlloc
(
GetProcessHeap
(),
0
,
dwSize
);
...
...
@@ -858,6 +858,6 @@ void WINAPI pSetupSetGlobalFlags( DWORD flags )
*/
DWORD
WINAPI
CMP_WaitNoPendingInstallEvents
(
DWORD
dwTimeout
)
{
FIXME
(
"%
l
d
\n
"
,
dwTimeout
);
FIXME
(
"%d
\n
"
,
dwTimeout
);
return
WAIT_OBJECT_0
;
}
dlls/setupapi/parser.c
View file @
79ecfaf5
...
...
@@ -1265,7 +1265,7 @@ LONG WINAPI SetupGetLineCountW( HINF hinf, PCWSTR section )
if
(
ret
==
-
1
)
ret
=
0
;
ret
+=
file
->
sections
[
section_index
]
->
nb_lines
;
}
TRACE
(
"(%p,%s) returning %
l
d
\n
"
,
hinf
,
debugstr_w
(
section
),
ret
);
TRACE
(
"(%p,%s) returning %d
\n
"
,
hinf
,
debugstr_w
(
section
),
ret
);
SetLastError
(
(
ret
==
-
1
)
?
ERROR_SECTION_NOT_FOUND
:
0
);
return
ret
;
}
...
...
@@ -1310,7 +1310,7 @@ BOOL WINAPI SetupGetLineByIndexW( HINF hinf, PCWSTR section, DWORD index, INFCON
context
->
Section
=
section_index
;
context
->
Line
=
index
;
SetLastError
(
0
);
TRACE
(
"(%p,%s): returning %d/%
l
d
\n
"
,
TRACE
(
"(%p,%s): returning %d/%d
\n
"
,
hinf
,
debugstr_w
(
section
),
section_index
,
index
);
return
TRUE
;
}
...
...
@@ -1652,7 +1652,7 @@ BOOL WINAPI SetupGetStringFieldA( PINFCONTEXT context, DWORD index, PSTR buffer,
}
PARSER_string_substA
(
file
,
field
->
text
,
buffer
,
size
);
TRACE
(
"context %p/%p/%d/%d index %
l
d returning %s
\n
"
,
TRACE
(
"context %p/%p/%d/%d index %d returning %s
\n
"
,
context
->
Inf
,
context
->
CurrentInf
,
context
->
Section
,
context
->
Line
,
index
,
debugstr_a
(
buffer
)
);
}
...
...
@@ -1683,7 +1683,7 @@ BOOL WINAPI SetupGetStringFieldW( PINFCONTEXT context, DWORD index, PWSTR buffer
}
PARSER_string_substW
(
file
,
field
->
text
,
buffer
,
size
);
TRACE
(
"context %p/%p/%d/%d index %
l
d returning %s
\n
"
,
TRACE
(
"context %p/%p/%d/%d index %d returning %s
\n
"
,
context
->
Inf
,
context
->
CurrentInf
,
context
->
Section
,
context
->
Line
,
index
,
debugstr_w
(
buffer
)
);
}
...
...
@@ -1770,7 +1770,7 @@ BOOL WINAPI SetupGetBinaryField( PINFCONTEXT context, DWORD index, BYTE *buffer,
}
if
(
TRACE_ON
(
setupapi
))
{
TRACE
(
"%p/%p/%d/%d index %
l
d returning"
,
TRACE
(
"%p/%p/%d/%d index %d returning"
,
context
->
Inf
,
context
->
CurrentInf
,
context
->
Section
,
context
->
Line
,
index
);
for
(
i
=
index
;
i
<
line
->
nb_fields
;
i
++
)
TRACE
(
" %02x"
,
buffer
[
i
-
index
]
);
TRACE
(
"
\n
"
);
...
...
dlls/setupapi/query.c
View file @
79ecfaf5
...
...
@@ -132,7 +132,7 @@ BOOL WINAPI SetupGetInfInformationW(LPCVOID InfSpec, DWORD SearchControl,
BOOL
ret
;
DWORD
infSize
;
TRACE
(
"(%p, %
ld, %p, %l
d, %p)
\n
"
,
InfSpec
,
SearchControl
,
ReturnBuffer
,
TRACE
(
"(%p, %
d, %p, %
d, %p)
\n
"
,
InfSpec
,
SearchControl
,
ReturnBuffer
,
ReturnBufferSize
,
RequiredSize
);
if
(
!
InfSpec
)
...
...
@@ -159,7 +159,7 @@ BOOL WINAPI SetupGetInfInformationW(LPCVOID InfSpec, DWORD SearchControl,
inf
=
search_for_inf
(
InfSpec
,
SearchControl
);
break
;
case
INFINFO_INF_PATH_LIST_SEARCH
:
FIXME
(
"Unhandled search control: %
l
d
\n
"
,
SearchControl
);
FIXME
(
"Unhandled search control: %d
\n
"
,
SearchControl
);
if
(
RequiredSize
)
*
RequiredSize
=
0
;
...
...
@@ -251,7 +251,7 @@ BOOL WINAPI SetupQueryInfFileInformationW(PSP_INF_INFORMATION InfInformation,
DWORD
len
;
LPWSTR
ptr
;
TRACE
(
"(%p, %u, %p, %
l
d, %p) Stub!
\n
"
,
InfInformation
,
InfIndex
,
TRACE
(
"(%p, %u, %p, %d, %p) Stub!
\n
"
,
InfInformation
,
InfIndex
,
ReturnBuffer
,
ReturnBufferSize
,
RequiredSize
);
if
(
!
InfInformation
)
...
...
dlls/setupapi/queue.c
View file @
79ecfaf5
...
...
@@ -951,7 +951,7 @@ static BOOL do_file_copyW( LPCWSTR source, LPCWSTR target, DWORD style,
BOOL
rc
=
FALSE
;
BOOL
docopy
=
TRUE
;
TRACE
(
"copy %s to %s style 0x%
l
x
\n
"
,
debugstr_w
(
source
),
debugstr_w
(
target
),
style
);
TRACE
(
"copy %s to %s style 0x%x
\n
"
,
debugstr_w
(
source
),
debugstr_w
(
target
),
style
);
/* before copy processing */
if
(
style
&
SP_COPY_REPLACEONLY
)
...
...
@@ -982,7 +982,7 @@ static BOOL do_file_copyW( LPCWSTR source, LPCWSTR target, DWORD style,
VersionSizeTarget
=
GetFileVersionInfoSizeW
(
target
,
&
zero
);
}
TRACE
(
"SizeTarget %
li ... SizeSource %l
i
\n
"
,
VersionSizeTarget
,
TRACE
(
"SizeTarget %
i ... SizeSource %
i
\n
"
,
VersionSizeTarget
,
VersionSizeSource
);
if
(
VersionSizeSource
&&
VersionSizeTarget
)
...
...
@@ -1015,7 +1015,7 @@ static BOOL do_file_copyW( LPCWSTR source, LPCWSTR target, DWORD style,
{
FILEPATHS_W
filepaths
;
TRACE
(
"Versions: Source %
li.%li target %li.%l
i
\n
"
,
TRACE
(
"Versions: Source %
i.%i target %i.%
i
\n
"
,
SourceInfo
->
dwFileVersionMS
,
SourceInfo
->
dwFileVersionLS
,
TargetInfo
->
dwFileVersionMS
,
TargetInfo
->
dwFileVersionLS
);
...
...
@@ -1068,7 +1068,7 @@ static BOOL do_file_copyW( LPCWSTR source, LPCWSTR target, DWORD style,
if
(
style
&
(
SP_COPY_NODECOMP
|
SP_COPY_LANGUAGEAWARE
|
SP_COPY_FORCE_IN_USE
|
SP_COPY_IN_USE_NEEDS_REBOOT
|
SP_COPY_NOSKIP
|
SP_COPY_WARNIFSKIP
))
{
ERR
(
"Unsupported style(s) 0x%
l
x
\n
"
,
style
);
ERR
(
"Unsupported style(s) 0x%x
\n
"
,
style
);
}
if
(
docopy
)
...
...
dlls/setupapi/setupcab.c
View file @
79ecfaf5
...
...
@@ -541,7 +541,7 @@ BOOL WINAPI SetupIterateCabinetA(PCSTR CabinetFile, DWORD Reserved,
BOOL
ret
;
TRACE
(
"(CabinetFile == %s, Reserved == %
l
u, MsgHandler == ^%p, Context == ^%p)
\n
"
,
TRACE
(
"(CabinetFile == %s, Reserved == %u, MsgHandler == ^%p, Context == ^%p)
\n
"
,
debugstr_a
(
CabinetFile
),
Reserved
,
MsgHandler
,
Context
);
if
(
!
LoadCABINETDll
())
...
...
@@ -606,7 +606,7 @@ BOOL WINAPI SetupIterateCabinetW(PCWSTR CabinetFile, DWORD Reserved,
DWORD
fpnsize
;
BOOL
ret
;
TRACE
(
"(CabinetFile == %s, Reserved == %
l
u, MsgHandler == ^%p, Context == ^%p)
\n
"
,
TRACE
(
"(CabinetFile == %s, Reserved == %u, MsgHandler == ^%p, Context == ^%p)
\n
"
,
debugstr_w
(
CabinetFile
),
Reserved
,
MsgHandler
,
Context
);
if
(
!
LoadCABINETDll
())
...
...
dlls/setupapi/setupx_main.c
View file @
79ecfaf5
...
...
@@ -94,7 +94,7 @@ DWORD WINAPI SURegQueryValueEx( HKEY hkey, LPSTR lpszValueName,
LPDWORD
lpdwReserved
,
LPDWORD
lpdwType
,
LPBYTE
lpbData
,
LPDWORD
lpcbData
)
{
FIXME
(
"(%p,%s,%p,%p,%p,%
l
d), semi-stub.
\n
"
,
hkey
,
debugstr_a
(
lpszValueName
),
FIXME
(
"(%p,%s,%p,%p,%p,%d), semi-stub.
\n
"
,
hkey
,
debugstr_a
(
lpszValueName
),
lpdwReserved
,
lpdwType
,
lpbData
,
lpcbData
?*
lpcbData
:
0
);
return
RegQueryValueExA
(
hkey
,
lpszValueName
,
lpdwReserved
,
lpdwType
,
lpbData
,
lpcbData
);
...
...
dlls/setupapi/stringtable.c
View file @
79ecfaf5
...
...
@@ -215,7 +215,7 @@ StringTableAddString(HSTRING_TABLE hStringTable,
PSTRING_TABLE
pStringTable
;
DWORD
i
;
TRACE
(
"%p %s %
l
x
\n
"
,
hStringTable
,
debugstr_w
(
lpString
),
dwFlags
);
TRACE
(
"%p %s %x
\n
"
,
hStringTable
,
debugstr_w
(
lpString
),
dwFlags
);
pStringTable
=
(
PSTRING_TABLE
)
hStringTable
;
if
(
pStringTable
==
NULL
)
...
...
@@ -420,7 +420,7 @@ StringTableGetExtraData(HSTRING_TABLE hStringTable,
{
PSTRING_TABLE
pStringTable
;
TRACE
(
"%p %
lx %p %l
u
\n
"
,
TRACE
(
"%p %
x %p %
u
\n
"
,
hStringTable
,
dwId
,
lpExtraData
,
dwExtraDataSize
);
pStringTable
=
(
PSTRING_TABLE
)
hStringTable
;
...
...
@@ -473,7 +473,7 @@ StringTableLookUpString(HSTRING_TABLE hStringTable,
PSTRING_TABLE
pStringTable
;
DWORD
i
;
TRACE
(
"%p %s %
l
x
\n
"
,
hStringTable
,
debugstr_w
(
lpString
),
dwFlags
);
TRACE
(
"%p %s %x
\n
"
,
hStringTable
,
debugstr_w
(
lpString
),
dwFlags
);
pStringTable
=
(
PSTRING_TABLE
)
hStringTable
;
if
(
pStringTable
==
NULL
)
...
...
@@ -556,7 +556,7 @@ StringTableSetExtraData(HSTRING_TABLE hStringTable,
{
PSTRING_TABLE
pStringTable
;
TRACE
(
"%p %
lx %p %l
u
\n
"
,
TRACE
(
"%p %
x %p %
u
\n
"
,
hStringTable
,
dwId
,
lpExtraData
,
dwExtraDataSize
);
pStringTable
=
(
PSTRING_TABLE
)
hStringTable
;
...
...
@@ -614,7 +614,7 @@ StringTableStringFromId(HSTRING_TABLE hStringTable,
PSTRING_TABLE
pStringTable
;
static
WCHAR
empty
[]
=
{
0
};
TRACE
(
"%p %
l
x
\n
"
,
hStringTable
,
dwId
);
TRACE
(
"%p %x
\n
"
,
hStringTable
,
dwId
);
pStringTable
=
(
PSTRING_TABLE
)
hStringTable
;
if
(
pStringTable
==
NULL
)
...
...
@@ -655,7 +655,7 @@ StringTableStringFromIdEx(HSTRING_TABLE hStringTable,
DWORD
dwLength
;
BOOL
bResult
=
FALSE
;
TRACE
(
"%p %
l
x %p %p
\n
"
,
hStringTable
,
dwId
,
lpBuffer
,
lpBufferLength
);
TRACE
(
"%p %x %p %p
\n
"
,
hStringTable
,
dwId
,
lpBuffer
,
lpBufferLength
);
pStringTable
=
(
PSTRING_TABLE
)
hStringTable
;
if
(
pStringTable
==
NULL
)
...
...
dlls/setupapi/stubs.c
View file @
79ecfaf5
...
...
@@ -107,7 +107,7 @@ DWORD WINAPI CM_Disconnect_Machine(DWORD handle)
DWORD
WINAPI
CM_Get_Device_ID_ListA
(
PCSTR
pszFilter
,
PCHAR
Buffer
,
ULONG
BufferLen
,
ULONG
ulFlags
)
{
FIXME
(
"%p %p %
ld %l
d
\n
"
,
pszFilter
,
Buffer
,
BufferLen
,
ulFlags
);
FIXME
(
"%p %p %
d %
d
\n
"
,
pszFilter
,
Buffer
,
BufferLen
,
ulFlags
);
memset
(
Buffer
,
0
,
2
);
return
CR_SUCCESS
;
}
...
...
@@ -145,7 +145,7 @@ BOOL WINAPI SetupCopyOEMInfW(PCWSTR sourceinffile, PCWSTR sourcemedialoc,
BOOL
WINAPI
SetupGetSourceInfoA
(
HINF
InfHandle
,
UINT
SourceId
,
UINT
InfoDesired
,
PSTR
ReturnBuffer
,
DWORD
ReturnBufferSize
,
LPDWORD
RequiredSize
)
{
FIXME
(
"(%p, %d, %d, %p, %
l
d, %p): stub
\n
"
,
InfHandle
,
SourceId
,
InfoDesired
,
FIXME
(
"(%p, %d, %d, %p, %d, %p): stub
\n
"
,
InfHandle
,
SourceId
,
InfoDesired
,
ReturnBuffer
,
ReturnBufferSize
,
RequiredSize
);
return
FALSE
;
}
...
...
@@ -156,7 +156,7 @@ BOOL WINAPI SetupGetSourceInfoA(HINF InfHandle, UINT SourceId, UINT InfoDesired,
BOOL
WINAPI
SetupGetSourceInfoW
(
HINF
InfHandle
,
UINT
SourceId
,
UINT
InfoDesired
,
PWSTR
ReturnBuffer
,
DWORD
ReturnBufferSize
,
LPDWORD
RequiredSize
)
{
FIXME
(
"(%p, %d, %d, %p, %
l
d, %p): stub
\n
"
,
InfHandle
,
SourceId
,
InfoDesired
,
FIXME
(
"(%p, %d, %d, %p, %d, %p): stub
\n
"
,
InfHandle
,
SourceId
,
InfoDesired
,
ReturnBuffer
,
ReturnBufferSize
,
RequiredSize
);
return
FALSE
;
}
...
...
@@ -166,7 +166,7 @@ BOOL WINAPI SetupGetSourceInfoW(HINF InfHandle, UINT SourceId, UINT InfoDesired,
*/
HANDLE
WINAPI
SetupInitializeFileLogW
(
LPWSTR
LogFileName
,
DWORD
Flags
)
{
FIXME
(
"Stub %s, 0x%
l
x
\n
"
,
debugstr_w
(
LogFileName
),
Flags
);
FIXME
(
"Stub %s, 0x%x
\n
"
,
debugstr_w
(
LogFileName
),
Flags
);
return
INVALID_HANDLE_VALUE
;
}
...
...
@@ -175,7 +175,7 @@ HANDLE WINAPI SetupInitializeFileLogW(LPWSTR LogFileName, DWORD Flags)
*/
HANDLE
WINAPI
SetupInitializeFileLogA
(
LPSTR
LogFileName
,
DWORD
Flags
)
{
FIXME
(
"Stub %s, 0x%
l
x
\n
"
,
debugstr_a
(
LogFileName
),
Flags
);
FIXME
(
"Stub %s, 0x%x
\n
"
,
debugstr_a
(
LogFileName
),
Flags
);
return
INVALID_HANDLE_VALUE
;
}
...
...
@@ -193,7 +193,7 @@ BOOL WINAPI SetupTerminateFileLog(HANDLE FileLogHandle)
*/
BOOL
WINAPI
RegistryDelnode
(
DWORD
x
,
DWORD
y
)
{
FIXME
(
"%08
lx %08l
x: stub
\n
"
,
x
,
y
);
FIXME
(
"%08
x %08
x: stub
\n
"
,
x
,
y
);
return
FALSE
;
}
...
...
@@ -210,7 +210,7 @@ void WINAPI SetupCloseLog()
*/
BOOL
WINAPI
SetupLogErrorW
(
PCWSTR
MessageString
,
LogSeverity
Severity
)
{
FIXME
(
"(%s, %
l
d) stub
\n
"
,
debugstr_w
(
MessageString
),
Severity
);
FIXME
(
"(%s, %d) stub
\n
"
,
debugstr_w
(
MessageString
),
Severity
);
return
TRUE
;
}
...
...
dlls/setupapi/virtcopy.c
View file @
79ecfaf5
...
...
@@ -447,7 +447,7 @@ LPCSTR WINAPI VcpExplain16(LPVIRTNODE lpVn, DWORD dwWhat)
}
break
;
default:
FIXME
(
"%l
d unimplemented !
\n
"
,
dwWhat
);
FIXME
(
"%
d unimplemented !
\n
"
,
dwWhat
);
strcpy
(
buffer
,
"Unknown error"
);
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment