The DIEFT_GETTYPE macro extracts the effect type code from an effect format type.
BYTE DIEFT_GETTYPE(
DWORD dwType
);
Parameters
dwType
The DirectInput effect format type. The possible values for this parameter are identical to those found in the dwEffType member of the DIEFFECTINFO structure.
QuickInfo
Windows NT: Use version 5.0 or later.
Windows: Use Windows 95 OSR2 or later. Available as a redistributable for Windows 95.
Windows CE: Unsupported.
Header: Declared in dinput.h.