LockRequest method

Locks the requested resource so that the IInternetProtocolRoot::Terminate method can be called, and the remaining data can be read.

Syntax

HRESULT retVal = object.LockRequest(dwOptions);

Parameters

  • dwOptions [in]
    Type: DWORD

    Reserved. Must be set to 0.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

For asynchronous pluggable protocols that do not have to lock a request, the method should return S_OK.