Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6518b5ca
Commit
6518b5ca
authored
Jan 05, 2004
by
Steven Edwards
Committed by
Alexandre Julliard
Jan 05, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MSVC porting fixes.
parent
49c6a8d7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
46 deletions
+63
-46
parser.c
dlls/setupapi/parser.c
+21
-21
stubs.c
dlls/setupapi/stubs.c
+13
-13
setupapi.h
include/setupapi.h
+29
-12
No files found.
dlls/setupapi/parser.c
View file @
6518b5ca
...
@@ -1312,7 +1312,7 @@ BOOL WINAPI SetupFindFirstLineW( HINF hinf, PCWSTR section, PCWSTR key, INFCONTE
...
@@ -1312,7 +1312,7 @@ BOOL WINAPI SetupFindFirstLineW( HINF hinf, PCWSTR section, PCWSTR key, INFCONTE
/***********************************************************************
/***********************************************************************
* SetupFindNextLine (SETUPAPI.@)
* SetupFindNextLine (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupFindNextLine
(
const
INFCONTEXT
*
context_in
,
INFCONTEXT
*
context_out
)
BOOL
WINAPI
SetupFindNextLine
(
PINFCONTEXT
context_in
,
PINFCONTEXT
context_out
)
{
{
struct
inf_file
*
file
=
context_in
->
CurrentInf
;
struct
inf_file
*
file
=
context_in
->
CurrentInf
;
struct
section
*
section
;
struct
section
*
section
;
...
@@ -1353,8 +1353,8 @@ BOOL WINAPI SetupFindNextLine( const INFCONTEXT *context_in, INFCONTEXT *context
...
@@ -1353,8 +1353,8 @@ BOOL WINAPI SetupFindNextLine( const INFCONTEXT *context_in, INFCONTEXT *context
/***********************************************************************
/***********************************************************************
* SetupFindNextMatchLineA (SETUPAPI.@)
* SetupFindNextMatchLineA (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupFindNextMatchLineA
(
const
INFCONTEXT
*
context_in
,
PCSTR
key
,
BOOL
WINAPI
SetupFindNextMatchLineA
(
PINFCONTEXT
context_in
,
PCSTR
key
,
INFCONTEXT
*
context_out
)
PINFCONTEXT
context_out
)
{
{
UNICODE_STRING
keyW
;
UNICODE_STRING
keyW
;
BOOL
ret
=
FALSE
;
BOOL
ret
=
FALSE
;
...
@@ -1375,8 +1375,8 @@ BOOL WINAPI SetupFindNextMatchLineA( const INFCONTEXT *context_in, PCSTR key,
...
@@ -1375,8 +1375,8 @@ BOOL WINAPI SetupFindNextMatchLineA( const INFCONTEXT *context_in, PCSTR key,
/***********************************************************************
/***********************************************************************
* SetupFindNextMatchLineW (SETUPAPI.@)
* SetupFindNextMatchLineW (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupFindNextMatchLineW
(
const
INFCONTEXT
*
context_in
,
PCWSTR
key
,
BOOL
WINAPI
SetupFindNextMatchLineW
(
PINFCONTEXT
context_in
,
PCWSTR
key
,
INFCONTEXT
*
context_out
)
PINFCONTEXT
context_out
)
{
{
struct
inf_file
*
file
=
context_in
->
CurrentInf
;
struct
inf_file
*
file
=
context_in
->
CurrentInf
;
struct
section
*
section
;
struct
section
*
section
;
...
@@ -1437,8 +1437,8 @@ BOOL WINAPI SetupFindNextMatchLineW( const INFCONTEXT *context_in, PCWSTR key,
...
@@ -1437,8 +1437,8 @@ BOOL WINAPI SetupFindNextMatchLineW( const INFCONTEXT *context_in, PCWSTR key,
/***********************************************************************
/***********************************************************************
* SetupGetLineTextW (SETUPAPI.@)
* SetupGetLineTextW (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupGetLineTextW
(
const
INFCONTEXT
*
context
,
HINF
hinf
,
PCWSTR
section_name
,
BOOL
WINAPI
SetupGetLineTextW
(
PINFCONTEXT
context
,
HINF
hinf
,
PCWSTR
section_name
,
PCWSTR
key_name
,
PWSTR
buffer
,
DWORD
size
,
DWORD
*
required
)
PCWSTR
key_name
,
PWSTR
buffer
,
DWORD
size
,
PDWORD
required
)
{
{
struct
inf_file
*
file
;
struct
inf_file
*
file
;
struct
line
*
line
;
struct
line
*
line
;
...
@@ -1488,8 +1488,8 @@ BOOL WINAPI SetupGetLineTextW( const INFCONTEXT *context, HINF hinf, PCWSTR sect
...
@@ -1488,8 +1488,8 @@ BOOL WINAPI SetupGetLineTextW( const INFCONTEXT *context, HINF hinf, PCWSTR sect
/***********************************************************************
/***********************************************************************
* SetupGetLineTextA (SETUPAPI.@)
* SetupGetLineTextA (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupGetLineTextA
(
const
INFCONTEXT
*
context
,
HINF
hinf
,
PCSTR
section_name
,
BOOL
WINAPI
SetupGetLineTextA
(
PINFCONTEXT
context
,
HINF
hinf
,
PCSTR
section_name
,
PCSTR
key_name
,
PSTR
buffer
,
DWORD
size
,
DWORD
*
required
)
PCSTR
key_name
,
PSTR
buffer
,
DWORD
size
,
PDWORD
required
)
{
{
struct
inf_file
*
file
;
struct
inf_file
*
file
;
struct
line
*
line
;
struct
line
*
line
;
...
@@ -1539,7 +1539,7 @@ BOOL WINAPI SetupGetLineTextA( const INFCONTEXT *context, HINF hinf, PCSTR secti
...
@@ -1539,7 +1539,7 @@ BOOL WINAPI SetupGetLineTextA( const INFCONTEXT *context, HINF hinf, PCSTR secti
/***********************************************************************
/***********************************************************************
* SetupGetFieldCount (SETUPAPI.@)
* SetupGetFieldCount (SETUPAPI.@)
*/
*/
DWORD
WINAPI
SetupGetFieldCount
(
const
INFCONTEXT
*
context
)
DWORD
WINAPI
SetupGetFieldCount
(
PINFCONTEXT
context
)
{
{
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
line
*
line
=
get_line
(
file
,
context
->
Section
,
context
->
Line
);
struct
line
*
line
=
get_line
(
file
,
context
->
Section
,
context
->
Line
);
...
@@ -1552,8 +1552,8 @@ DWORD WINAPI SetupGetFieldCount( const INFCONTEXT *context )
...
@@ -1552,8 +1552,8 @@ DWORD WINAPI SetupGetFieldCount( const INFCONTEXT *context )
/***********************************************************************
/***********************************************************************
* SetupGetStringFieldA (SETUPAPI.@)
* SetupGetStringFieldA (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupGetStringFieldA
(
const
INFCONTEXT
*
context
,
DWORD
index
,
PSTR
buffer
,
BOOL
WINAPI
SetupGetStringFieldA
(
PINFCONTEXT
context
,
DWORD
index
,
PSTR
buffer
,
DWORD
size
,
DWORD
*
required
)
DWORD
size
,
PDWORD
required
)
{
{
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
field
*
field
=
get_field
(
file
,
context
->
Section
,
context
->
Line
,
index
);
struct
field
*
field
=
get_field
(
file
,
context
->
Section
,
context
->
Line
,
index
);
...
@@ -1583,8 +1583,8 @@ BOOL WINAPI SetupGetStringFieldA( const INFCONTEXT *context, DWORD index, PSTR b
...
@@ -1583,8 +1583,8 @@ BOOL WINAPI SetupGetStringFieldA( const INFCONTEXT *context, DWORD index, PSTR b
/***********************************************************************
/***********************************************************************
* SetupGetStringFieldW (SETUPAPI.@)
* SetupGetStringFieldW (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupGetStringFieldW
(
const
INFCONTEXT
*
context
,
DWORD
index
,
PWSTR
buffer
,
BOOL
WINAPI
SetupGetStringFieldW
(
PINFCONTEXT
context
,
DWORD
index
,
PWSTR
buffer
,
DWORD
size
,
DWORD
*
required
)
DWORD
size
,
PDWORD
required
)
{
{
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
field
*
field
=
get_field
(
file
,
context
->
Section
,
context
->
Line
,
index
);
struct
field
*
field
=
get_field
(
file
,
context
->
Section
,
context
->
Line
,
index
);
...
@@ -1614,7 +1614,7 @@ BOOL WINAPI SetupGetStringFieldW( const INFCONTEXT *context, DWORD index, PWSTR
...
@@ -1614,7 +1614,7 @@ BOOL WINAPI SetupGetStringFieldW( const INFCONTEXT *context, DWORD index, PWSTR
/***********************************************************************
/***********************************************************************
* SetupGetIntField (SETUPAPI.@)
* SetupGetIntField (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupGetIntField
(
const
INFCONTEXT
*
context
,
DWORD
index
,
INT
*
result
)
BOOL
WINAPI
SetupGetIntField
(
PINFCONTEXT
context
,
DWORD
index
,
PINT
result
)
{
{
char
localbuff
[
20
];
char
localbuff
[
20
];
char
*
end
,
*
buffer
=
localbuff
;
char
*
end
,
*
buffer
=
localbuff
;
...
@@ -1645,8 +1645,8 @@ BOOL WINAPI SetupGetIntField( const INFCONTEXT *context, DWORD index, INT *resul
...
@@ -1645,8 +1645,8 @@ BOOL WINAPI SetupGetIntField( const INFCONTEXT *context, DWORD index, INT *resul
/***********************************************************************
/***********************************************************************
* SetupGetBinaryField (SETUPAPI.@)
* SetupGetBinaryField (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupGetBinaryField
(
const
INFCONTEXT
*
context
,
DWORD
index
,
BYTE
*
buffer
,
BOOL
WINAPI
SetupGetBinaryField
(
PINFCONTEXT
context
,
DWORD
index
,
BYTE
*
buffer
,
DWORD
size
,
DWORD
*
required
)
DWORD
size
,
LPDWORD
required
)
{
{
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
line
*
line
=
get_line
(
file
,
context
->
Section
,
context
->
Line
);
struct
line
*
line
=
get_line
(
file
,
context
->
Section
,
context
->
Line
);
...
@@ -1702,8 +1702,8 @@ BOOL WINAPI SetupGetBinaryField( const INFCONTEXT *context, DWORD index, BYTE *b
...
@@ -1702,8 +1702,8 @@ BOOL WINAPI SetupGetBinaryField( const INFCONTEXT *context, DWORD index, BYTE *b
/***********************************************************************
/***********************************************************************
* SetupGetMultiSzFieldA (SETUPAPI.@)
* SetupGetMultiSzFieldA (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupGetMultiSzFieldA
(
const
INFCONTEXT
*
context
,
DWORD
index
,
PSTR
buffer
,
BOOL
WINAPI
SetupGetMultiSzFieldA
(
PINFCONTEXT
context
,
DWORD
index
,
PSTR
buffer
,
DWORD
size
,
DWORD
*
required
)
DWORD
size
,
LPDWORD
required
)
{
{
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
line
*
line
=
get_line
(
file
,
context
->
Section
,
context
->
Line
);
struct
line
*
line
=
get_line
(
file
,
context
->
Section
,
context
->
Line
);
...
@@ -1751,8 +1751,8 @@ BOOL WINAPI SetupGetMultiSzFieldA( const INFCONTEXT *context, DWORD index, PSTR
...
@@ -1751,8 +1751,8 @@ BOOL WINAPI SetupGetMultiSzFieldA( const INFCONTEXT *context, DWORD index, PSTR
/***********************************************************************
/***********************************************************************
* SetupGetMultiSzFieldW (SETUPAPI.@)
* SetupGetMultiSzFieldW (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupGetMultiSzFieldW
(
const
INFCONTEXT
*
context
,
DWORD
index
,
PWSTR
buffer
,
BOOL
WINAPI
SetupGetMultiSzFieldW
(
PINFCONTEXT
context
,
DWORD
index
,
PWSTR
buffer
,
DWORD
size
,
DWORD
*
required
)
DWORD
size
,
LPDWORD
required
)
{
{
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
inf_file
*
file
=
context
->
CurrentInf
;
struct
line
*
line
=
get_line
(
file
,
context
->
Section
,
context
->
Line
);
struct
line
*
line
=
get_line
(
file
,
context
->
Section
,
context
->
Line
);
...
...
dlls/setupapi/stubs.c
View file @
6518b5ca
...
@@ -55,7 +55,7 @@ DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
...
@@ -55,7 +55,7 @@ DWORD WINAPI suErrorToIds16( WORD w1, WORD w2 )
*
*
* WINAPI in description not given
* WINAPI in description not given
*/
*/
HKEY
WINAPI
SetupDiOpenClassRegKeyExW
(
LPGUID
class
,
DWORD
access
,
DWORD
flags
,
LPCWSTR
machine
,
PVOID
reserved
)
HKEY
WINAPI
SetupDiOpenClassRegKeyExW
(
const
GUID
*
class
,
REGSAM
access
,
DWORD
flags
,
PCWSTR
machine
,
PVOID
reserved
)
{
{
FIXME
(
"
\n
"
);
FIXME
(
"
\n
"
);
return
INVALID_HANDLE_VALUE
;
return
INVALID_HANDLE_VALUE
;
...
@@ -64,7 +64,7 @@ HKEY WINAPI SetupDiOpenClassRegKeyExW(LPGUID class, DWORD access, DWORD flags, L
...
@@ -64,7 +64,7 @@ HKEY WINAPI SetupDiOpenClassRegKeyExW(LPGUID class, DWORD access, DWORD flags, L
/***********************************************************************
/***********************************************************************
* SetupDiGetClassDescriptionExW (SETUPAPI.@)
* SetupDiGetClassDescriptionExW (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupDiGetClassDescriptionExW
(
GUID
*
class
,
LPCWSTR
desc
,
DWORD
size
,
PDWORD
required
,
LPCWSTR
machine
,
PVOID
reserved
)
BOOL
WINAPI
SetupDiGetClassDescriptionExW
(
const
GUID
*
class
,
PWSTR
desc
,
DWORD
size
,
PDWORD
required
,
PCWSTR
machine
,
PVOID
reserved
)
{
{
FIXME
(
"
\n
"
);
FIXME
(
"
\n
"
);
return
FALSE
;
return
FALSE
;
...
@@ -73,7 +73,7 @@ BOOL WINAPI SetupDiGetClassDescriptionExW (GUID* class, LPCWSTR desc, DWORD size
...
@@ -73,7 +73,7 @@ BOOL WINAPI SetupDiGetClassDescriptionExW (GUID* class, LPCWSTR desc, DWORD size
/***********************************************************************
/***********************************************************************
* SetupDiClassNameFromGuidExW (SETUPAPI.@)
* SetupDiClassNameFromGuidExW (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupDiClassNameFromGuidExW
(
GUID
*
class
,
LPCWSTR
desc
,
DWORD
size
,
PDWORD
required
,
LPCWSTR
machine
,
PVOID
reserved
)
BOOL
WINAPI
SetupDiClassNameFromGuidExW
(
const
GUID
*
class
,
PWSTR
desc
,
DWORD
size
,
PDWORD
required
,
PCWSTR
machine
,
PVOID
reserved
)
{
{
FIXME
(
"
\n
"
);
FIXME
(
"
\n
"
);
return
FALSE
;
return
FALSE
;
...
@@ -89,9 +89,9 @@ BOOL WINAPI SetupDiBuildClassInfoListExW(DWORD flags, LPGUID list, DWORD size, P
...
@@ -89,9 +89,9 @@ BOOL WINAPI SetupDiBuildClassInfoListExW(DWORD flags, LPGUID list, DWORD size, P
}
}
/***********************************************************************
/***********************************************************************
* SetupDiGetDeviceInfoListDetail
W
(SETUPAPI.@)
* SetupDiGetDeviceInfoListDetail
A
(SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupDiGetDeviceInfoListDetailA
(
HDEVINFO
devinfo
,
PSP_DEVINFO_
DAT
A
devinfo_data
)
BOOL
WINAPI
SetupDiGetDeviceInfoListDetailA
(
HDEVINFO
devinfo
,
PSP_DEVINFO_
LIST_DETAIL_DATA_
A
devinfo_data
)
{
{
FIXME
(
"
\n
"
);
FIXME
(
"
\n
"
);
return
FALSE
;
return
FALSE
;
...
@@ -100,7 +100,7 @@ BOOL WINAPI SetupDiGetDeviceInfoListDetailA(HDEVINFO devinfo, PSP_DEVINFO_DATA d
...
@@ -100,7 +100,7 @@ BOOL WINAPI SetupDiGetDeviceInfoListDetailA(HDEVINFO devinfo, PSP_DEVINFO_DATA d
/***********************************************************************
/***********************************************************************
* SetupDiGetDeviceInfoListDetailW (SETUPAPI.@)
* SetupDiGetDeviceInfoListDetailW (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupDiGetDeviceInfoListDetailW
(
HDEVINFO
devinfo
,
PSP_DEVINFO_
DATA
devinfo_data
)
BOOL
WINAPI
SetupDiGetDeviceInfoListDetailW
(
HDEVINFO
devinfo
,
PSP_DEVINFO_
LIST_DETAIL_DATA_W
devinfo_data
)
{
{
FIXME
(
"
\n
"
);
FIXME
(
"
\n
"
);
return
FALSE
;
return
FALSE
;
...
@@ -109,7 +109,7 @@ BOOL WINAPI SetupDiGetDeviceInfoListDetailW(HDEVINFO devinfo, PSP_DEVINFO_DATA d
...
@@ -109,7 +109,7 @@ BOOL WINAPI SetupDiGetDeviceInfoListDetailW(HDEVINFO devinfo, PSP_DEVINFO_DATA d
/***********************************************************************
/***********************************************************************
* SetupDiCreateDeviceInfoListA (SETUPAPI.@)
* SetupDiCreateDeviceInfoListA (SETUPAPI.@)
*/
*/
HDEVINFO
WINAPI
SetupDiCreateDeviceInfoList
(
LPGUID
class
,
HWND
parend
)
HDEVINFO
WINAPI
SetupDiCreateDeviceInfoList
(
const
GUID
*
class
,
HWND
parend
)
{
{
FIXME
(
"
\n
"
);
FIXME
(
"
\n
"
);
return
FALSE
;
return
FALSE
;
...
@@ -118,7 +118,7 @@ HDEVINFO WINAPI SetupDiCreateDeviceInfoList(LPGUID class, HWND parend)
...
@@ -118,7 +118,7 @@ HDEVINFO WINAPI SetupDiCreateDeviceInfoList(LPGUID class, HWND parend)
/***********************************************************************
/***********************************************************************
* SetupDiCreateDeviceInfoListExW (SETUPAPI.@)
* SetupDiCreateDeviceInfoListExW (SETUPAPI.@)
*/
*/
HDEVINFO
WINAPI
SetupDiCreateDeviceInfoListExW
(
LPGUID
class
,
HWND
parend
,
L
PCWSTR
machine
,
PVOID
reserved
)
HDEVINFO
WINAPI
SetupDiCreateDeviceInfoListExW
(
const
GUID
*
class
,
HWND
parend
,
PCWSTR
machine
,
PVOID
reserved
)
{
{
FIXME
(
"
\n
"
);
FIXME
(
"
\n
"
);
return
FALSE
;
return
FALSE
;
...
@@ -129,7 +129,7 @@ HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(LPGUID class, HWND parend, LPCWST
...
@@ -129,7 +129,7 @@ HDEVINFO WINAPI SetupDiCreateDeviceInfoListExW(LPGUID class, HWND parend, LPCWST
*
*
* NO WINAPI in description given
* NO WINAPI in description given
*/
*/
HDEVINFO
WINAPI
SetupDiGetClassDevsExA
(
LPGUID
class
,
LPCSTR
filter
,
HWND
parent
,
DWORD
flags
,
HDEVINFO
deviceset
,
L
PCSTR
machine
,
PVOID
reserved
)
HDEVINFO
WINAPI
SetupDiGetClassDevsExA
(
const
GUID
*
class
,
PCSTR
filter
,
HWND
parent
,
DWORD
flags
,
HDEVINFO
deviceset
,
PCSTR
machine
,
PVOID
reserved
)
{
{
FIXME
(
"filter %s machine %s
\n
"
,
debugstr_a
(
filter
),
debugstr_a
(
machine
));
FIXME
(
"filter %s machine %s
\n
"
,
debugstr_a
(
filter
),
debugstr_a
(
machine
));
return
FALSE
;
return
FALSE
;
...
@@ -140,7 +140,7 @@ HDEVINFO WINAPI SetupDiGetClassDevsExA(LPGUID class, LPCSTR filter, HWND parent,
...
@@ -140,7 +140,7 @@ HDEVINFO WINAPI SetupDiGetClassDevsExA(LPGUID class, LPCSTR filter, HWND parent,
*
*
* NO WINAPI in description given
* NO WINAPI in description given
*/
*/
HDEVINFO
WINAPI
SetupDiGetClassDevsExW
(
LPGUID
class
,
LPCWSTR
filter
,
HWND
parent
,
DWORD
flags
,
HDEVINFO
deviceset
,
L
PCWSTR
machine
,
PVOID
reserved
)
HDEVINFO
WINAPI
SetupDiGetClassDevsExW
(
const
GUID
*
class
,
PCWSTR
filter
,
HWND
parent
,
DWORD
flags
,
HDEVINFO
deviceset
,
PCWSTR
machine
,
PVOID
reserved
)
{
{
FIXME
(
"
\n
"
);
FIXME
(
"
\n
"
);
return
FALSE
;
return
FALSE
;
...
@@ -179,10 +179,10 @@ DWORD WINAPI CM_Disconnect_Machine(DWORD handle)
...
@@ -179,10 +179,10 @@ DWORD WINAPI CM_Disconnect_Machine(DWORD handle)
/***********************************************************************
/***********************************************************************
* SetupCopyOEMInfA (SETUPAPI.@)
* SetupCopyOEMInfA (SETUPAPI.@)
*/
*/
BOOL
WINAPI
SetupCopyOEMInfA
(
LPCSTR
sourceinffile
,
L
PCSTR
sourcemedialoc
,
BOOL
WINAPI
SetupCopyOEMInfA
(
PCSTR
sourceinffile
,
PCSTR
sourcemedialoc
,
DWORD
mediatype
,
DWORD
copystyle
,
L
PSTR
destinfname
,
DWORD
mediatype
,
DWORD
copystyle
,
PSTR
destinfname
,
DWORD
destnamesize
,
PDWORD
required
,
DWORD
destnamesize
,
PDWORD
required
,
LPSTR
destinfnamecomponent
)
PSTR
*
destinfnamecomponent
)
{
{
FIXME
(
"stub: source %s location %s...
\n
"
,
sourceinffile
,
sourcemedialoc
);
FIXME
(
"stub: source %s location %s...
\n
"
,
sourceinffile
,
sourcemedialoc
);
return
FALSE
;
return
FALSE
;
...
...
include/setupapi.h
View file @
6518b5ca
...
@@ -160,6 +160,23 @@ typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W
...
@@ -160,6 +160,23 @@ typedef struct _SP_DEVICE_INTERFACE_DETAIL_DATA_W
DECL_WINELIB_SETUPAPI_TYPE_AW
(
SP_DEVICE_INTERFACE_DETAIL_DATA
)
DECL_WINELIB_SETUPAPI_TYPE_AW
(
SP_DEVICE_INTERFACE_DETAIL_DATA
)
DECL_WINELIB_SETUPAPI_TYPE_AW
(
PSP_DEVICE_INTERFACE_DETAIL_DATA
)
DECL_WINELIB_SETUPAPI_TYPE_AW
(
PSP_DEVICE_INTERFACE_DETAIL_DATA
)
typedef
struct
_SP_DEVINFO_LIST_DETAIL_DATA_A
{
DWORD
cbSize
;
GUID
ClassGuid
;
HANDLE
RemoteMachineHandle
;
CHAR
RemoteMachineName
[
SP_MAX_MACHINENAME_LENGTH
];
}
SP_DEVINFO_LIST_DETAIL_DATA_A
,
*
PSP_DEVINFO_LIST_DETAIL_DATA_A
;
typedef
struct
_SP_DEVINFO_LIST_DETAIL_DATA_W
{
DWORD
cbSize
;
GUID
ClassGuid
;
HANDLE
RemoteMachineHandle
;
WCHAR
RemoteMachineName
[
SP_MAX_MACHINENAME_LENGTH
];
}
SP_DEVINFO_LIST_DETAIL_DATA_W
,
*
PSP_DEVINFO_LIST_DETAIL_DATA_W
;
DECL_WINELIB_SETUPAPI_TYPE_AW
(
SP_DEVINFO_LIST_DETAIL_DATA
)
DECL_WINELIB_SETUPAPI_TYPE_AW
(
PSP_DEVINFO_LIST_DETAIL_DATA
)
typedef
struct
_FILE_IN_CABINET_INFO_A
{
typedef
struct
_FILE_IN_CABINET_INFO_A
{
LPCSTR
NameInCabinet
;
LPCSTR
NameInCabinet
;
DWORD
FileSize
;
DWORD
FileSize
;
...
@@ -517,21 +534,21 @@ LONG WINAPI SetupGetLineCountW( HINF hinf, PCWSTR section );
...
@@ -517,21 +534,21 @@ LONG WINAPI SetupGetLineCountW( HINF hinf, PCWSTR section );
BOOL
WINAPI
SetupFindFirstLineA
(
HINF
hinf
,
PCSTR
section
,
PCSTR
key
,
INFCONTEXT
*
context
);
BOOL
WINAPI
SetupFindFirstLineA
(
HINF
hinf
,
PCSTR
section
,
PCSTR
key
,
INFCONTEXT
*
context
);
BOOL
WINAPI
SetupFindFirstLineW
(
HINF
hinf
,
PCWSTR
section
,
PCWSTR
key
,
INFCONTEXT
*
context
);
BOOL
WINAPI
SetupFindFirstLineW
(
HINF
hinf
,
PCWSTR
section
,
PCWSTR
key
,
INFCONTEXT
*
context
);
#define SetupFindFirstLine WINELIB_NAME_AW(SetupFindFirstLine)
#define SetupFindFirstLine WINELIB_NAME_AW(SetupFindFirstLine)
BOOL
WINAPI
SetupFindNextLine
(
const
INFCONTEXT
*
,
INFCONTEXT
*
);
BOOL
WINAPI
SetupFindNextLine
(
PINFCONTEXT
context_in
,
PINFCONTEXT
context_out
);
BOOL
WINAPI
SetupFindNextMatchLineA
(
const
INFCONTEXT
*
,
PCSTR
,
INFCONTEXT
*
);
BOOL
WINAPI
SetupFindNextMatchLineA
(
PINFCONTEXT
context_in
,
PCSTR
key
,
PINFCONTEXT
context_out
);
BOOL
WINAPI
SetupFindNextMatchLineW
(
const
INFCONTEXT
*
,
PCWSTR
,
INFCONTEXT
*
);
BOOL
WINAPI
SetupFindNextMatchLineW
(
PINFCONTEXT
context_in
,
PCWSTR
key
,
PINFCONTEXT
context_out
);
#define SetupFindNextMatchLine WINELIB_NAME_AW(SetupFindNextMatchLine)
#define SetupFindNextMatchLine WINELIB_NAME_AW(SetupFindNextMatchLine)
BOOL
WINAPI
SetupGetLineTextA
(
const
INFCONTEXT
*
,
HINF
,
PCSTR
,
PCSTR
,
PSTR
,
DWORD
,
DWORD
*
);
BOOL
WINAPI
SetupGetLineTextA
(
PINFCONTEXT
context
,
HINF
hinf
,
PCSTR
section_name
,
PCSTR
key_name
,
PSTR
buffer
,
DWORD
size
,
PDWORD
required
);
BOOL
WINAPI
SetupGetLineTextW
(
const
INFCONTEXT
*
,
HINF
,
PCWSTR
,
PCWSTR
,
PWSTR
,
DWORD
,
DWORD
*
);
BOOL
WINAPI
SetupGetLineTextW
(
PINFCONTEXT
context
,
HINF
hinf
,
PCWSTR
section_name
,
PCWSTR
key_name
,
PWSTR
buffer
,
DWORD
size
,
PDWORD
required
);
#define SetupGetLineText WINELIB_NAME_AW(SetupGetLineText)
#define SetupGetLineText WINELIB_NAME_AW(SetupGetLineText)
DWORD
WINAPI
SetupGetFieldCount
(
const
INFCONTEXT
*
);
DWORD
WINAPI
SetupGetFieldCount
(
PINFCONTEXT
context
);
BOOL
WINAPI
SetupGetIntField
(
const
INFCONTEXT
*
,
DWORD
,
INT
*
);
BOOL
WINAPI
SetupGetIntField
(
PINFCONTEXT
context
,
DWORD
index
,
PINT
result
);
BOOL
WINAPI
SetupGetStringFieldA
(
const
INFCONTEXT
*
,
DWORD
,
PSTR
,
DWORD
,
DWORD
*
);
BOOL
WINAPI
SetupGetStringFieldA
(
PINFCONTEXT
context
,
DWORD
index
,
PSTR
buffer
,
DWORD
size
,
PDWORD
required
);
BOOL
WINAPI
SetupGetStringFieldW
(
const
INFCONTEXT
*
,
DWORD
,
PWSTR
,
DWORD
,
DWORD
*
);
BOOL
WINAPI
SetupGetStringFieldW
(
PINFCONTEXT
context
,
DWORD
index
,
PWSTR
buffer
,
DWORD
size
,
PDWORD
required
);
#define SetupGetStringField WINELIB_NAME_AW(SetupGetStringField)
#define SetupGetStringField WINELIB_NAME_AW(SetupGetStringField)
BOOL
WINAPI
SetupGetBinaryField
(
const
INFCONTEXT
*
,
DWORD
,
BYTE
*
,
DWORD
,
DWORD
*
);
BOOL
WINAPI
SetupGetBinaryField
(
PINFCONTEXT
context
,
DWORD
index
,
BYTE
*
buffer
,
DWORD
size
,
LPDWORD
required
);
BOOL
WINAPI
SetupGetMultiSzFieldA
(
const
INFCONTEXT
*
,
DWORD
,
PSTR
,
DWORD
,
DWORD
*
);
BOOL
WINAPI
SetupGetMultiSzFieldA
(
PINFCONTEXT
context
,
DWORD
index
,
PSTR
buffer
,
DWORD
size
,
LPDWORD
required
);
BOOL
WINAPI
SetupGetMultiSzFieldW
(
const
INFCONTEXT
*
,
DWORD
,
PWSTR
,
DWORD
,
DWORD
*
);
BOOL
WINAPI
SetupGetMultiSzFieldW
(
PINFCONTEXT
context
,
DWORD
index
,
PWSTR
buffer
,
DWORD
size
,
LPDWORD
required
);
#define SetupGetMultiSzField WINELIB_NAME_AW(SetupGetMultiSzField)
#define SetupGetMultiSzField WINELIB_NAME_AW(SetupGetMultiSzField)
BOOL
WINAPI
SetupSetDirectoryIdA
(
HINF
,
DWORD
,
PCSTR
);
BOOL
WINAPI
SetupSetDirectoryIdA
(
HINF
,
DWORD
,
PCSTR
);
BOOL
WINAPI
SetupSetDirectoryIdW
(
HINF
,
DWORD
,
PCWSTR
);
BOOL
WINAPI
SetupSetDirectoryIdW
(
HINF
,
DWORD
,
PCWSTR
);
...
...
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