home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Game Programming for Teens / VBGPFT.cdr / DirectX8 / dx8a_sdk.exe / samples / multimedia / directinput / diconfig / ifrmwrk.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-09-22  |  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-2000 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.