UnlockData

2.x

HANDLE UnlockData(dummy)

The UnlockData macro unlocks the current data segment. It is intended to be used by modules that have movable data segments.

Parameters

dummy

This parameter is ignored.

Return Value

The return value specifies the outcome of the UnlockSegment function. It is zero if the segment's lock count was decreased to zero. Otherwise, the return value is nonzero.

Comments

The UnlockData macro is defined in WINDOWS.H as follows:

#define UnlockData(dummy)   UnlockSegment((UINT)-1)

See Also

LockData, UnlockSegment