Microsoft DirectX 8.1 (Visual Basic) |
Creates and initializes an instance of a device based on a given GUID.
object.CreateDevice(guid As String) As DirectInputDevice8
Returns a DirectInputDevice8 object.
If the method fails, an error is raised and Err.Number may be set to one of the following:
DIERR_DEVICENOTREG |
DIERR_INVALIDPARAM |
DIERR_NOINTERFACE |
DIERR_OUTOFMEMORY |