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.

77 lines
1.8 KiB

  1. /*++
  2. Copyright (c) Microsoft 1998, All Rights Reserved
  3. Module Name:
  4. ecdisp.h
  5. Abstract:
  6. This module contains the public declarations for the extended calls dialog
  7. box.
  8. Environment:
  9. User mode
  10. Revision History:
  11. May-98 : Created
  12. --*/
  13. #ifndef _ECDISP_H_
  14. #define _ECDISP_H_
  15. typedef struct {
  16. HANDLE DeviceHandle;
  17. HIDP_REPORT_TYPE ReportType;
  18. PHIDP_PREPARSED_DATA Ppd;
  19. USAGE UsagePage;
  20. USAGE Usage;
  21. USHORT LinkCollection;
  22. UCHAR ReportID;
  23. PCHAR ReportBuffer;
  24. ULONG ReportLength;
  25. PVOID List;
  26. ULONG ListLength;
  27. ULONG Index;
  28. union {
  29. struct {
  30. USHORT ReportCount;
  31. USHORT BitSize;
  32. };
  33. struct {
  34. PUSAGE List2;
  35. PUSAGE MakeList;
  36. PUSAGE BreakList;
  37. };
  38. PHIDP_PREPARSED_DATA *ppPd;
  39. ULONG Value;
  40. LONG ScaledValue;
  41. };
  42. } EXTCALL_PARAMS, *PEXTCALL_PARAMS;
  43. typedef struct {
  44. BOOL IsHidError;
  45. NTSTATUS HidErrorCode;
  46. } EXTCALL_STATUS, *PEXTCALL_STATUS;
  47. /*****************************************************************************
  48. /* Global Extended Call display function declarations
  49. /*****************************************************************************/
  50. LRESULT CALLBACK
  51. bExtCallDlgProc(
  52. HWND hDlg,
  53. UINT message,
  54. WPARAM wParam,
  55. LPARAM lParam
  56. );
  57. #endif