mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
97 lines
1019 B
97 lines
1019 B
/*++
|
|
|
|
Copyright (c) 1994 Microsoft Corporation
|
|
All rights reserved.
|
|
|
|
Module Name:
|
|
|
|
CLink.hxx
|
|
|
|
Abstract:
|
|
|
|
C linkage support for DEBUG support only.
|
|
|
|
Author:
|
|
|
|
Albert Ting (AlbertT) 10-Oct-95
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
HANDLE
|
|
DbgAllocBackTrace(
|
|
VOID
|
|
);
|
|
|
|
HANDLE
|
|
DbgAllocBackTraceMem(
|
|
VOID
|
|
);
|
|
|
|
HANDLE
|
|
DbgAllocBackTraceFile(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
DbgFreeBackTrace(
|
|
HANDLE hBackTrace
|
|
);
|
|
|
|
VOID
|
|
DbgCaptureBackTrace(
|
|
HANDLE hBackTrace,
|
|
ULONG_PTR Info1,
|
|
ULONG_PTR Info2,
|
|
ULONG_PTR Info3
|
|
);
|
|
|
|
HANDLE
|
|
DbgAllocCritSec(
|
|
VOID
|
|
);
|
|
|
|
VOID
|
|
DbgFreeCritSec(
|
|
HANDLE hCritSec
|
|
);
|
|
|
|
BOOL
|
|
DbgInsideCritSec(
|
|
HANDLE hCritSec
|
|
);
|
|
|
|
BOOL
|
|
DbgOutsideCritSec(
|
|
HANDLE hCritSec
|
|
);
|
|
|
|
VOID
|
|
DbgEnterCritSec(
|
|
HANDLE hCritSec
|
|
);
|
|
|
|
VOID
|
|
DbgLeaveCritSec(
|
|
HANDLE hCritSec
|
|
);
|
|
|
|
VOID
|
|
DbgSetAllocFail(
|
|
BOOL bEnable,
|
|
LONG cAllocFail
|
|
);
|
|
|
|
PVOID
|
|
DbgGetPointers(
|
|
VOID
|
|
);
|
|
|
|
#ifdef __cplusplus
|
|
} // extern "C"
|
|
#endif
|