Process Hacker
Main Page
Namespaces
Data Structures
Files
File List
Globals
memsrch.h
Go to the documentation of this file.
1
#ifndef PH_MEMSRCH_H
2
#define PH_MEMSRCH_H
3
4
typedef
struct
_PH_MEMORY_RESULT
5
{
6
LONG
RefCount
;
7
PVOID
Address
;
8
SIZE_T
Length
;
9
PH_STRINGREF
Display
;
10
}
PH_MEMORY_RESULT
, *
PPH_MEMORY_RESULT
;
11
12
typedef
VOID
(NTAPI *
PPH_MEMORY_RESULT_CALLBACK
)(
13
_In_
_Assume_refs_
(1) PPH_MEMORY_RESULT Result,
14
_In_opt_ PVOID Context
15
);
16
17
#define PH_DISPLAY_BUFFER_COUNT (PAGE_SIZE * 2 - 1)
18
19
typedef
struct
_PH_MEMORY_SEARCH_OPTIONS
20
{
21
BOOLEAN
Cancel
;
22
PPH_MEMORY_RESULT_CALLBACK
Callback
;
23
PVOID
Context
;
24
}
PH_MEMORY_SEARCH_OPTIONS
, *
PPH_MEMORY_SEARCH_OPTIONS
;
25
26
typedef
struct
_PH_MEMORY_STRING_OPTIONS
27
{
28
PH_MEMORY_SEARCH_OPTIONS
Header
;
29
30
ULONG
MinimumLength
;
31
BOOLEAN
DetectUnicode
;
32
ULONG
MemoryTypeMask
;
33
}
PH_MEMORY_STRING_OPTIONS
, *
PPH_MEMORY_STRING_OPTIONS
;
34
35
PVOID
PhAllocateForMemorySearch
(
36
_In_ SIZE_T
Size
37
);
38
39
VOID
PhFreeForMemorySearch
(
40
_In_ _Post_invalid_ PVOID Memory
41
);
42
43
PVOID
PhCreateMemoryResult
(
44
_In_ PVOID Address,
45
_In_ SIZE_T Length
46
);
47
48
VOID
PhReferenceMemoryResult
(
49
_In_ PPH_MEMORY_RESULT Result
50
);
51
52
VOID
PhDereferenceMemoryResult
(
53
_In_ PPH_MEMORY_RESULT Result
54
);
55
56
VOID
PhDereferenceMemoryResults
(
57
_In_reads_(NumberOfResults) PPH_MEMORY_RESULT *Results,
58
_In_ ULONG NumberOfResults
59
);
60
61
#endif
ProcessHacker
include
memsrch.h
Generated by
1.8.2