Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib.
This is the main interface exposed by an asynchronous pluggable protocol. This interface and the IInternetProtocolSink interface communicate with each other very closely during download operations. 这是被同步可插拔协议暴露的主要接口,该接口在下载操作期间,和IInternetProtocolSink接口频繁交互。
LockRequest locks the requested resource so that the IInternetProtocolRoot::Terminate method can be called and the remaining data can be read.
The following table shows this interface's methods.
Method | Description |
---|---|
IInternetProtocol::LockRequest | Locks the requested resource. |
IInternetProtocol::Read | Reads data retrieved by the pluggable protocol handler. |
IInternetProtocol::Seek | Moves the current seek offset. |
IInternetProtocol::UnlockRequest | Frees any resources associated with a lock. |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Urlmon.h, Urlmon.idl.
Link Library: Urlmon.lib