Navigation:  Internet Development > Advanced Hosting Reference > Functions >

AcRedirNotify

Previous pageReturn to chapter overviewNext page

描述

 

设置跟踪重定向的通知回调。

 

C++ 语法

 

VOID AcRedirNotify(

pfnAcRedirTraceInfo traceInfo,

pfnAcRedirTraceIgnored traceIgnored,

pfnAcRedirTraceForked traceForked,

pfnAcRedirTraceRedirected traceRedirected

);

 

参数

 

 

traceInfo

[in]一个指向类型为pfnAcRedirTraceInfo的回调函数的指针,将在API的起始处使用原始路径调用。可以为NULL。

traceIgnored

[in]一个指向类型为pfnAcRedirTraceIgnored的回调函数的指针,当路径未重定向并发出原始呼叫时将被调用。可以为NULL。

traceForked

[in]一个指向类型为pfnAcRedirTraceForked的回调函数的指针,当一个现有文件打开以进行写入并需要复制到虚拟存储时,该函数将被调用。可以为NULL。

traceRedirected

[in]一个指向pfnAcRedirTraceRedirected的回调函数的指针,当路径被重定向时将被调用。可以为NULL。

 

返回值

 

无返回值。

 

功能信息

 

库存实施

acredir.dll

自定义实现

No

acredir.h

进口图书馆

acredir.lib

最低可用性

Internet Explorer 7中

最低操作系统

Windows Vista