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