Microsoft DirectX 8.1 (Visual Basic) |
Builds an action map for the device and retrieves information about it.
object.BuildActionMap( _ format As DIACTIONFORMAT, _ username As String, _ flags As Long)
If the method fails, an error is raised and Err.Number may be one of the following error codes.
DIERR_INVALIDPARAM |
DIERR_MAPFILEFAIL |
If DIERR_INVALIDPARAM is raised, one or more of the mappings was not valid. The lHow member of the DIACTION type is set to DIAH_ERROR. The application can iterate through the action map to find and correct errors.
DirectInputDevice8.SetActionMap, DirectInputDevice8.SetDataFormat