Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.2 KiB

  1. //-----------------------------------------------------------------------------
  2. // File: cfrmwrk.h
  3. //
  4. // Desc: CDirectInputActionFramework is the outer-most layer of the UI. It
  5. // contains everything else. Its functionality is provided by one
  6. // method: ConfigureDevices.
  7. //
  8. // Copyright (C) 1999-2000 Microsoft Corporation. All Rights Reserved.
  9. //-----------------------------------------------------------------------------
  10. #ifndef _CFRMWRK_H
  11. #define _CFRMWRK_H
  12. //framework implementation class
  13. class CDirectInputActionFramework : public IDirectInputActionFramework
  14. {
  15. public:
  16. //IUnknown fns
  17. STDMETHOD (QueryInterface) (REFIID iid, LPVOID *ppv);
  18. STDMETHOD_(ULONG, AddRef) ();
  19. STDMETHOD_(ULONG, Release) ();
  20. //own fns
  21. STDMETHOD (ConfigureDevices) (LPDICONFIGUREDEVICESCALLBACK lpdiCallback,
  22. LPDICONFIGUREDEVICESPARAMSW lpdiCDParams,
  23. DWORD dwFlags,
  24. LPVOID pvRefData);
  25. //construction / destruction
  26. CDirectInputActionFramework();
  27. ~CDirectInputActionFramework();
  28. protected:
  29. //reference count
  30. LONG m_cRef;
  31. };
  32. #endif // _CFRMWRK_H