// mrx.h
PMRX_EXTRACT_NETROOT_NAME PmrxExtractNetrootName;
VOID PmrxExtractNetrootName(
IN PUNICODE_STRING FilePathName,
IN PMRX_SRV_CALL SrvCall,
OUT PUNICODE_STRING NetRootName,
OUT PUNICODE_STRING RestOfName
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The MRxExtractNetRootName routine is called by RDBSS to request that a network mini-redirector extract the name of the NET_ROOT structure from a given pathname.
FilePathName[in] A pointer to a Unicode string that contains a pathname.
SrvCall[in] A pointer to the SRV_CALL structure.
NetRootName[out] On input, a pointer for storing a Unicode string. On success, this parameter will contain a pointer to a Unicode string that contains a NET_ROOT structure name.
RestOfName[out, optional] A pointer to a Unicode string that contains the rest of the name on success. This parameter is optional and can be a NULL pointer on input.
MRxExtractNetRootName parses the input name into the SRV_CALL structure, the NET_ROOT structure, and the rest of the pathname.