[CRT] spawn: define a unicode environment when needed
[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 #pragma once
9
10 PVOID
11 LoadSMBiosData(
12 _Inout_updates_(ID_STRINGS_MAX) PCHAR * Strings);
13
14 VOID
15 TrimDmiStringW(
16 _Inout_ PWSTR pStr);
17
18 SIZE_T
19 GetSMBiosStringW(
20 _In_ PCSTR DmiString,
21 _Out_ PWSTR pBuf,
22 _In_ DWORD cchBuf,
23 _In_ BOOL bTrim);
24
25 VOID
26 FreeSMBiosData(
27 _In_ PVOID Buffer);