Process Hacker
Main Page
Namespaces
Data Structures
Files
File List
Globals
winmisc.h
Go to the documentation of this file.
1
#ifndef _WINMISC_H
2
#define _WINMISC_H
3
4
// Subprocess tag information
5
6
typedef
enum
_TAG_INFO_LEVEL
7
{
8
eTagInfoLevelNameFromTag
= 1,
// TAG_INFO_NAME_FROM_TAG
9
eTagInfoLevelNamesReferencingModule
,
// TAG_INFO_NAMES_REFERENCING_MODULE
10
eTagInfoLevelNameTagMapping
,
// TAG_INFO_NAME_TAG_MAPPING
11
eTagInfoLevelMax
12
}
TAG_INFO_LEVEL
;
13
14
typedef
enum
_TAG_TYPE
15
{
16
eTagTypeService
= 1,
17
eTagTypeMax
18
}
TAG_TYPE
;
19
20
typedef
struct
_TAG_INFO_NAME_FROM_TAG_IN_PARAMS
21
{
22
DWORD
dwPid
;
23
DWORD
dwTag
;
24
}
TAG_INFO_NAME_FROM_TAG_IN_PARAMS
, *
PTAG_INFO_NAME_FROM_TAG_IN_PARAMS
;
25
26
typedef
struct
_TAG_INFO_NAME_FROM_TAG_OUT_PARAMS
27
{
28
DWORD
eTagType
;
29
LPWSTR
pszName
;
30
}
TAG_INFO_NAME_FROM_TAG_OUT_PARAMS
, *
PTAG_INFO_NAME_FROM_TAG_OUT_PARAMS
;
31
32
typedef
struct
_TAG_INFO_NAME_FROM_TAG
33
{
34
TAG_INFO_NAME_FROM_TAG_IN_PARAMS
InParams
;
35
TAG_INFO_NAME_FROM_TAG_OUT_PARAMS
OutParams
;
36
}
TAG_INFO_NAME_FROM_TAG
, *
PTAG_INFO_NAME_FROM_TAG
;
37
38
typedef
struct
_TAG_INFO_NAMES_REFERENCING_MODULE_IN_PARAMS
39
{
40
DWORD
dwPid
;
41
LPWSTR
pszModule
;
42
}
TAG_INFO_NAMES_REFERENCING_MODULE_IN_PARAMS
, *
PTAG_INFO_NAMES_REFERENCING_MODULE_IN_PARAMS
;
43
44
typedef
struct
_TAG_INFO_NAMES_REFERENCING_MODULE_OUT_PARAMS
45
{
46
DWORD
eTagType
;
47
LPWSTR
pmszNames
;
48
}
TAG_INFO_NAMES_REFERENCING_MODULE_OUT_PARAMS
, *
PTAG_INFO_NAMES_REFERENCING_MODULE_OUT_PARAMS
;
49
50
typedef
struct
_TAG_INFO_NAMES_REFERENCING_MODULE
51
{
52
TAG_INFO_NAMES_REFERENCING_MODULE_IN_PARAMS
InParams
;
53
TAG_INFO_NAMES_REFERENCING_MODULE_OUT_PARAMS
OutParams
;
54
}
TAG_INFO_NAMES_REFERENCING_MODULE
, *
PTAG_INFO_NAMES_REFERENCING_MODULE
;
55
56
typedef
struct
_TAG_INFO_NAME_TAG_MAPPING_IN_PARAMS
57
{
58
DWORD
dwPid
;
59
}
TAG_INFO_NAME_TAG_MAPPING_IN_PARAMS
, *
PTAG_INFO_NAME_TAG_MAPPING_IN_PARAMS
;
60
61
typedef
struct
_TAG_INFO_NAME_TAG_MAPPING_ELEMENT
62
{
63
DWORD
eTagType
;
64
DWORD
dwTag
;
65
LPWSTR
pszName
;
66
LPWSTR
pszGroupName
;
67
}
TAG_INFO_NAME_TAG_MAPPING_ELEMENT
, *
PTAG_INFO_NAME_TAG_MAPPING_ELEMENT
;
68
69
typedef
struct
_TAG_INFO_NAME_TAG_MAPPING_OUT_PARAMS
70
{
71
DWORD
cElements
;
72
PTAG_INFO_NAME_TAG_MAPPING_ELEMENT
pNameTagMappingElements
;
73
}
TAG_INFO_NAME_TAG_MAPPING_OUT_PARAMS
, *
PTAG_INFO_NAME_TAG_MAPPING_OUT_PARAMS
;
74
75
typedef
struct
_TAG_INFO_NAME_TAG_MAPPING
76
{
77
TAG_INFO_NAME_TAG_MAPPING_IN_PARAMS
InParams
;
78
PTAG_INFO_NAME_TAG_MAPPING_OUT_PARAMS
pOutParams
;
79
}
TAG_INFO_NAME_TAG_MAPPING
, *
PTAG_INFO_NAME_TAG_MAPPING
;
80
81
_Must_inspect_result_
82
DWORD
83
WINAPI
84
I_QueryTagInformation
(
85
_In_opt_ LPCWSTR pszMachineName,
86
_In_
TAG_INFO_LEVEL
eInfoLevel,
87
_Inout_ PVOID pTagInfo
88
);
89
90
typedef
DWORD (WINAPI *
PQUERY_TAG_INFORMATION
)(
91
_In_opt_ LPCWSTR pszMachineName,
92
_In_
TAG_INFO_LEVEL
eInfoLevel,
93
_Inout_ PVOID pTagInfo
94
);
95
96
#endif
phlib
include
winmisc.h
Generated by
1.8.2