Download MetaTrader 5
MQL5 ReferenceCheckupUninitializeReason 

UninitializeReason

Returns the code of a reason for deinitialization.

int  UninitializeReason();

Return Value

Returns the value of _UninitReason which is formed before OnDeinit() is called. Value depends on the reasons that led to deinitialization.


Updated: 2015.12.03