// mrx.h
PMRX_CHKDIR_CALLDOWN PmrxChkdirCalldown;
NTSTATUS PmrxChkdirCalldown(
[in, out] IN OUT PRX_CONTEXT RxContext,
[in] IN PUNICODE_STRING DirectoryName
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
TheMRxIsValidDirectory routine is called by RDBSS to request that a network mini-redirector check for the existence of a remote directory.
RxContext [in, out]A pointer to the RX_CONTEXT structure. This parameter contains the IRP that is requesting the operation.
DirectoryName [in]A pointer to a Unicode string that contains the name of the remote directory.
MRxIsValidDirectory returns STATUS_SUCCESS on success or an appropriate NTSTATUS value, such as the following:
| Return code | Description |
|---|---|
| STATUS_BAD_NETWORK_PATH | This remote directory does not exist. |
MRxIsValidDirectory is called as part of create or open request processing for the remaining name string beyond the V_NET_ROOT structure, if the IrpSp->Parameters.Create.Options member has the FILE_CREATE_TREE_CONNECTION bit set on.