Export (0) Print
Expand All

pfnAcRedirTraceRedirected Prototype

Callback invoked when a path is redirected, with the original path and the redirected path.

Syntax


typedef VOID (*pfnAcRedirTraceRedirected)(
    ACREDIR_REDIRECT_TYPE redirectType,
    PVOID callerAddress,
    LPCWSTR apiName,
    LPCWSTR path,
    LPCWSTR newFileName,
    LONG_PTR result
);

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] The original path that was passed to the API. Can be NULL.
newFileName
[in] The redirected path. Can be NULL.
result
[in] The result of the API call, cast to a LONG_PTR. The actual type depends on the API that was called. For example, some Microsoft Win32 APIs return a DWORD error code, while other APIs return a BOOL.

Return Value

No return value.

Prototype Information

Stock Implementation None
Custom Implementation Yes
Header acredir.h
Import library None
Minimum availability Internet Explorer 7
Minimum operating systems Windows Vista

See Also

AcRedirNotify

Community Additions

ADD
Show:
© 2014 Microsoft