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.

55 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name:
  4. propid.h
  5. Abstract:
  6. This module contains the definition of the property ID related types
  7. and values
  8. Author:
  9. Keith Lau (keithlau@microsoft.com)
  10. Revision History:
  11. keithlau 03/03/98 created
  12. --*/
  13. #ifndef _PROPID_H_
  14. #define _PROPID_H_
  15. // Define a type for the property ID, we don't want to lock in to
  16. // a specific data type
  17. typedef DWORD PROP_ID;
  18. // Define a bunch of values pertaining to the PROP ID type
  19. #define MAX_PROP_ID ((PROP_ID)-1)
  20. #define FIRST_AVAILABLE_PROP_ID ((PROP_ID)1)
  21. #define UNDEFINED_PROP_ID ((PROP_ID)0)
  22. //
  23. // Prop ID 0 is reserved for many things ...
  24. //
  25. #define PROP_ID_RESERVED ((PROP_ID)0)
  26. #define PROP_ID_DELETED ((PROP_ID)0)
  27. #define PROP_ID_NOT_FOUND ((PROP_ID)0)
  28. //
  29. // Define a structure for PROP ID management
  30. //
  31. typedef struct _PROP_ID_MANAGEMENT_ITEM
  32. {
  33. GUID idRange; // GUID identifying the range of PROP IDs
  34. PROP_ID idStartId; // PROP ID of first ID in the managed range
  35. DWORD dwLength; // Number of contiguous PROP IDs in this range
  36. } PROP_ID_MANAGEMENT_ITEM, *LPPROP_ID_MANAGEMENT_ITEM;
  37. #endif