FFmpeg
Loading...
Searching...
No Matches
Win32Callback< Ret, Args > Struct Template Reference

#include <vsrc_gfxcapture_winrt.hpp>

Static Public Member Functions

static Ret CALLBACK thunk (Args... args, LPARAM lparam)
 

Data Fields

std::function< Ret(Args...)> fn
 
decltype(&Win32Callback::thunkproc = &Win32Callback::thunk
 
LPARAM lparam = 0
 

Detailed Description

template<typename Ret, typename... Args>
struct Win32Callback< Ret, Args >

Definition at line 171 of file vsrc_gfxcapture_winrt.hpp.

Member Function Documentation

◆ thunk()

template<typename Ret, typename... Args>
static Ret CALLBACK Win32Callback< Ret, Args >::thunk ( Args... args,
LPARAM lparam )
inlinestatic

Definition at line 173 of file vsrc_gfxcapture_winrt.hpp.

Field Documentation

◆ fn

template<typename Ret, typename... Args>
std::function<Ret(Args...)> Win32Callback< Ret, Args >::fn

Definition at line 172 of file vsrc_gfxcapture_winrt.hpp.

Referenced by thunk().

◆ proc

template<typename Ret, typename... Args>
decltype(&Win32Callback::thunk) Win32Callback< Ret, Args >::proc = &Win32Callback::thunk

Definition at line 177 of file vsrc_gfxcapture_winrt.hpp.

◆ lparam

template<typename Ret, typename... Args>
LPARAM Win32Callback< Ret, Args >::lparam = 0

Definition at line 178 of file vsrc_gfxcapture_winrt.hpp.

Referenced by make_win32_callback(), and thunk().


The documentation for this struct was generated from the following file: