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.

54 lines
776 B

  1. /*++
  2. Copyright (c) 1999-2000 Microsoft Corporation
  3. Module Name:
  4. common.h
  5. Abstract:
  6. IEEE1394 ARP Admin Utility.
  7. Usage:
  8. a13adm
  9. Revision History:
  10. Who When What
  11. -------- -------- ---------------------------------------------
  12. josephj 06-10-1999 Created
  13. --*/
  14. #include <stdio.h>
  15. #include <string.h>
  16. #include <windows.h>
  17. #include <devioctl.h>
  18. #include <setupapi.h>
  19. #define PROTOCOL_RESERVED_SIZE_IN_PACKET (4 * sizeof(PVOID)) // from ndis.h
  20. #define USER_MODE 1
  21. #include <nic1394.h>
  22. #include <nicarp.h>
  23. #include <rfc2734.h>
  24. #include <a13ioctl.h>
  25. VOID
  26. DoCmd(
  27. PARP1394_IOCTL_COMMAND pCmd
  28. );
  29. BOOL
  30. GetBinaryData(
  31. TCHAR *tszPathName,
  32. TCHAR *tszSection,
  33. TCHAR *tszKey,
  34. UCHAR *pchData,
  35. UINT cbMaxData,
  36. UINT *pcbDataSize
  37. );
  38. extern CHAR *g_szPacketName;