Module: wine Branch: master Commit: cf811f718422456264645e757f1f1981ab229d26 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cf811f718422456264645e757f...
Author: Austin English austinenglish@gmail.com Date: Mon Dec 8 17:36:19 2014 -0800
mfplat: Add stub dll.
---
configure | 2 + configure.ac | 1 + dlls/mfplat/Makefile.in | 4 ++ dlls/mfplat/main.c | 38 ++++++++++++ dlls/mfplat/mfplat.spec | 156 ++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 201 insertions(+)
diff --git a/configure b/configure index e679696..49919c1 100755 --- a/configure +++ b/configure @@ -1096,6 +1096,7 @@ enable_mcicda enable_mciqtz32 enable_mciseq enable_mciwave +enable_mfplat enable_mgmtapi enable_midimap enable_mlang @@ -17177,6 +17178,7 @@ wine_fn_config_dll mcicda enable_mcicda wine_fn_config_dll mciqtz32 enable_mciqtz32 wine_fn_config_dll mciseq enable_mciseq wine_fn_config_dll mciwave enable_mciwave +wine_fn_config_dll mfplat enable_mfplat wine_fn_config_dll mgmtapi enable_mgmtapi wine_fn_config_dll midimap enable_midimap wine_fn_config_dll mlang enable_mlang clean,implib diff --git a/configure.ac b/configure.ac index 6f4e719..dfd4393 100644 --- a/configure.ac +++ b/configure.ac @@ -3005,6 +3005,7 @@ WINE_CONFIG_DLL(mcicda) WINE_CONFIG_DLL(mciqtz32) WINE_CONFIG_DLL(mciseq) WINE_CONFIG_DLL(mciwave) +WINE_CONFIG_DLL(mfplat) WINE_CONFIG_DLL(mgmtapi) WINE_CONFIG_DLL(midimap) WINE_CONFIG_DLL(mlang,,[clean,implib]) diff --git a/dlls/mfplat/Makefile.in b/dlls/mfplat/Makefile.in new file mode 100644 index 0000000..2b5bd24 --- /dev/null +++ b/dlls/mfplat/Makefile.in @@ -0,0 +1,4 @@ +MODULE = mfplat.dll + +C_SRCS = \ + main.c diff --git a/dlls/mfplat/main.c b/dlls/mfplat/main.c new file mode 100644 index 0000000..a72f634 --- /dev/null +++ b/dlls/mfplat/main.c @@ -0,0 +1,38 @@ +/* + * + * Copyright 2014 Austin English + * + * 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" + +BOOL WINAPI DllMain(HINSTANCE instance, DWORD reason, LPVOID reserved) +{ + switch (reason) + { + case DLL_WINE_PREATTACH: + return FALSE; /* prefer native version */ + case DLL_PROCESS_ATTACH: + DisableThreadLibraryCalls(instance); + break; + } + + return TRUE; +} diff --git a/dlls/mfplat/mfplat.spec b/dlls/mfplat/mfplat.spec new file mode 100644 index 0000000..98a7147 --- /dev/null +++ b/dlls/mfplat/mfplat.spec @@ -0,0 +1,156 @@ +@ stub FormatTagFromWfx +@ stub MFCreateGuid +@ stub MFGetIoPortHandle +@ stub MFGetPlatformVersion +@ stub MFGetRandomNumber +@ stub MFIsFeatureEnabled +@ stub MFIsQueueThread +@ stub MFPlatformBigEndian +@ stub MFPlatformLittleEndian +@ stub ValidateWaveFormat +@ stub CopyPropVariant +@ stub CreatePropVariant +@ stub CreatePropertyStore +@ stub DestroyPropVariant +@ stub GetAMSubtypeFromD3DFormat +@ stub GetD3DFormatFromMFSubtype +@ stub LFGetGlobalPool +@ stub MFAddPeriodicCallback +@ stub MFAllocateWorkQueue +@ stub MFAllocateWorkQueueEx +@ stub MFAppendCollection +@ stub MFAverageTimePerFrameToFrameRate +@ stub MFBeginCreateFile +@ stub MFBeginGetHostByName +@ stub MFBeginRegisterWorkQueueWithMMCSS +@ stub MFBeginUnregisterWorkQueueWithMMCSS +@ stub MFBlockThread +@ stub MFCalculateBitmapImageSize +@ stub MFCalculateImageSize +@ stub MFCancelCreateFile +@ stub MFCancelWorkItem +@ stub MFCompareFullToPartialMediaType +@ stub MFCompareSockaddrAddresses +@ stub MFConvertColorInfoFromDXVA +@ stub MFConvertColorInfoToDXVA +@ stub MFConvertFromFP16Array +@ stub MFConvertToFP16Array +@ stub MFCopyImage +@ stub MFCreateAMMediaTypeFromMFMediaType +@ stub MFCreateAlignedMemoryBuffer +@ stub MFCreateAsyncResult +@ stub MFCreateAttributes +@ stub MFCreateAudioMediaType +@ stub MFCreateCollection +@ stub MFCreateEventQueue +@ stub MFCreateFile +@ stub MFCreateLegacyMediaBufferOnMFMediaBuffer +@ stub MFCreateMFByteStreamOnStream +@ stub MFCreateMFVideoFormatFromMFMediaType +@ stub MFCreateMediaBufferWrapper +@ stub MFCreateMediaEvent +@ stub MFCreateMediaType +@ stub MFCreateMediaTypeFromRepresentation +@ stub MFCreateMemoryBuffer +@ stub MFCreateMemoryStream +@ stub MFCreatePathFromURL +@ stub MFCreatePresentationDescriptor +@ stub MFCreateSample +@ stub MFCreateSocket +@ stub MFCreateSocketListener +@ stub MFCreateSourceResolver +@ stub MFCreateStreamDescriptor +@ stub MFCreateSystemTimeSource +@ stub MFCreateSystemUnderlyingClock +@ stub MFCreateTempFile +@ stub MFCreateTransformActivate +@ stub MFCreateURLFromPath +@ stub MFCreateUdpSockets +@ stub MFCreateVideoMediaType +@ stub MFCreateVideoMediaTypeFromBitMapInfoHeader +@ stub MFCreateVideoMediaTypeFromBitMapInfoHeaderEx +@ stub MFCreateVideoMediaTypeFromSubtype +@ stub MFCreateVideoMediaTypeFromVideoInfoHeader2 +@ stub MFCreateVideoMediaTypeFromVideoInfoHeader +@ stub MFCreateWaveFormatExFromMFMediaType +@ stub MFDeserializeAttributesFromStream +@ stub MFDeserializeEvent +@ stub MFDeserializeMediaTypeFromStream +@ stub MFDeserializePresentationDescriptor +@ stub MFEndCreateFile +@ stub MFEndGetHostByName +@ stub MFEndRegisterWorkQueueWithMMCSS +@ stub MFEndUnregisterWorkQueueWithMMCSS +@ stub MFFrameRateToAverageTimePerFrame +@ stub MFFreeAdaptersAddresses +@ stub MFGetAdaptersAddresses +@ stub MFGetAttributesAsBlob +@ stub MFGetAttributesAsBlobSize +@ stub MFGetConfigurationDWORD +@ stub MFGetConfigurationPolicy +@ stub MFGetConfigurationStore +@ stub MFGetConfigurationString +@ stub MFGetMFTMerit +@ stub MFGetNumericNameFromSockaddr +@ stub MFGetPlaneSize +@ stub MFGetPlatform +@ stub MFGetPluginControl +@ stub MFGetPrivateWorkqueues +@ stub MFGetSockaddrFromNumericName +@ stub MFGetStrideForBitmapInfoHeader +@ stub MFGetSystemTime +@ stub MFGetTimerPeriodicity +@ stub MFGetUncompressedVideoFormat +@ stub MFGetWorkQueueMMCSSClass +@ stub MFGetWorkQueueMMCSSTaskId +@ stub MFHeapAlloc +@ stub MFHeapFree +@ stub MFInitAMMediaTypeFromMFMediaType +@ stub MFInitAttributesFromBlob +@ stub MFInitMediaTypeFromAMMediaType +@ stub MFInitMediaTypeFromMFVideoFormat +@ stub MFInitMediaTypeFromMPEG1VideoInfo +@ stub MFInitMediaTypeFromMPEG2VideoInfo +@ stub MFInitMediaTypeFromVideoInfoHeader2 +@ stub MFInitMediaTypeFromVideoInfoHeader +@ stub MFInitMediaTypeFromWaveFormatEx +@ stub MFInitVideoFormat +@ stub MFInitVideoFormat_RGB +@ stub MFInvokeCallback +@ stub MFJoinIoPort +@ stub MFLockPlatform +@ stub MFLockWorkQueue +@ stub MFPutWorkItem +@ stub MFPutWorkItemEx +@ stub MFRecordError +@ stub MFRemovePeriodicCallback +@ stub MFScheduleWorkItem +@ stub MFScheduleWorkItemEx +@ stub MFSerializeAttributesToStream +@ stub MFSerializeEvent +@ stub MFSerializeMediaTypeToStream +@ stub MFSerializePresentationDescriptor +@ stub MFSetSockaddrAny +@ stub MFShutdown +@ stub MFStartup +@ stub MFStreamDescriptorProtectMediaType +@ stub MFTEnum +@ stub MFTEnumEx +@ stub MFTGetInfo +@ stub MFTRegister +@ stub MFTRegisterLocal +@ stub MFTRegisterLocalByCLSID +@ stub MFTUnregister +@ stub MFTUnregisterLocal +@ stub MFTUnregisterLocalByCLSID +@ stub MFTraceError +@ stub MFTraceFuncEnter +@ stub MFUnblockThread +@ stub MFUnlockPlatform +@ stub MFUnlockWorkQueue +@ stub MFUnwrapMediaType +@ stub MFValidateMediaTypeSize +@ stub MFWrapMediaType +@ stub MFllMulDiv +@ stub PropVariantFromStream +@ stub PropVariantToStream