Leaked source code of windows server 2003
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.

45 lines
943 B

  1. #ifndef __IDFTEST_H__
  2. #define __IDFTEST_H__
  3. typedef enum _TUI_CONFIGTYPE {
  4. TUI_CONFIGTYPE_VIEW,
  5. TUI_CONFIGTYPE_EDIT,
  6. } TUI_CONFIGTYPE;
  7. typedef enum _TUI_VIA {
  8. TUI_VIA_DI,
  9. TUI_VIA_CCI,
  10. } TUI_VIA;
  11. typedef enum _TUI_DISPLAY {
  12. TUI_DISPLAY_GDI,
  13. TUI_DISPLAY_DDRAW,
  14. TUI_DISPLAY_D3D,
  15. } TUI_DISPLAY;
  16. typedef struct _TESTCONFIGUIPARAMS {
  17. DWORD dwSize;
  18. TUI_VIA eVia;
  19. TUI_DISPLAY eDisplay;
  20. TUI_CONFIGTYPE eConfigType;
  21. int nNumAcFors;
  22. LPCWSTR lpwszUserNames;
  23. int nColorScheme;
  24. BOOL bEditLayout;
  25. WCHAR wszErrorText[MAX_PATH];
  26. } TESTCONFIGUIPARAMS, FAR *LPTESTCONFIGUIPARAMS;
  27. class IDirectInputConfigUITest : public IUnknown
  28. {
  29. public:
  30. //IUnknown fns
  31. STDMETHOD (QueryInterface) (REFIID iid, LPVOID *ppv) PURE;
  32. STDMETHOD_(ULONG, AddRef) () PURE;
  33. STDMETHOD_(ULONG, Release) () PURE;
  34. //own fns
  35. STDMETHOD (TestConfigUI) (LPTESTCONFIGUIPARAMS params) PURE;
  36. };
  37. #endif //__IDFTEST_H__se