mirror of https://github.com/tongzx/nt5src
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
43 lines
1.2 KiB
//-----------------------------------------------------------------------------
|
|
// File: cfrmwrk.h
|
|
//
|
|
// Desc: CDirectInputActionFramework is the outer-most layer of the UI. It
|
|
// contains everything else. Its functionality is provided by one
|
|
// method: ConfigureDevices.
|
|
//
|
|
// Copyright (C) 1999-2000 Microsoft Corporation. All Rights Reserved.
|
|
//-----------------------------------------------------------------------------
|
|
|
|
#ifndef _CFRMWRK_H
|
|
#define _CFRMWRK_H
|
|
|
|
|
|
//framework implementation class
|
|
class CDirectInputActionFramework : public IDirectInputActionFramework
|
|
{
|
|
|
|
public:
|
|
|
|
//IUnknown fns
|
|
STDMETHOD (QueryInterface) (REFIID iid, LPVOID *ppv);
|
|
STDMETHOD_(ULONG, AddRef) ();
|
|
STDMETHOD_(ULONG, Release) ();
|
|
|
|
//own fns
|
|
STDMETHOD (ConfigureDevices) (LPDICONFIGUREDEVICESCALLBACK lpdiCallback,
|
|
LPDICONFIGUREDEVICESPARAMSW lpdiCDParams,
|
|
DWORD dwFlags,
|
|
LPVOID pvRefData);
|
|
|
|
//construction / destruction
|
|
CDirectInputActionFramework();
|
|
~CDirectInputActionFramework();
|
|
|
|
protected:
|
|
|
|
//reference count
|
|
LONG m_cRef;
|
|
};
|
|
|
|
#endif // _CFRMWRK_H
|
|
|