You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

The LMX_AtExit function registers functions that are to be called at program termination.

Prototype

LMX_STATUS LMX_AtExit
(
	AtExit_pfn Func
);

Parameters

Func

[in] Function to be called at cleanup.

Return values

On success, this function returns the status code LMX_SUCCESS. 

On failure, this function returns an error code in the format described in Return codes.

Remarks

LMX_AtExit is used to register cleanup functions that access LMX API.

Note: Cstdlib's atexit(), WinApi's_onexit(), and static object destructors are not supportedusing them will result in undefined behavior.

 

 

 

 





 


  • No labels