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