xref: /reactos/sdk/lib/udmihelp/udmihelp.h (revision 9cfd8dd9)
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
11 extern "C" {
12 #endif
13 
14 #include <../dmilib/dmilib.h>
15 
16 PVOID
17 LoadSMBiosData(
18     _Inout_updates_(ID_STRINGS_MAX) PCHAR * Strings);
19 
20 VOID
21 TrimDmiStringW(
22     _Inout_ PWSTR pStr);
23 
24 SIZE_T
25 GetSMBiosStringW(
26     _In_ PCSTR DmiString,
27     _Out_ PWSTR pBuf,
28     _In_ DWORD cchBuf,
29     _In_ BOOL bTrim);
30 
31 VOID
32 FreeSMBiosData(
33     _In_ PVOID Buffer);
34 
35 #ifdef __cplusplus
36 } // extern "C"
37 #endif
38