Bewerken

Delen via


PMRX_CHKDIR_CALLDOWN callback function (mrx.h)

TheMRxIsValidDirectory routine is called by RDBSS to request that a network mini-redirector check for the existence of a remote directory.

Syntax

PMRX_CHKDIR_CALLDOWN PmrxChkdirCalldown;

NTSTATUS PmrxChkdirCalldown(
  [in, out] IN OUT PRX_CONTEXT RxContext,
  [in]      IN PUNICODE_STRING DirectoryName
)
{...}

Parameters

[in, out] RxContext

A pointer to the RX_CONTEXT structure. This parameter contains the IRP that is requesting the operation.

[in] DirectoryName

A pointer to a Unicode string that contains the name of the remote directory.

Return value

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.

Remarks

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.

Requirements

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

See also

MRxQueryDirectory

MRxQueryEaInfo

MRxQueryFileInfo

MRxQueryQuotaInfo

MRxQuerySdInfo

MRxQueryVolumeInfo

MRxSetEaInfo

MRxSetFileInfo

MRxSetFileInfoAtCleanup

MRxSetQuotaInfo

MRxSetSdInfo

MRxSetVolumeInfo