FFmpeg
Data Structures | Namespaces | Macros | Typedefs | Functions | Variables
vsrc_gfxcapture_winrt.hpp File Reference
#include "config.h"
#include <windows.h>
#include <initguid.h>
#include <wrl.h>
#include <roapi.h>
#include <windows.foundation.h>
#include <atomic>
#include <functional>
#include <memory>

Go to the source code of this file.

Data Structures

struct  FFComObject< Interfaces >
 
struct  FFTypedCBHandler< Iface, F, Args >
 
struct  Win32Callback< Ret, Args >
 
struct  HMODULEDeleter
 
struct  HANDLEDeleter
 

Namespaces

 Windows
 
 Windows::Graphics
 
 Windows::Graphics::DirectX
 
 Windows::Graphics::DirectX::Direct3D11
 
 ABI
 
 ABI::Windows
 
 ABI::Windows ::Graphics
 
 ABI::Windows ::Graphics::Capture
 

Macros

#define _WIN32_WINNT   0x0A00
 
#define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION   0x130000
 
#define ____FIReference_1_boolean_INTERFACE_DEFINED__
 
#define make_win32_callback(...)   make_win32_callback(std::function(__VA_ARGS__))
 
#define HLSL(shader)   #shader
 

Typedefs

typedef std::unique_ptr< HMODULE, HMODULEDeleterhmodule_ptr_t
 
typedef std::unique_ptr< HANDLE, HANDLEDeleterhandle_ptr_t
 

Functions

IFACEMETHOD() ABI::Windows ::Graphics::Capture::put_MinUpdateInterval (ABI::Windows::Foundation::TimeSpan value)=0
 
template<class Iface , typename... Args, typename F >
static Microsoft::WRL::ComPtr< Iface > create_cb_handler (F &&cb_func)
 
template<typename Ret , typename... Args>
auto make_win32_callback (const std::function< Ret(Args...)> &&fn)
 

Variables

IDirect3DDxgiInterfaceAccess Windows::Graphics::DirectX::Direct3D11::__pad0__
 
IDirect3DDxgiInterfaceAccess _COM_Outptr_ void ** Windows::Graphics::DirectX::Direct3D11::p = 0
 
IGraphicsCaptureSession5 ABI::Windows ::Graphics::Capture::__pad0__
 

Macro Definition Documentation

◆ _WIN32_WINNT

#define _WIN32_WINNT   0x0A00

Definition at line 28 of file vsrc_gfxcapture_winrt.hpp.

◆ WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION

#define WINDOWS_FOUNDATION_UNIVERSALAPICONTRACT_VERSION   0x130000

Definition at line 31 of file vsrc_gfxcapture_winrt.hpp.

◆ ____FIReference_1_boolean_INTERFACE_DEFINED__

#define ____FIReference_1_boolean_INTERFACE_DEFINED__

Definition at line 34 of file vsrc_gfxcapture_winrt.hpp.

◆ make_win32_callback

#define make_win32_callback (   ...)    make_win32_callback(std::function(__VA_ARGS__))

Definition at line 188 of file vsrc_gfxcapture_winrt.hpp.

◆ HLSL

#define HLSL (   shader)    #shader

Definition at line 211 of file vsrc_gfxcapture_winrt.hpp.

Typedef Documentation

◆ hmodule_ptr_t

typedef std::unique_ptr<HMODULE, HMODULEDeleter> hmodule_ptr_t

Definition at line 200 of file vsrc_gfxcapture_winrt.hpp.

◆ handle_ptr_t

typedef std::unique_ptr<HANDLE, HANDLEDeleter> handle_ptr_t

Definition at line 209 of file vsrc_gfxcapture_winrt.hpp.

Function Documentation

◆ create_cb_handler()

template<class Iface , typename... Args, typename F >
static Microsoft::WRL::ComPtr<Iface> create_cb_handler ( F &&  cb_func)
static

Definition at line 160 of file vsrc_gfxcapture_winrt.hpp.

Referenced by wgc_setup_gfxcapture_session().

◆ make_win32_callback()

template<typename Ret , typename... Args>
auto make_win32_callback ( const std::function< Ret(Args...)> &&  fn)

Definition at line 182 of file vsrc_gfxcapture_winrt.hpp.

Referenced by find_capture_source().