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.
64 lines
1.2 KiB
64 lines
1.2 KiB
/*++
|
|
|
|
Copyright (c) 1990 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
dav2kd.h
|
|
|
|
Abstract:
|
|
|
|
Redirector Kernel Debugger extension
|
|
|
|
Author:
|
|
|
|
Balan Sethu Raman (SethuR) 11-May-1994
|
|
|
|
Revision History:
|
|
|
|
11-Nov-1994 SethuR Created
|
|
|
|
--*/
|
|
|
|
#ifndef _DAV2KD_H_
|
|
#define _DAV2KD_H_
|
|
|
|
typedef enum _FOLLOWON_HELPER_RETURNS {
|
|
FOLLOWONHELPER_CALLTHRU,
|
|
FOLLOWONHELPER_DUMP,
|
|
FOLLOWONHELPER_ERROR,
|
|
FOLLOWONHELPER_DONE
|
|
} FOLLOWON_HELPER_RETURNS;
|
|
|
|
typedef struct _PERSISTENT_RDR2KD_INFO {
|
|
DWORD OpenCount;
|
|
ULONG_PTR LastAddressDumped[100];
|
|
ULONG IdOfLastDump;
|
|
ULONG IndexOfLastDump;
|
|
BYTE StructDumpBuffer[2048];
|
|
} PERSISTENT_RDR2KD_INFO, *PPERSISTENT_RDR2KD_INFO;
|
|
|
|
PPERSISTENT_RDR2KD_INFO LocatePersistentInfoFromView ();
|
|
VOID
|
|
FreePersistentInfoView (
|
|
PPERSISTENT_RDR2KD_INFO p
|
|
);
|
|
|
|
|
|
typedef
|
|
FOLLOWON_HELPER_RETURNS
|
|
(NTAPI *PFOLLOWON_HELPER_ROUTINE) (
|
|
IN OUT PPERSISTENT_RDR2KD_INFO p,
|
|
OUT PBYTE Name,
|
|
OUT PBYTE Buffer2
|
|
);
|
|
|
|
#define DECLARE_FOLLOWON_HELPER_CALLEE(s) \
|
|
FOLLOWON_HELPER_RETURNS s ( \
|
|
IN OUT PPERSISTENT_RDR2KD_INFO p, \
|
|
OUT PBYTE Name, \
|
|
OUT PBYTE Buffer2 \
|
|
)
|
|
|
|
#endif // _DAV2KD_H_
|
|
|