Provide TraceSetInformation() definition for cygwin.

This commit is contained in:
Bartosz Taudul 2020-02-22 16:03:07 +01:00
parent 13febeb902
commit 3b0ed5337b

View File

@ -85,6 +85,10 @@ struct StackWalkEvent
uint64_t stack[192];
};
#ifdef __CYGWIN__
extern "C" ULONG WMIAPI TraceSetInformation(TRACEHANDLE SessionHandle, TRACE_INFO_CLASS InformationClass, PVOID TraceInformation, ULONG InformationLength);
#endif
void WINAPI EventRecordCallback( PEVENT_RECORD record )
{
#ifdef TRACY_ON_DEMAND