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.

42 lines
1.1 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1997.
  5. //
  6. // File: U P D I A G . H
  7. //
  8. // Contents: Interface between ISAPI control DLL and UPDIAG
  9. //
  10. // Notes:
  11. //
  12. // Author: danielwe 28 Oct 1999
  13. //
  14. //----------------------------------------------------------------------------
  15. #ifndef _UPDIAG_H
  16. #define _UPDIAG_H
  17. static const DWORD MAX_PROP_CHANGES = 32; // maximum # of properties that can change
  18. static const TCHAR c_szSharedData[] = TEXT("UPNP_SHARED_DATA");
  19. static const TCHAR c_szSharedEvent[] = TEXT("UPNP_SHARED_DATA_EVENT");
  20. static const TCHAR c_szSharedEventRet[] = TEXT("UPNP_SHARED_DATA_EVENT_RETURN");
  21. static const TCHAR c_szSharedMutex[] = TEXT("UPNP_SHARED_DATA_MUTEX");
  22. struct ARG
  23. {
  24. TCHAR szValue[256];
  25. };
  26. struct SHARED_DATA
  27. {
  28. DWORD dwReturn;
  29. CHAR szEventSource[256];
  30. CHAR szAction[256];
  31. DWORD cArgs;
  32. ARG rgArgs[MAX_PROP_CHANGES];
  33. DWORD dwSeqNumber;
  34. CHAR szSID[256];
  35. };
  36. #endif // _UPDIAG_H