mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
12 lines
341 B
C++
12 lines
341 B
C++
|
|
#include "LoopbackCapture.h"
|
|
int wmain(int argc, wchar_t *argv[])
|
|
{
|
|
CLoopbackCapture loopbackCapture;
|
|
loopbackCapture.StartCaptureAsync(GetCurrentProcessId(), false, argv[1]);
|
|
WaitForSingleObject(
|
|
CreateEventW(&allAccess, FALSE, FALSE, argv[2]),
|
|
INFINITE);
|
|
loopbackCapture.StopCaptureAsync();
|
|
return 0;
|
|
} |