// ntifs.h
typedef struct _NFS_OPEN_ECP_CONTEXT {
PUNICODE_STRING ExportAlias;
PSOCKADDR_STORAGE_NFS ClientSocketAddress;
} NFS_OPEN_ECP_CONTEXT, *PNFS_OPEN_ECP_CONTEXT, PPNFS_OPEN_ECP_CONTEXT;
View the official Windows Driver Kit DDI referenceNo description available.
The NFS_OPEN_ECP_CONTEXT structure is used by the Network File System (NFS) server to open files in response to client requests.
ExportAliasA pointer to a UNICODE_STRING structure that supplies the export alias (share name) for the NFS server that contains the files to be opened. This member is a hint and can be a name, NULL, or a zero-length string.
ClientSocketAddressA pointer to a SOCKADDR_STORAGE structure that specifies the transport address of the client computer. This client originates the open file request.
The file-system stack can determine whether NFS_OPEN_ECP_CONTEXT is attached to the create file request. The file-system stack can then use the information in NFS_OPEN_ECP_CONTEXT to determine the client that requested that the file be opened and why it was requested. For information about how to retrieve the NFS_OPEN_ECP_CONTEXT extra information that is attached to a create file request, see Retrieving ECPs.
The NFS_OPEN_ECP_CONTEXT structure is read-only. You should use it to retrieve information about the open file ECP only. For more information about this issue, see System-Defined ECPs.