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]            IN PUNICODE_STRING FilePathName,
  [in]            IN PMRX_SRV_CALL SrvCall,
  [out]           OUT PUNICODE_STRING NetRootName,
  [out, optional] OUT PUNICODE_STRING RestOfName
)
{...}

Parameters

[in] FilePathName

A pointer to a Unicode string that contains a pathname.

[in] SrvCall

A pointer to the SRV_CALL structure.

[out] NetRootName

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.

[out, optional] RestOfName

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

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

See also

MRxCreateSrvCall

MRxCreateVNetRoot

MRxFinalizeNetRoot

MRxFinalizeSrvCall

MRxFinalizeVNetRoot

MRxPreparseName

MRxSrvCallWinnerNotify