Platform SDK: DirectX

DirectX7.DirectInputCreate

The DirectX7.DirectInputCreate method creates a DirectInput object.

object.DirectInputCreate() As DirectInput

Parameters

object
Object expression that resolves to a DirectX7 object.

Return Values

If the method succeeds, a DirectInput object is returned.

Error Codes

If the method fails, an error is raised and Err.Number may be set to one of the following error codes:

DIERR_BETADIRECTINPUTVERSION
DIERR_INVALIDPARAM
DIERR_OLDDIRECTINPUTVERSION
DIERR_OUTOFMEMORY