MBM.FlatDisable (FUN)

( CAA_MemBlockMan.Library)

The key specified by idKey will be removed from the management in the Flat. Calling MBM.FlatTest now always will return bEnabled = FALSE. The value which had been valid before calling the function will be returned in hOldMsg and should be deallocated afterwards via MBM.MsgRelease. If up to now no value has been entered in the Flat, CAA.gc_hINVALID will be returned. 

提示!

MBM.FlatEnable and MBM.FlatDisable always must be called pairwise! 

Input:

hFlat

CAA.HANDLE

Flat Handle

idKey

CAA.IDENT

Key to be activated.

peError

POINTER TO MBM.ERROR

Pointer on error ID.

Output:

hOldMsg

CAA.HANDLE

Handle of the latest, possibly stored message.