IFsrmAccessDeniedRemediationClient::Show method

[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMAdr and MSFT_FSRMADRSettings classes.]

Displays the Access Denied Remediation (ADR) client dialog.

This method was introduced for applications that are already using the FSRM interfaces. Where possible it is recommended to use the MSFT_FSRMAdr and MSFT_FSRMADRSettings WMI classes instead.

Syntax


HRESULT Show(
  [in]          ULONG_PTR          parentWnd,
  [in]          BSTR               accessPath,
  [in]          AdrClientErrorType errorType,
  [in]          long               flags,
  [in]          BSTR               windowTitle,
  [in]          BSTR               windowMessage,
  [out, retval] long               *result
);

Parameters

parentWnd [in]

Handle to the window that will be the parent of the dialog that will be displayed.

accessPath [in]

Path of the file being accessed.

errorType [in]

The client error type as enumerated by the AdrClientErrorType enumeration.

flags [in]

Reserved. Set to 0.

windowTitle [in]

Optional text to display as the title of the dialog window that is opened.

windowMessage [in]

Optional text to display above the instructions in the dialog window that is opened.

result [out, retval]

Address of a value that will receive a HRESULT containing the result of the operation.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Header

Fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmAccessDeniedRemediationClient is defined as 40002314-590B-45A5-8E1B-8C05DA527E52

See also

IFsrmAccessDeniedRemediationClient
MSFT_FSRMAdr
MSFT_FSRMADRSettings

 

 

Show: