ReactOS  0.4.15-dev-3326-ga91f5e8
wdfstring.h
Go to the documentation of this file.
1 /*++
2 
3 Copyright (c) Microsoft Corporation. All rights reserved.
4 
5 _WdfVersionBuild_
6 
7 Module Name:
8 
9  WdfString.h
10 
11 Abstract:
12 
13  This is the DDI for string handles.
14 
15 Environment:
16 
17  kernel mode only
18 
19 Revision History:
20 
21 --*/
22 
23 //
24 // NOTE: This header is generated by stubwork. Please make any
25 // modifications to the corresponding template files
26 // (.x or .y) and use stubwork to regenerate the header
27 //
28 
29 #ifndef _WDFSTRING_H_
30 #define _WDFSTRING_H_
31 
32 #ifndef WDF_EXTERN_C
33  #ifdef __cplusplus
34  #define WDF_EXTERN_C extern "C"
35  #define WDF_EXTERN_C_START extern "C" {
36  #define WDF_EXTERN_C_END }
37  #else
38  #define WDF_EXTERN_C
39  #define WDF_EXTERN_C_START
40  #define WDF_EXTERN_C_END
41  #endif
42 #endif
43 
45 
46 
47 
48 #if (NTDDI_VERSION >= NTDDI_WIN2K)
49 
50 
51 
52 //
53 // WDF Function: WdfStringCreate
54 //
55 typedef
58 WDFAPI
60 (STDCALL *PFN_WDFSTRINGCREATE)(
61  _In_
63  _In_opt_
65  _In_opt_
67  _Out_
68  WDFSTRING* String
69  );
70 
75 WdfStringCreate(
76  _In_opt_
78  _In_opt_
80  _Out_
81  WDFSTRING* String
82  )
83 {
85 }
86 
87 //
88 // WDF Function: WdfStringGetUnicodeString
89 //
90 typedef
92 WDFAPI
93 VOID
94 (STDCALL *PFN_WDFSTRINGGETUNICODESTRING)(
95  _In_
97  _In_
98  WDFSTRING String,
99  _Out_
101  );
102 
105 VOID
106 WdfStringGetUnicodeString(
107  _In_
108  WDFSTRING String,
109  _Out_
111  )
112 {
114 }
115 
116 
117 
118 #endif // (NTDDI_VERSION >= NTDDI_WIN2K)
119 
120 
122 
123 #endif // _WDFSTRING_H_
124 
#define _In_opt_
Definition: ms_sal.h:309
#define _Out_
Definition: ms_sal.h:345
#define WDF_EXTERN_C_START
Definition: wdfstring.h:39
LONG NTSTATUS
Definition: precomp.h:26
#define WDF_EXTERN_C_END
Definition: wdfstring.h:40
DriverGlobals
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_opt_ PCUNICODE_STRING UnicodeString
Definition: wdfstring.h:64
#define WdfFunctions
Definition: wdf.h:66
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2430
#define WDFAPI
Definition: wdftypes.h:53
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_opt_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES _Out_ WDFSTRING * String
Definition: wdfstring.h:64
#define _In_
Definition: ms_sal.h:308
WDF_EXTERN_C_START typedef _Must_inspect_result_ _IRQL_requires_max_(PASSIVE_LEVEL) WDFAPI NTSTATUS(STDCALL *PFN_WDFSTRINGCREATE)(_In_ PWDF_DRIVER_GLOBALS DriverGlobals
Queries information details about a security descriptor.
Definition: Messaging.c:64
PWDF_DRIVER_GLOBALS WdfDriverGlobals
#define STDCALL
Definition: wdf.h:45
#define NTSTATUS
Definition: precomp.h:20
#define VOID
Definition: acefi.h:82
#define PASSIVE_LEVEL
Definition: env_spec_w32.h:693
#define _Must_inspect_result_
Definition: ms_sal.h:558
#define FORCEINLINE
Definition: wdftypes.h:67
WDF_EXTERN_C_START typedef _Must_inspect_result_ _In_opt_ PCUNICODE_STRING _In_opt_ PWDF_OBJECT_ATTRIBUTES StringAttributes
Definition: wdfstring.h:64