ReactOS 0.4.15-dev-7842-g558ab78
udmihelp.h
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS User-mode DMI/SMBIOS Helper Functions
3 * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4 * PURPOSE: SMBIOS table parsing functions
5 * COPYRIGHT: Copyright 2018 Stanislav Motylkov
6 */
7
8#pragma once
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14#include <../dmilib/dmilib.h>
15
19
20VOID
22 _Inout_ PWSTR pStr);
23
26 _In_ PCSTR DmiString,
27 _Out_ PWSTR pBuf,
28 _In_ DWORD cchBuf,
29 _In_ BOOL bTrim);
30
31VOID
34
35#ifdef __cplusplus
36} // extern "C"
37#endif
Definition: bufpool.h:45
static const WCHAR Strings[]
Definition: reg.c:35
@ ID_STRINGS_MAX
Definition: dmilib.h:28
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define _Inout_
Definition: ms_sal.h:378
#define _Inout_updates_(size)
Definition: ms_sal.h:387
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
uint16_t * PWSTR
Definition: typedefs.h:56
ULONG_PTR SIZE_T
Definition: typedefs.h:80
const char * PCSTR
Definition: typedefs.h:52
char * PCHAR
Definition: typedefs.h:51
SIZE_T GetSMBiosStringW(_In_ PCSTR DmiString, _Out_ PWSTR pBuf, _In_ DWORD cchBuf, _In_ BOOL bTrim)
Definition: udmihelp.c:145
PVOID LoadSMBiosData(_Inout_updates_(ID_STRINGS_MAX) PCHAR *Strings)
Definition: udmihelp.c:30
VOID FreeSMBiosData(_In_ PVOID Buffer)
Definition: udmihelp.c:177
VOID TrimDmiStringW(_Inout_ PWSTR pStr)
Definition: udmihelp.c:110