Microsoft DirectX 8.1 (Visual Basic)

D3DXSprite.OnResetDevice

Should be called after the device has been reset.

object.OnResetDevice()

Parameters

object
Object expression that resolves to a D3DXSprite object.

Error Codes

If the method fails, an error is raised and Err.Number can be set to D3DERR_INVALIDCALL.

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.

Remarks

This method should be called after the device has been reset, before any other methods are called.