pfnAcRedirTraceInfo function

Callback invoked at the start of an API with the original path.

Syntax


VOID pfnAcRedirTraceInfo(
  _In_     ACREDIR_REDIRECT_TYPE redirectType,
  _In_     PVOID                 callerAddress,
  _In_     LPCWSTR               apiName,
  _In_opt_ LPCWSTR               path
);

Parameters

redirectType [in]

A type of operation. Can be ACREDIR_REDIRECT_TYPE_FILE for files, or ACREDIR_REDIRECT_TYPE_REGISTRY for registry operations.

callerAddress [in]

The address of the function that called the API. Can be used to determine the calling module.

apiName [in]

A string that specifies the name of the API; for example, RegOpenKeyA() or CreateFileW().

path [in, optional]

The original path that was passed to the API. Can be NULL.

Return value

No return value.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Acredir.h

See also

AcRedirNotify

 

 

Show: