Direct3D Device Notification

#D3DPreDeviceReset: undefined 

Sent before the DirectX device is being reset.

Available in 3ds Max 9 and higher.

#D3DPostDeviceReset: undefined 

Sent after the DirectX device has been reset.

Available in 3ds Max 9 and higher.