Commit 4ecb8b7e authored by Michael Müller's avatar Michael Müller Committed by Alexandre Julliard

virtdisk: Add GetStorageDependencyInformation stub.

parent 3f53876c
......@@ -8,7 +8,7 @@
@ stub EnumerateVirtualDiskMetadata
@ stub ExpandVirtualDisk
@ stub GetAllAttachedVirtualDiskPhysicalPaths
@ stub GetStorageDependencyInformation
@ stdcall GetStorageDependencyInformation(long long long ptr ptr)
@ stub GetVirtualDiskInformation
@ stub GetVirtualDiskMetadata
@ stub GetVirtualDiskOperationProgress
......
......@@ -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;
}
......@@ -20,8 +20,6 @@
#ifndef __WINE_VIRTDISK_DLL_H
#define __WINE_VIRTDISK_DLL_H
#include <windows.h>
#ifdef __cplusplus
extern "C" {
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment