PMRX_EXTRACT_NETROOT_NAME callback function (mrx.h)

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.

Syntax

PMRX_EXTRACT_NETROOT_NAME PmrxExtractNetrootName;

void PmrxExtractNetrootName(
  IN PUNICODE_STRING FilePathName,
  IN PMRX_SRV_CALL SrvCall,
  OUT PUNICODE_STRING NetRootName,
  OUT PUNICODE_STRING RestOfName
)
{...}

Parameters

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.

Return value

None

Remarks

MRxExtractNetRootName parses the input name into the SRV_CALL structure, the NET_ROOT structure, and the rest of the pathname.

Requirements

Requirement Value
Target Platform Desktop
Header mrx.h (include Mrx.h)

See also

MRxCreateSrvCall

MRxCreateVNetRoot

MRxFinalizeNetRoot

MRxFinalizeSrvCall

MRxFinalizeVNetRoot

MRxPreparseName

MRxSrvCallWinnerNotify