mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 10:12:00 +00:00
[SDK] Add user-mode DMI/SMBIOS helper library
CORE-5961
This commit is contained in:
parent
22e86add33
commit
4259aab7b0
5 changed files with 226 additions and 0 deletions
27
sdk/lib/udmihelp/udmihelp.h
Normal file
27
sdk/lib/udmihelp/udmihelp.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* PROJECT: ReactOS User-mode DMI/SMBIOS Helper Functions
|
||||
* LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
|
||||
* PURPOSE: SMBIOS table parsing functions
|
||||
* COPYRIGHT: Copyright 2018 Stanislav Motylkov
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
PVOID
|
||||
LoadSMBiosData(
|
||||
_Inout_updates_(ID_STRINGS_MAX) PCHAR * Strings);
|
||||
|
||||
VOID
|
||||
TrimDmiStringW(
|
||||
_Inout_ PWSTR pStr);
|
||||
|
||||
SIZE_T
|
||||
GetSMBiosStringW(
|
||||
_In_ PCSTR DmiString,
|
||||
_Out_ PWSTR pBuf,
|
||||
_In_ DWORD cchBuf,
|
||||
_In_ BOOL bTrim);
|
||||
|
||||
VOID
|
||||
FreeSMBiosData(
|
||||
_In_ PVOID Buffer);
|
Loading…
Add table
Add a link
Reference in a new issue