UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wdfdevice.WDF_FILEOBJECT_CONFIG_INIT |
WDF_FILEOBJECT_CONFIG_INIT function (wdfdevice.h) |
The WDF_FILEOBJECT_CONFIG_INIT function initializes a driver's WDF_FILEOBJECT_CONFIG structure. |
wdf\wdf_fileobject_config_init.htm |
wdf |
02/26/2018 |
|
DFDeviceObjectGeneralRef_ad75f4c0-79f7-42d6-8798-947cdcbfd8f1.xml, WDF_FILEOBJECT_CONFIG_INIT, WDF_FILEOBJECT_CONFIG_INIT function, kmdf.wdf_fileobject_config_init, wdf.wdf_fileobject_config_init, wdfdevice/WDF_FILEOBJECT_CONFIG_INIT |
wdfdevice.h |
Wdf.h |
Universal |
1.0 |
2.0 |
Any level |
Windows |
|
|
|
|
|
[Applies to KMDF and UMDF]
The WDF_FILEOBJECT_CONFIG_INIT function initializes a driver's WDF_FILEOBJECT_CONFIG structure.
A pointer to a driver-allocated WDF_FILEOBJECT_CONFIG structure.
A pointer to the driver's EvtDeviceFileCreate event callback function.
A pointer to the driver's EvtFileClose event callback function.
A pointer to the driver's EvtFileCleanup event callback function.
The WDF_FILEOBJECT_CONFIG_INIT function sets the specified WDF_FILEOBJECT_CONFIG structure's Size member, stores the specified callback function pointers, sets the FileObjectClass member to WdfFileObjectWdfCannotUseFsContexts, and sets the AutoForwardCleanupClose member to WdfUseDefault.
For a code example that uses WDF_FILEOBJECT_CONFIG_INIT, see WdfDeviceInitSetFileObjectConfig.