UMDF_IO_TARGET_OPEN_PARAMS structure (wudfddi.h)
[Warning: UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.]
The UMDF_IO_TARGET_OPEN_PARAMS structure contains file-open parameters.
Syntax
typedef struct _UMDF_IO_TARGET_OPEN_PARAMS {
DWORD dwShareMode;
DWORD dwCreationDisposition;
DWORD dwFlagsAndAttributes;
} UMDF_IO_TARGET_OPEN_PARAMS, *PUMDF_IO_TARGET_OPEN_PARAMS;
Members
dwShareMode
The type of sharing to allow for the file. For more information about this member, see the dwShareMode parameter of CreateFile in the Windows SDK.
dwCreationDisposition
The action to take if the file already exists. For more information about this member, see the dwCreationDisposition parameter of CreateFile in the Windows SDK.
dwFlagsAndAttributes
Additional flags and attributes for the file. For more information about this member, see the dwFlagsAndAttributes parameter of CreateFile in the Windows SDK.
Remarks
The UMDF_IO_TARGET_OPEN_PARAMS structure is used as input to IWDFRemoteTarget::OpenFileByName and IWDFRemoteTarget::OpenRemoteInterface.
Requirements
Requirement | Value |
---|---|
Minimum UMDF version | 1.9 |
Header | wudfddi.h (include Wudfddi.h) |