Serial Framework C++ Edition

◆ UnlockRegion()

virtual HRESULT STDMETHODCALLTYPE UnlockRegion ( ULARGE_INTEGER  libOffset,
ULARGE_INTEGER  cb,
DWORD  dwLockType 
)
overridevirtual

The method removes the access restriction on a range of bytes previously restricted with LockRegion.

Parameters
libOffsetSpecifies the byte offset for the beginning of the range.
cbSpecifies, in bytes, the length of the range to be restricted.
dwLockTypeSpecifies the access restrictions previously placed on the range.
Returns
S_OK if operation completed with success.