ReactOS 0.4.15-dev-8100-g1887773
wdfinstaller.h
Go to the documentation of this file.
1/*++
2
3Copyright (c) Microsoft Corporation. All rights reserved.
4
5_WdfVersionBuild_
6
7Module Name:
8
9 WdfInstaller.h
10
11Abstract:
12
13 Contains prototypes for the WDF installer support.
14
15Author:
16
17Environment:
18
19 kernel mode only
20
21Revision History:
22
23--*/
24
25//
26// NOTE: This header is generated by stubwork. Please make any
27// modifications to the corresponding template files
28// (.x or .y) and use stubwork to regenerate the header
29//
30
31#ifndef _WDFINSTALLER_H_
32#define _WDFINSTALLER_H_
33
34#ifndef WDF_EXTERN_C
35 #ifdef __cplusplus
36 #define WDF_EXTERN_C extern "C"
37 #define WDF_EXTERN_C_START extern "C" {
38 #define WDF_EXTERN_C_END }
39 #else
40 #define WDF_EXTERN_C
41 #define WDF_EXTERN_C_START
42 #define WDF_EXTERN_C_END
43 #endif
44#endif
45
47
48
49
50#if (NTDDI_VERSION >= NTDDI_WIN2K)
51
52
53
58
60VOID
63 )
64{
65 RtlZeroMemory(ClientOptions, sizeof(WDF_COINSTALLER_INSTALL_OPTIONS));
66
67 ClientOptions->Size = sizeof(WDF_COINSTALLER_INSTALL_OPTIONS);
68}
69
70
71//----------------------------------------------------------------------------
72// To be called before (your) WDF driver is installed.
73//----------------------------------------------------------------------------
77 _In_ LPCWSTR InfPath,
78 _In_opt_ LPCWSTR InfSectionName
79 );
80
81typedef
84 _In_ LPCWSTR InfPath,
85 _In_opt_ LPCWSTR InfSectionName
86 );
87
91 _In_ LPCWSTR InfPath,
92 _In_opt_ LPCWSTR InfSectionName,
94 );
95
96typedef
99 _In_ LPCWSTR InfPath,
100 _In_opt_ LPCWSTR InfSectionName,
102 );
103
104//----------------------------------------------------------------------------
105// To be called after (your) WDF driver is installed.
106//----------------------------------------------------------------------------
107ULONG
108WINAPI
110 _In_ LPCWSTR InfPath,
111 _In_opt_ LPCWSTR InfSectionName
112 );
113
114typedef
117 _In_ LPCWSTR InfPath,
118 _In_opt_ LPCWSTR InfSectionName
119 );
120
121//----------------------------------------------------------------------------
122// To be called before (your) WDF driver is removed.
123//----------------------------------------------------------------------------
124ULONG
125WINAPI
127 _In_ LPCWSTR InfPath,
128 _In_opt_ LPCWSTR InfSectionName
129
130 );
131
132typedef
135 _In_ LPCWSTR InfPath,
136 _In_opt_ LPCWSTR InfSectionName
137 );
138
139//----------------------------------------------------------------------------
140// To be called after (your) WDF driver is removed.
141//----------------------------------------------------------------------------
142ULONG
143WINAPI
145 _In_ LPCWSTR InfPath,
146 _In_opt_ LPCWSTR InfSectionName
147 );
148
149typedef
152 _In_ LPCWSTR InfPath,
153 _In_opt_ LPCWSTR InfSectionName
154
155 );
156
157
158
159#endif // (NTDDI_VERSION >= NTDDI_WIN2K)
160
161
163
164#endif // _WDFINSTALLER_H_
165
unsigned int BOOL
Definition: ntddk_ex.h:94
#define _Out_
Definition: ms_sal.h:345
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
#define RtlZeroMemory(Destination, Length)
Definition: typedefs.h:262
uint32_t ULONG
Definition: typedefs.h:59
ULONG WINAPI WdfPreDeviceInstallEx(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName, _In_ PWDF_COINSTALLER_INSTALL_OPTIONS ClientOptions)
#define WDF_EXTERN_C_END
Definition: wdfinstaller.h:42
ULONG WINAPI WdfPostDeviceInstall(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
ULONG WINAPI WdfPreDeviceInstall(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
#define WDF_EXTERN_C_START
Definition: wdfinstaller.h:41
ULONG WINAPI WdfPreDeviceRemove(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
WDF_EXTERN_C_START struct _WDF_COINSTALLER_INSTALL_OPTIONS WDF_COINSTALLER_INSTALL_OPTIONS
ULONG(WINAPI * PFN_WDFPREDEVICEINSTALLEX)(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName, _In_ PWDF_COINSTALLER_INSTALL_OPTIONS ClientOptions)
Definition: wdfinstaller.h:98
ULONG(WINAPI * PFN_WDFPOSTDEVICEREMOVE)(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
Definition: wdfinstaller.h:151
WDF_EXTERN_C_START struct _WDF_COINSTALLER_INSTALL_OPTIONS * PWDF_COINSTALLER_INSTALL_OPTIONS
ULONG(WINAPI * PFN_WDFPREDEVICEREMOVE)(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
Definition: wdfinstaller.h:134
FORCEINLINE VOID WDF_COINSTALLER_INSTALL_OPTIONS_INIT(_Out_ PWDF_COINSTALLER_INSTALL_OPTIONS ClientOptions)
Definition: wdfinstaller.h:61
ULONG(WINAPI * PFN_WDFPOSTDEVICEINSTALL)(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
Definition: wdfinstaller.h:116
ULONG(WINAPI * PFN_WDFPREDEVICEINSTALL)(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
Definition: wdfinstaller.h:83
ULONG WINAPI WdfPostDeviceRemove(_In_ LPCWSTR InfPath, _In_opt_ LPCWSTR InfSectionName)
#define FORCEINLINE
Definition: wdftypes.h:67
#define WINAPI
Definition: msvc.h:6
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185