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
0909f2e0
Commit
0909f2e0
authored
May 16, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
May 16, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Moved device-related stubs from psapi to kernel32.
parent
b050eba3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
75 additions
and
73 deletions
+75
-73
file.c
dlls/kernel32/file.c
+65
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+5
-0
psapi.spec
dlls/psapi/psapi.spec
+5
-5
psapi_main.c
dlls/psapi/psapi_main.c
+0
-68
No files found.
dlls/kernel32/file.c
View file @
0909f2e0
...
...
@@ -2536,3 +2536,68 @@ error: /* We get here if there was an error opening the file */
WARN
(
"(%s): return = HFILE_ERROR error= %d
\n
"
,
name
,
ofs
->
nErrCode
);
return
HFILE_ERROR
;
}
/***********************************************************************
* K32EnumDeviceDrivers (KERNEL32.@)
*/
BOOL
WINAPI
K32EnumDeviceDrivers
(
void
**
image_base
,
DWORD
cb
,
DWORD
*
needed
)
{
FIXME
(
"(%p, %d, %p): stub
\n
"
,
image_base
,
cb
,
needed
);
if
(
needed
)
*
needed
=
0
;
return
TRUE
;
}
/***********************************************************************
* K32GetDeviceDriverBaseNameA (KERNEL32.@)
*/
DWORD
WINAPI
K32GetDeviceDriverBaseNameA
(
void
*
image_base
,
LPSTR
base_name
,
DWORD
size
)
{
FIXME
(
"(%p, %p, %d): stub
\n
"
,
image_base
,
base_name
,
size
);
if
(
base_name
&&
size
)
base_name
[
0
]
=
'\0'
;
return
0
;
}
/***********************************************************************
* K32GetDeviceDriverBaseNameW (KERNEL32.@)
*/
DWORD
WINAPI
K32GetDeviceDriverBaseNameW
(
void
*
image_base
,
LPWSTR
base_name
,
DWORD
size
)
{
FIXME
(
"(%p, %p, %d): stub
\n
"
,
image_base
,
base_name
,
size
);
if
(
base_name
&&
size
)
base_name
[
0
]
=
'\0'
;
return
0
;
}
/***********************************************************************
* K32GetDeviceDriverFileNameA (KERNEL32.@)
*/
DWORD
WINAPI
K32GetDeviceDriverFileNameA
(
void
*
image_base
,
LPSTR
file_name
,
DWORD
size
)
{
FIXME
(
"(%p, %p, %d): stub
\n
"
,
image_base
,
file_name
,
size
);
if
(
file_name
&&
size
)
file_name
[
0
]
=
'\0'
;
return
0
;
}
/***********************************************************************
* K32GetDeviceDriverFileNameW (KERNEL32.@)
*/
DWORD
WINAPI
K32GetDeviceDriverFileNameW
(
void
*
image_base
,
LPWSTR
file_name
,
DWORD
size
)
{
FIXME
(
"(%p, %p, %d): stub
\n
"
,
image_base
,
file_name
,
size
);
if
(
file_name
&&
size
)
file_name
[
0
]
=
'\0'
;
return
0
;
}
dlls/kernel32/kernel32.spec
View file @
0909f2e0
...
...
@@ -770,8 +770,13 @@
@ stdcall K32EmptyWorkingSet(long)
@ stdcall K32GetProcessImageFileNameA(long ptr long)
@ stdcall K32GetProcessImageFileNameW(long ptr long)
@ stdcall K32EnumDeviceDrivers(ptr long ptr)
@ stdcall K32EnumProcessModules(long ptr long ptr)
@ stdcall K32EnumProcesses(ptr long ptr)
@ stdcall K32GetDeviceDriverBaseNameA(ptr ptr long)
@ stdcall K32GetDeviceDriverBaseNameW(ptr ptr long)
@ stdcall K32GetDeviceDriverFileNameA(ptr ptr long)
@ stdcall K32GetDeviceDriverFileNameW(ptr ptr long)
@ stdcall K32GetMappedFileNameA(long ptr ptr long)
@ stdcall K32GetMappedFileNameW(long ptr ptr long)
@ stdcall K32GetModuleBaseNameA(long long ptr long)
...
...
dlls/psapi/psapi.spec
View file @
0909f2e0
@ stdcall EmptyWorkingSet(long) kernel32.K32EmptyWorkingSet
@ stdcall EnumDeviceDrivers(ptr long ptr)
@ stdcall EnumDeviceDrivers(ptr long ptr)
kernel32.K32EnumDeviceDrivers
@ stdcall EnumPageFilesA(ptr ptr)
@ stdcall EnumPageFilesW(ptr ptr)
@ stdcall EnumProcessModules(long ptr long ptr) kernel32.K32EnumProcessModules
@ stdcall EnumProcesses(ptr long ptr) kernel32.K32EnumProcesses
@ stdcall GetDeviceDriverBaseNameA(ptr ptr long)
@ stdcall GetDeviceDriverBaseNameW(ptr ptr long)
@ stdcall GetDeviceDriverFileNameA(ptr ptr long)
@ stdcall GetDeviceDriverFileNameW(ptr ptr long)
@ stdcall GetDeviceDriverBaseNameA(ptr ptr long)
kernel32.K32GetDeviceDriverBaseNameA
@ stdcall GetDeviceDriverBaseNameW(ptr ptr long)
kernel32.K32GetDeviceDriverBaseNameW
@ stdcall GetDeviceDriverFileNameA(ptr ptr long)
kernel32.K32GetDeviceDriverFileNameA
@ stdcall GetDeviceDriverFileNameW(ptr ptr long)
kernel32.K32GetDeviceDriverFileNameW
@ stdcall GetMappedFileNameA(long ptr ptr long) kernel32.K32GetMappedFileNameA
@ stdcall GetMappedFileNameW(long ptr ptr long) kernel32.K32GetMappedFileNameW
@ stdcall GetModuleBaseNameA(long long ptr long) kernel32.K32GetModuleBaseNameA
...
...
dlls/psapi/psapi_main.c
View file @
0909f2e0
...
...
@@ -35,19 +35,6 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
psapi
);
/***********************************************************************
* EnumDeviceDrivers (PSAPI.@)
*/
BOOL
WINAPI
EnumDeviceDrivers
(
LPVOID
*
lpImageBase
,
DWORD
cb
,
LPDWORD
lpcbNeeded
)
{
FIXME
(
"(%p, %d, %p): stub
\n
"
,
lpImageBase
,
cb
,
lpcbNeeded
);
if
(
lpcbNeeded
)
*
lpcbNeeded
=
0
;
return
TRUE
;
}
/***********************************************************************
* EnumPageFilesA (PSAPI.@)
*/
BOOL
WINAPI
EnumPageFilesA
(
PENUM_PAGE_FILE_CALLBACKA
callback
,
LPVOID
context
)
...
...
@@ -65,61 +52,6 @@ BOOL WINAPI EnumPageFilesW( PENUM_PAGE_FILE_CALLBACKW callback, LPVOID context )
return
FALSE
;
}
/***********************************************************************
* GetDeviceDriverBaseNameA (PSAPI.@)
*/
DWORD
WINAPI
GetDeviceDriverBaseNameA
(
LPVOID
ImageBase
,
LPSTR
lpBaseName
,
DWORD
nSize
)
{
FIXME
(
"(%p, %p, %d): stub
\n
"
,
ImageBase
,
lpBaseName
,
nSize
);
if
(
lpBaseName
&&
nSize
)
lpBaseName
[
0
]
=
'\0'
;
return
0
;
}
/***********************************************************************
* GetDeviceDriverBaseNameW (PSAPI.@)
*/
DWORD
WINAPI
GetDeviceDriverBaseNameW
(
LPVOID
ImageBase
,
LPWSTR
lpBaseName
,
DWORD
nSize
)
{
FIXME
(
"(%p, %p, %d): stub
\n
"
,
ImageBase
,
lpBaseName
,
nSize
);
if
(
lpBaseName
&&
nSize
)
lpBaseName
[
0
]
=
'\0'
;
return
0
;
}
/***********************************************************************
* GetDeviceDriverFileNameA (PSAPI.@)
*/
DWORD
WINAPI
GetDeviceDriverFileNameA
(
LPVOID
ImageBase
,
LPSTR
lpFilename
,
DWORD
nSize
)
{
FIXME
(
"(%p, %p, %d): stub
\n
"
,
ImageBase
,
lpFilename
,
nSize
);
if
(
lpFilename
&&
nSize
)
lpFilename
[
0
]
=
'\0'
;
return
0
;
}
/***********************************************************************
* GetDeviceDriverFileNameW (PSAPI.@)
*/
DWORD
WINAPI
GetDeviceDriverFileNameW
(
LPVOID
ImageBase
,
LPWSTR
lpFilename
,
DWORD
nSize
)
{
FIXME
(
"(%p, %p, %d): stub
\n
"
,
ImageBase
,
lpFilename
,
nSize
);
if
(
lpFilename
&&
nSize
)
lpFilename
[
0
]
=
'\0'
;
return
0
;
}
/***********************************************************************
* GetPerformanceInfo (PSAPI.@)
...
...
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