// ntifs.h
typedef struct _NETWORK_OPEN_ECP_CONTEXT_V0 {
USHORT Size;
USHORT Reserved;
struct {
struct {
NETWORK_OPEN_LOCATION_QUALIFIER Location;
NETWORK_OPEN_INTEGRITY_QUALIFIER Integrity;
} in;
struct {
NETWORK_OPEN_LOCATION_QUALIFIER Location;
NETWORK_OPEN_INTEGRITY_QUALIFIER Integrity;
} out;
} DUMMYSTRUCTNAME;
} NETWORK_OPEN_ECP_CONTEXT_V0, *PNETWORK_OPEN_ECP_CONTEXT_V0;
View the official Windows Driver Kit DDI referenceNo description available.
The NETWORK_OPEN_ECP_CONTEXT_V0 structure is used to interpret network extra create parameter (ECP) contexts on files.
SizeThe size, in bytes, of this structure.
ReservedReserved. Must be set to zero.
DUMMYSTRUCTNAMEA structure that contains restrictions to apply for opening the file (pre-create) and to apply to the file after it is opened (post-create).
DUMMYSTRUCTNAME.inStructure that contains pre-create restrictions for opening a file.
DUMMYSTRUCTNAME.in.LocationA NETWORK_OPEN_LOCATION_QUALIFIER-typed value that specifies the location restriction to attach to the file.
DUMMYSTRUCTNAME.in.IntegrityA NETWORK_OPEN_INTEGRITY_QUALIFIER-typed value that specifies the integrity restriction to attach to the file.
DUMMYSTRUCTNAME.outStructure that contains post-create restrictions to apply to a file after it has been opened.
DUMMYSTRUCTNAME.out.LocationA NETWORK_OPEN_LOCATION_QUALIFIER-typed value that specifies the location restriction to attach to the file.
DUMMYSTRUCTNAME.out.IntegrityThis member is currently not implemented and should be ignored.
A NETWORK_OPEN_INTEGRITY_QUALIFIER-typed value that specifies the integrity restriction to attach to the file.
For information about how to use ECPs to associate extra information with a file when the file is created, see Using Extra Create Parameters with an IRP_MJ_CREATE Operation.
A filter driver should consider the NETWORK_OPEN_ECP_CONTEXT structure to be read-only, using it only to retrieve information about the network ECP context on a file. For more information, see System-Defined ECPs.
If a caller must verify that the file system acknowledged the NETWORK_OPEN_ECP_CONTEXT_V0 context structure, the caller should call the FltIsEcpAcknowledged or FsRtlIsEcpAcknowledged routine on the ECP after the operation is complete.
In most cases, drivers that run on Windows Vista and later versions of Windows use the NETWORK_OPEN_ECP_CONTEXT structure to interpret network ECP contexts on files. However, drivers that run on Windows 7 and later versions of Windows and that must interpret network ECP contexts on files that reside on Windows Vista must use the NETWORK_OPEN_ECP_CONTEXT_V0 structure instead.
NETWORK_OPEN_INTEGRITY_QUALIFIER
NETWORK_OPEN_LOCATION_QUALIFIER