UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
WmfPrivate.h File Reference
#include "Logging/LogMacros.h"
#include "CoreMinimal.h"
#include "Windows/AllowWindowsPlatformTypes.h"
#include <mftransform.h>
#include <mfapi.h>
#include <mferror.h>
#include <mfidl.h>
#include <mfreadwrite.h>
#include <Codecapi.h>
#include <shlwapi.h>
#include "Windows/HideWindowsPlatformTypes.h"

Go to the source code of this file.

Macros

#define WMFMEDIA_SUPPORTED_PLATFORM   (PLATFORM_WINDOWS && !UE_SERVER)
 
#define CHECK_HR(COM_call)
 
#define CHECK_HR_COM(COM_call)
 
#define CHECK_HR_VOID(COM_call)
 
#define CHECK_HR_DEFAULT(COM_call)
 

Functions

 DECLARE_LOG_CATEGORY_EXTERN (WMF, Log, VeryVerbose)
 
THIRD_PARTY_INCLUDES_START THIRD_PARTY_INCLUDES_END const FString GetComErrorDescription (HRESULT Res)
 

Macro Definition Documentation

◆ CHECK_HR

#define CHECK_HR (   COM_call)
Value:
{\
{\
UE_LOG(WMF, Error, TEXT("`" #COM_call "` failed: 0x%X - %s"), Res, *GetComErrorDescription(Res));\
return false;\
}\
}
#define TEXT(x)
Definition Platform.h:1272
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
THIRD_PARTY_INCLUDES_START THIRD_PARTY_INCLUDES_END const FString GetComErrorDescription(HRESULT Res)
Definition WmfPrivate.h:24

◆ CHECK_HR_COM

#define CHECK_HR_COM (   COM_call)
Value:
{\
{\
UE_LOG(WMF, Error, TEXT("`" #COM_call "` failed: 0x%X - %s"), Res, *GetComErrorDescription(Res));\
return Res;\
}\
}

◆ CHECK_HR_DEFAULT

#define CHECK_HR_DEFAULT (   COM_call)
Value:
{\
{\
UE_LOG(WMF, Error, TEXT("`" #COM_call "` failed: 0x%X - %s"), Res, *GetComErrorDescription(Res));\
return {};\
}\
}

◆ CHECK_HR_VOID

#define CHECK_HR_VOID (   COM_call)
Value:
{\
{\
UE_LOG(WMF, Error, TEXT("`" #COM_call "` failed: 0x%X - %s"), Res, *GetComErrorDescription(Res));\
return;\
}\
}

◆ WMFMEDIA_SUPPORTED_PLATFORM

#define WMFMEDIA_SUPPORTED_PLATFORM   (PLATFORM_WINDOWS && !UE_SERVER)

Function Documentation

◆ DECLARE_LOG_CATEGORY_EXTERN()

DECLARE_LOG_CATEGORY_EXTERN ( WMF  ,
Log  ,
VeryVerbose   
)

◆ GetComErrorDescription()

THIRD_PARTY_INCLUDES_START THIRD_PARTY_INCLUDES_END const FString GetComErrorDescription ( HRESULT  Res)
inline