#include <vsgcapture.h>
VsgDbg::VsgDbg |
( |
bool |
bDefaultInit | ) |
|
|
inline |
35 #ifndef DONT_SAVE_VSGLOG_TO_TEMP
37 #if WINAPI_FAMILY == 2
38 Init([=] (
int len,
wchar_t * pszBuffer) {
40 const wchar_t * tempPath = Platform::String::Concat(Platform::String::Concat(Windows::Storage::ApplicationData::Current->TemporaryFolder->Path, L
"\\"),
VSG_DEFAULT_RUN_FILENAME)->Data();
44 Init([=] (
int len,
wchar_t * pszBuffer) {
46 wchar_t tempDir[MAX_PATH];
47 wchar_t filePath[MAX_PATH];
49 if(GetTempPath(MAX_PATH, tempDir) == 0)
61 Init([=] (
int len,
wchar_t * pszBuffer) {
void Init(std::function< void(int len, wchar_t *pszBuffer)> vsgLogGetter)
Definition: vsgcapture.h:73
_CRTIMP_ALTERNATIVE int __cdecl swprintf_s(_Out_writes_z_(_SizeInWords) wchar_t *_Dst, _In_ size_t _SizeInWords, _In_z_ _Printf_format_string_ const wchar_t *_Format,...)
_Check_return_wat_ _CRTIMP_ALTERNATIVE errno_t __cdecl wcscpy_s(_Out_writes_z_(_SizeInWords) wchar_t *_Dst, _In_ rsize_t _SizeInWords, _In_z_ const wchar_t *_Src)
#define VSG_DEFAULT_RUN_FILENAME
Definition: vsgcapture.h:14
void UnInit()
Definition: vsgcapture.h:79
void __stdcall VsgDbgAddHUDMessage(_In_z_ wchar_t const *szMessage)
void VsgDbg::BeginCapture |
( |
| ) |
|
|
inline |
void __stdcall VsgDbgBeginCapture()
void VsgDbg::CaptureCurrentFrame |
( |
| ) |
|
|
inline |
void __stdcall VsgDbgCaptureCurrentFrame()
void __stdcall VsgDbgCopy(_In_z_ wchar_t const *szNewVSGLog)
void VsgDbg::EndCapture |
( |
| ) |
|
|
inline |
void __stdcall VsgDbgEndCapture()
void __stdcall VsgDbgInitDelayed(std::function< void(int len, wchar_t *pszBuffer)>)
void VsgDbg::ToggleHUD |
( |
| ) |
|
|
inline |
void __stdcall VsgDbgToggleHUD()
void __stdcall VsgDbgUnInit()
The documentation for this class was generated from the following file: