ReactOS 0.4.15-dev-8219-ge8b88cf
smrosdbg.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS SM Helper Library
3 * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4 * PURPOSE: ReactOS-specific SM Debug Utility Function:
5 * Querying subsystem information.
6 * COPYRIGHT: Copyright 2005 Emanuele Aliberti <ea@reactos.com>
7 * Copyright 2022 Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
8 */
9
10#ifndef _SMROSDBG_H_
11#define _SMROSDBG_H_
12
13#pragma once
14
15/* Note: this is not in NT */
16/* Ask SM to send back some data */
17#define SM_API_QUERY_INFORMATION SmpMaxApiNumber
18
19#define SM_QRYINFO_MAX_SS_COUNT 8
20#define SM_QRYINFO_MAX_ROOT_NODE 30
21
22typedef enum {
26
28{
31 struct
32 {
38
40{
46
47typedef struct _SM_QUERYINFO_MSG
48{
51 union
52 {
55 };
57
58#endif // _SMROSDBG_H_
unsigned short USHORT
Definition: pedump.c:61
struct _SM_SUBSYSTEM_INFORMATION * PSM_SUBSYSTEM_INFORMATION
struct _SM_BASIC_INFORMATION SM_BASIC_INFORMATION
struct _SM_QUERYINFO_MSG * PSM_QUERYINFO_MSG
struct _SM_SUBSYSTEM_INFORMATION SM_SUBSYSTEM_INFORMATION
SM_INFORMATION_CLASS
Definition: smrosdbg.h:22
@ SmBasicInformation
Definition: smrosdbg.h:23
@ SmSubSystemInformation
Definition: smrosdbg.h:24
struct _SM_QUERYINFO_MSG SM_QUERYINFO_MSG
struct _SM_BASIC_INFORMATION * PSM_BASIC_INFORMATION
#define SM_QRYINFO_MAX_ROOT_NODE
Definition: smrosdbg.h:20
#define SM_QRYINFO_MAX_SS_COUNT
Definition: smrosdbg.h:19
struct _SM_BASIC_INFORMATION::@3548 SubSystem[SM_QRYINFO_MAX_SS_COUNT]
SM_INFORMATION_CLASS SmInformationClass
Definition: smrosdbg.h:49
SM_SUBSYSTEM_INFORMATION SubSystemInformation
Definition: smrosdbg.h:54
SM_BASIC_INFORMATION BasicInformation
Definition: smrosdbg.h:53
ULONG DataLength
Definition: smrosdbg.h:50
WCHAR NameSpaceRootNode[SM_QRYINFO_MAX_ROOT_NODE]
Definition: smrosdbg.h:44
uint32_t ULONG
Definition: typedefs.h:59
__wchar_t WCHAR
Definition: xmlstorage.h:180