| Microsoft DirectX 8.1 (C++) |
Contains information about the calling application and acts as a container for an array of DIACTION structures that define action-to-control mappings for a genre.
typedef struct {
DWORD dwSize;
DWORD dwActionSize;
DWORD dwDataSize;
DWORD dwNumActions;
LPDIACTION rgoAction;
GUID guidActionMap;
DWORD dwGenre;
DWORD dwBufferSize;
OPTIONAL LONG lAxisMin;
OPTIONAL LONG lAxisMax;
OPTIONAL HINSTANCE hInstString;
FILETIME ftTimeStamp;
DWORD dwCRC;
TCHAR tszActionMap[MAX_PATH];
} DIACTIONFORMAT;
This value is valid only for axis actions and should be set to zero for all other actions. It is used as the DIPROPRANGE.lMin value to set the range property on an absolute axis when the action map is applied using IDirectInputDevice8::SetActionMap.
This value is valid only for axis actions and should be set to zero for all other actions. It is used as the DIPROPRANGE.lMax value to set the range property on an absolute axis when the action map is applied using IDirectInputDevice8::SetActionMap.
The ftTimeStamp member can contain special values that apply to new and unused devices. New devices have never been enumerated for this application and have never had an action map applied to them. Unused devices have been enumerated for the application before but have never had an action map applied. New devices always have DIAFTS_NEWDEVICELOW and DIAFTS_NEWDEVICEHIGH in the low and high DWORDs respectively of the FILETIME structure. Unused devices have DIAFTS_UNUSEDDEVICELOW and DIAFTS_UNUSEDDEVICEHIGH in these positions.
Applications should not use ftTimeStamp to check for new devices. Instead, they should look for the DIEDBS_RECENTDEVICE and DIEDBS_NEWDEVICE flags in the enumeration callback. For more information, see DIEnumDevicesBySemanticsCallback.
Windows NT/2000/XP: Requires Windows 2000.
Windows 98/Me: Requires Windows 98 or later. Available as a redistributable for Windows 98.
Header: Declared in Dinput.h.
IDirectInput8::EnumDevicesBySemantics, IDirectInputDevice8::SetActionMap, IDirectInput8::ConfigureDevices, IDirectInputDevice8::BuildActionMap, Action Mapping