LockData

2.x

HANDLE LockData(dummy)

The LockData macro locks the current data segment in memory. It is intended to be used in modules that have movable data segments.

Parameters

dummy

This parameter is ignored.

Return Value

The return value identifies the locked data segment if the function is successful. Otherwise, it is NULL.

Comments

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

#define LockData(dummy)  LockSegment((UINT)-1)

See Also

LockSegment