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
4ecb8b7e
Commit
4ecb8b7e
authored
Sep 13, 2018
by
Michael Müller
Committed by
Alexandre Julliard
Sep 13, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
virtdisk: Add GetStorageDependencyInformation stub.
Signed-off-by:
Gijs Vermeulen
<
gijsvrm@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3f53876c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
3 deletions
+22
-3
virtdisk.spec
dlls/virtdisk/virtdisk.spec
+1
-1
virtdisk_main.c
dlls/virtdisk/virtdisk_main.c
+21
-0
virtdisk.h
include/virtdisk.h
+0
-2
No files found.
dlls/virtdisk/virtdisk.spec
View file @
4ecb8b7e
...
...
@@ -8,7 +8,7 @@
@ stub EnumerateVirtualDiskMetadata
@ stub ExpandVirtualDisk
@ stub GetAllAttachedVirtualDiskPhysicalPaths
@ st
ub GetStorageDependencyInformation
@ st
dcall GetStorageDependencyInformation(long long long ptr ptr)
@ stub GetVirtualDiskInformation
@ stub GetVirtualDiskMetadata
@ stub GetVirtualDiskOperationProgress
...
...
dlls/virtdisk/virtdisk_main.c
View file @
4ecb8b7e
...
...
@@ -22,6 +22,8 @@
#include "windef.h"
#include "winbase.h"
#include "virtdisk.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
virtdisk
);
...
...
@@ -44,3 +46,22 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, void *reserved)
return
TRUE
;
}
DWORD
WINAPI
GetStorageDependencyInformation
(
HANDLE
obj
,
GET_STORAGE_DEPENDENCY_FLAG
flags
,
ULONG
size
,
STORAGE_DEPENDENCY_INFO
*
info
,
ULONG
*
used
)
{
ULONG
temp_size
=
sizeof
(
STORAGE_DEPENDENCY_INFO
);
FIXME
(
"(%p, 0x%x, %u, %p, %p): stub
\n
"
,
obj
,
flags
,
size
,
info
,
used
);
if
(
used
)
*
used
=
temp_size
;
if
(
!
info
||
!
size
)
return
ERROR_INVALID_PARAMETER
;
if
(
size
<
temp_size
)
return
ERROR_INSUFFICIENT_BUFFER
;
info
->
NumberEntries
=
0
;
return
ERROR_SUCCESS
;
}
include/virtdisk.h
View file @
4ecb8b7e
...
...
@@ -20,8 +20,6 @@
#ifndef __WINE_VIRTDISK_DLL_H
#define __WINE_VIRTDISK_DLL_H
#include <windows.h>
#ifdef __cplusplus
extern
"C"
{
#endif
...
...
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