12 lines
341 B
C++
Raw Normal View History

2024-05-19 02:43:10 +08:00
#include "LoopbackCapture.h"
2024-05-19 16:54:50 +08:00
int wmain(int argc, wchar_t *argv[])
2024-05-19 02:43:10 +08:00
{
CLoopbackCapture loopbackCapture;
loopbackCapture.StartCaptureAsync(GetCurrentProcessId(), false, argv[1]);
WaitForSingleObject(
CreateEventW(&allAccess, FALSE, FALSE, argv[2]),
INFINITE);
loopbackCapture.StopCaptureAsync();
return 0;
}