9 using DWORD = std::uint32_t;
11 using WORD = std::uint16_t;
13 using UINT = std::uint32_t;
481 virtual HRESULT QueryInterface(
const GUID&,
void**)
noexcept = 0;
482 virtual std::uint32_t AddRef()
noexcept = 0;
483 virtual std::uint32_t Release()
noexcept = 0;
500 struct __declspec(novtable) IDirectInputEffect :
public IUnknown
506 virtual HRESULT Start(std::uint32_t, std::uint32_t)
noexcept = 0;
507 virtual HRESULT Stop()
noexcept = 0;
508 virtual HRESULT GetEffectStatus(std::uint32_t*)
noexcept = 0;
509 virtual HRESULT Download()
noexcept = 0;
510 virtual HRESULT Unload()
noexcept = 0;
524 struct __declspec(novtable) IDirectInputDevice8A :
public IUnknown
530 virtual HRESULT Acquire()
noexcept = 0;
531 virtual HRESULT Unacquire()
noexcept = 0;
532 virtual HRESULT GetDeviceState(std::uint32_t,
void*)
noexcept = 0;
536 virtual HRESULT SetCooperativeLevel(
HWND, std::uint32_t)
noexcept = 0;
539 virtual HRESULT RunControlPanel(
HWND, std::uint32_t)
noexcept = 0;
541 virtual HRESULT CreateEffect(
const GUID&,
const DIEFFECT*, IDirectInputEffect*, IUnknown*)
noexcept = 0;
544 virtual HRESULT GetForceFeedbackState(std::uint32_t*)
noexcept = 0;
545 virtual HRESULT SendForceFeedbackCommand(std::uint32_t)
noexcept = 0;
548 virtual HRESULT Poll()
noexcept = 0;
551 virtual HRESULT WriteEffectToFile(
const char*, std::uint32_t,
DIFILEEFFECT*, std::uint32_t)
noexcept = 0;
559 struct __declspec(novtable) IDirectInput8A :
public IUnknown
561 virtual HRESULT CreateDevice(
const GUID&, IDirectInputDevice8A**, IUnknown*)
noexcept = 0;
563 virtual HRESULT GetDeviceStatus(
const GUID&)
noexcept = 0;
564 virtual HRESULT RunControlPanel(
HWND, std::uint32_t)
noexcept = 0;
566 virtual HRESULT FindDevice(
const GUID&,
const char*,
GUID*)
noexcept = 0;
#define MAX_PATH
Definition WinAPI.h:574
_GUID GUID
Definition WinAPI.h:72
HWND__ * HWND
Definition WinAPI.h:75
std::int32_t HRESULT
Definition WinAPI.h:138
HINSTANCE__ * HINSTANCE
Definition WinAPI.h:78
tagPOINT POINT
Definition WinAPI.h:136
tagRECT RECT
Definition WinAPI.h:129
_FILETIME FILETIME
Definition WinAPI.h:62