home *** CD-ROM | disk | FTP | other *** search
/ Windows Game Programming for Dummies (2nd Edition) / WinGamProgFD.iso / pc / DirectX SDK / DXSDK / samples / Multimedia / DirectInput / DIConfig / ifrmwrk.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-10-08  |  965 b   |  30 lines

  1. //-----------------------------------------------------------------------------
  2. // File: ifrmwrk.h
  3. //
  4. // Desc: Contains the interface definition for the UI framework.
  5. //
  6. // Copyright (C) 1999-2001 Microsoft Corporation. All Rights Reserved.
  7. //-----------------------------------------------------------------------------
  8.  
  9. #ifndef _IFRMWRK_H
  10. #define _IFRMWRK_H
  11.  
  12.  
  13. class IDirectInputActionFramework : public IUnknown
  14. {
  15. public:
  16.     //IUnknown fns
  17.     STDMETHOD (QueryInterface) (REFIID iid, LPVOID *ppv) PURE;
  18.     STDMETHOD_(ULONG, AddRef) () PURE;
  19.     STDMETHOD_(ULONG, Release) () PURE;
  20.  
  21.     //own fns
  22.     STDMETHOD (ConfigureDevices) (LPDICONFIGUREDEVICESCALLBACK lpdiCallback,
  23.                                   LPDICONFIGUREDEVICESPARAMSW  lpdiCDParams,
  24.                                   DWORD                        dwFlags,
  25.                                   LPVOID                       pvRefData
  26.                                   ) PURE;
  27.  
  28. };
  29. #endif // _IFRMWRK_H
  30.