Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

UnlockRegion method

Project: Stream Extension Classes

Unit: PJIStreams

Classes: TPJIStreamWrapper, TPJHandleIStreamWrapper, TPJFileIStream

Applies to: ~>3.0

function UnlockRegion(libOffset: Largeint; cb: Largeint;
  dwLockType: Longint): HResult; virtual; stdcall;

Description

Does nothing.

This method may remove the access restriction on a range of bytes previously restricted with LockRegion. It is optional whether support is provided for region locking – this implementation does not do so. A do-nothing stub method is provided that returns the value required by the Microsoft documentation.

Parameters:

Returns: