Removes a previously set lock using IStream::UnlockRegion.
_StreamUnlockRegion(ByRef $oStream, $iOffset, $iLength, $dwLockType)
| $oStream | IStream COM object. |
| $iOffset | Starting offset of the region to unlock. |
| $iLength | Length of the region to unlock. |
| $dwLockType | Type of lock to remove. |
| Success: | 1 |
| Failure: | 0, sets @error to: 1 - Invalid stream object. 2 - COM error (HRESULT in @extended). |