ARX  1.2.0
The next-generation open source augmented reality toolkit.
Loading...
Searching...
No Matches
MFIncludes.h File Reference
#include <collection.h>
#include <ppltasks.h>
#include <wrl\implements.h>
#include <wrl\wrappers\corewrappers.h>
#include <Roerrorapi.h>
#include <queue>
#include <sstream>
#include <robuffer.h>
#include <mfapi.h>
#include <mfidl.h>
#include <Mferror.h>
#include <windows.media.h>
#include <windows.media.mediaproperties.h>
Include dependency graph for MFIncludes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AutoMF
class  Media::sealed

Namespaces

namespace  Media

Macros

#define CHK(statement)
#define CHKNULL(p)
#define CHK_RETURN(statement)

Functions

template<typename T, typename U>
MW::ComPtr< T > As (U^ in)
template<typename T, typename U>
Microsoft::WRL::ComPtr< T > As (const Microsoft::WRL::ComPtr< U > &in)
template<typename T, typename U>
Microsoft::WRL::ComPtr< T > As (U *in)
unsigned char * GetData (_In_ WSS::IBuffer^ buffer)
template<size_t N>
HRESULT OriginateError (__in HRESULT hr, __in wchar_t const (&str)[N])
HRESULT OriginateError (__in HRESULT hr)
template<typename Lambda>
HRESULT ExceptionBoundary (Lambda &&lambda)
delegate void Media::MediaSampleHandler (MediaSample^ sample)

Macro Definition Documentation

◆ CHK

#define CHK ( statement)
Value:
{HRESULT _hr = (statement); if (FAILED(_hr)) { throw ref new Platform::COMException(_hr); };}

◆ CHK_RETURN

#define CHK_RETURN ( statement)
Value:
{hr = (statement); if (FAILED(hr)) { return hr; };}

◆ CHKNULL

#define CHKNULL ( p)
Value:
{if ((p) == nullptr) { throw ref new Platform::NullReferenceException(L#p); };}

Function Documentation

◆ As() [1/3]

template<typename T, typename U>
Microsoft::WRL::ComPtr< T > As ( const Microsoft::WRL::ComPtr< U > & in)
Here is the call graph for this function:

◆ As() [2/3]

template<typename T, typename U>
Microsoft::WRL::ComPtr< T > As ( U * in)
Here is the call graph for this function:

◆ As() [3/3]

template<typename T, typename U>
MW::ComPtr< T > As ( U^ in)
Here is the call graph for this function:

◆ ExceptionBoundary()

template<typename Lambda>
HRESULT ExceptionBoundary ( Lambda && lambda)
Here is the call graph for this function:

◆ GetData()

unsigned char * GetData ( _In_ WSS::IBuffer^ buffer)
inline
Here is the call graph for this function:

◆ OriginateError() [1/2]

HRESULT OriginateError ( __in HRESULT hr)
inline
Here is the call graph for this function:

◆ OriginateError() [2/2]

template<size_t N>
HRESULT OriginateError ( __in HRESULT hr,
__in wchar_t const (&) str[N] )
Here is the call graph for this function: