mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-11-30 13:26:10 +08:00
headers: Add the returns_twice attribute on the RtlCaptureContext function
This allows the compiler to generate correct code to resume execution when returning to this point later. Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
parent
940e8faa94
commit
e98e24be8c
@ -8763,7 +8763,7 @@ DEFINE_ENUM_FLAG_OPERATORS(JOB_OBJECT_IO_RATE_CONTROL_FLAGS)
|
||||
NTSYSAPI WORD NTAPI RtlCaptureStackBackTrace (DWORD FramesToSkip, DWORD FramesToCapture, PVOID *BackTrace, PDWORD BackTraceHash);
|
||||
#endif
|
||||
#if WINAPI_FAMILY_PARTITION (WINAPI_PARTITION_DESKTOP)
|
||||
NTSYSAPI VOID NTAPI RtlCaptureContext (PCONTEXT ContextRecord);
|
||||
NTSYSAPI VOID NTAPI __attribute__((__returns_twice__)) RtlCaptureContext (PCONTEXT ContextRecord);
|
||||
NTSYSAPI SIZE_T NTAPI RtlCompareMemory (const VOID *Source1, const VOID *Source2, SIZE_T Length);
|
||||
#if defined (__x86_64__)
|
||||
#if _WIN32_WINNT >= 0x0602
|
||||
|
Loading…
Reference in New Issue
Block a user