InternetUnlockRequestFile function (wininet.h)

Unlocks a file that was locked using InternetLockRequestFile.

Syntax

BOOL InternetUnlockRequestFile(
  [in] HANDLE hLockRequestInfo
);

Parameters

[in] hLockRequestInfo

Handle to a lock request that was returned by InternetLockRequestFile.

Return value

Returns TRUE if successful, or FALSE otherwise. To get a specific error message, call GetLastError.

Remarks

Note  WinINet does not support server implementations. In addition, it should not be used from a service. For server implementations or services use Microsoft Windows HTTP Services (WinHTTP).
 

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wininet.h
Library Wininet.lib
DLL Wininet.dll

See also

Common Functions

WinINet Functions