ReactOS  0.4.13-dev-249-gcba1a2f
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 #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
20 
21 VOID
23  _Inout_ PWSTR pStr);
24 
25 SIZE_T
27  _In_ PCSTR DmiString,
28  _Out_ PWSTR pBuf,
29  _In_ DWORD cchBuf,
30  _In_ BOOL bTrim);
31 
32 VOID
34  _In_ PVOID Buffer);
35 
36 #ifdef __cplusplus
37 } // extern "C"
38 #endif
39 
40 #endif /* UDMIHELP_H */
signed char * PCHAR
Definition: retypes.h:7
uint16_t * PWSTR
Definition: typedefs.h:54
PVOID LoadSMBiosData(_Inout_updates_(ID_STRINGS_MAX) PCHAR *Strings)
Definition: udmihelp.c:30
unsigned int BOOL
Definition: ntddk_ex.h:94
VOID TrimDmiStringW(_Inout_ PWSTR pStr)
Definition: udmihelp.c:110
#define _Out_
Definition: no_sal2.h:323
Definition: bufpool.h:45
SIZE_T GetSMBiosStringW(_In_ PCSTR DmiString, _Out_ PWSTR pBuf, _In_ DWORD cchBuf, _In_ BOOL bTrim)
Definition: udmihelp.c:145
VOID FreeSMBiosData(_In_ PVOID Buffer)
Definition: udmihelp.c:177
unsigned long DWORD
Definition: ntddk_ex.h:95
#define _Inout_
Definition: no_sal2.h:244
static const WCHAR Strings[]
Definition: reg.c:35
#define _In_
Definition: no_sal2.h:204
ULONG_PTR SIZE_T
Definition: typedefs.h:78
_In_ ULONG _In_ ULONG _Inout_updates_(8 *8) ULONG *pul)
Definition: winddi.h:3522
const char * PCSTR
Definition: typedefs.h:51