ReactOS 0.4.15-dev-8191-gbc6c731
fxautostring.hpp
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft Corporation
4
5Module Name:
6
7 FxAutoString.hpp
8
9Abstract:
10
11 This is the C++ header for FxAutoString which represents a UNICODE_STRING
12 and follows the RAII (resource acquisiion is initialization) pattern where
13 it frees the buffer when the struct goes out of scope.
14
15Author:
16
17
18
19Revision History:
20
21
22
23--*/
24
25#ifndef _FXAUTOSTRING_H_
26#define _FXAUTOSTRING_H_
27
30 VOID
31 )
32 {
34 }
35
37 VOID
38 )
39 {
41#if _WDFLDR_
43#else
45#endif
47 }
48 }
49
51};
52
53#endif // _FXAUTOSTRING_H_
#define NULL
Definition: types.h:112
#define ExFreePool(addr)
Definition: env_spec_w32.h:352
void FxPoolFree(__in_xcount(ptr is at an offset from AllocationStart) PVOID ptr)
Definition: wdfpool.cpp:361
UNICODE_STRING m_UnicodeString
~FxAutoString(VOID)
FxAutoString(VOID)
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262