virtdisk: Add stub dll.

Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Louis Lenders 2017-02-02 20:41:20 +01:00 committed by Alexandre Julliard
parent 94a214b2bb
commit e0d4b6896a
5 changed files with 74 additions and 0 deletions

2
configure vendored
View File

@ -1439,6 +1439,7 @@ enable_vcomp90
enable_vcruntime140
enable_vdmdbg
enable_version
enable_virtdisk
enable_vssapi
enable_wbemdisp
enable_wbemprox
@ -18365,6 +18366,7 @@ wine_fn_config_dll vdmdbg enable_vdmdbg implib
wine_fn_config_dll ver.dll16 enable_win16
wine_fn_config_dll version enable_version implib
wine_fn_config_test dlls/version/tests version_test
wine_fn_config_dll virtdisk enable_virtdisk
wine_fn_config_dll vmm.vxd enable_win16
wine_fn_config_dll vnbt.vxd enable_win16
wine_fn_config_dll vnetbios.vxd enable_win16

View File

@ -3423,6 +3423,7 @@ WINE_CONFIG_DLL(vdmdbg,,[implib])
WINE_CONFIG_DLL(ver.dll16,enable_win16)
WINE_CONFIG_DLL(version,,[implib])
WINE_CONFIG_TEST(dlls/version/tests)
WINE_CONFIG_DLL(virtdisk)
WINE_CONFIG_DLL(vmm.vxd,enable_win16)
WINE_CONFIG_DLL(vnbt.vxd,enable_win16)
WINE_CONFIG_DLL(vnetbios.vxd,enable_win16)

View File

@ -0,0 +1,4 @@
MODULE = virtdisk.dll
C_SRCS = \
virtdisk_main.c

View File

@ -0,0 +1,21 @@
@ stub AddVirtualDiskParent
@ stub AttachVirtualDisk
@ stub BreakMirrorVirtualDisk
@ stub CompactVirtualDisk
@ stub CreateVirtualDisk
@ stub DeleteVirtualDiskMetadata
@ stub DetachVirtualDisk
@ stub EnumerateVirtualDiskMetadata
@ stub ExpandVirtualDisk
@ stub GetAllAttachedVirtualDiskPhysicalPaths
@ stub GetStorageDependencyInformation
@ stub GetVirtualDiskInformation
@ stub GetVirtualDiskMetadata
@ stub GetVirtualDiskOperationProgress
@ stub GetVirtualDiskPhysicalPath
@ stub MergeVirtualDisk
@ stub MirrorVirtualDisk
@ stub OpenVirtualDisk
@ stub ResizeVirtualDisk
@ stub SetVirtualDiskInformation
@ stub SetVirtualDiskMetadata

View File

@ -0,0 +1,46 @@
/*
* Copyright 2017 Louis Lenders
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(virtdisk);
/*****************************************************
* DllMain (VIRTDISK.@)
*/
BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, void *reserved)
{
TRACE("(%p, %d, %p)\n", hinst, reason, reserved);
switch (reason)
{
case DLL_WINE_PREATTACH:
return FALSE; /* prefer native version */
case DLL_PROCESS_ATTACH:
DisableThreadLibraryCalls(hinst);
break;
}
return TRUE;
}