Share via


AcRedirNotify function

Sets notification callbacks for tracing redirection.

Syntax

VOID AcRedirNotify(
  _In_opt_ pfnAcRedirTraceInfo       traceInfo,
  _In_opt_ pfnAcRedirTraceIgnored    traceIgnored,
  _In_opt_ pfnAcRedirTraceForked     traceForked,
  _In_opt_ pfnAcRedirTraceRedirected traceRedirected
);

Parameters

  • traceInfo [in, optional]
    A pointer to a callback function of type pfnAcRedirTraceInfo that is invoked at the start of an API with the original path. Can be NULL.

  • traceIgnored [in, optional]
    A pointer to a callback function of type pfnAcRedirTraceIgnored that is invoked when a path is not redirected, and the original call is issued. Can be NULL.

  • traceForked [in, optional]
    A pointer to a callback function of type pfnAcRedirTraceForked that is invoked when an existing file is opened for write and must be copied to the virtual store. Can be NULL.

  • traceRedirected [in, optional]
    A pointer to a callback function of type pfnAcRedirTraceRedirected that is invoked when a path is redirected. Can be NULL.

Return value

No return value.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Acredir.h

Library

Acredir.lib

DLL

Acredir.dll

See also

AcRedirNotifySetEnabled