Source code of Windows XP (NT5)
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
760 B

  1. /*++
  2. Copyright (c) 1996,1997 Microsoft Corporation
  3. Module Name:
  4. COMMAND.H
  5. Abstract:
  6. Author:
  7. Aaron Ogus (aarono)
  8. Environment:
  9. Win32/COM
  10. Revision History:
  11. Date Author Description
  12. ====== ====== ============================================================
  13. 3/14/97 aarono Original
  14. --*/
  15. #ifndef _COMMAND_H_
  16. #define _COMMAND_H_
  17. #define REQUEST_PARAMS PPROTOCOL pProtocol, DPID idFrom, DPID idTo, PCMDINFO pCmdInfo, PBUFFER pSrcBuffer
  18. #define MAX_COMMAND 0x06
  19. typedef UINT (*COMMAND_HANDLER)(REQUEST_PARAMS);
  20. UINT AssertMe(REQUEST_PARAMS);
  21. UINT Ping(REQUEST_PARAMS);
  22. UINT PingResp(REQUEST_PARAMS);
  23. UINT GetTime(REQUEST_PARAMS);
  24. UINT GetTimeResp(REQUEST_PARAMS);
  25. UINT SetTime(REQUEST_PARAMS);
  26. UINT SetTimeResp(REQUEST_PARAMS);
  27. #endif