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
1.7 KiB

  1. //========================================================================
  2. // Copyright (C) 1997 Microsoft Corporation
  3. // Author: RameshV
  4. // Description: This file has been generated. Pl look at the .c file
  5. //========================================================================
  6. typedef struct _M_ONECLASS_OPTLIST {
  7. DWORD ClassId;
  8. DWORD VendorId;
  9. M_OPTLIST OptList;
  10. } M_ONECLASS_OPTLIST, *PM_ONECLASS_OPTLIST, *LPM_ONECLASS_OPTLIST;
  11. typedef struct _M_OPTCLASS {
  12. ARRAY Array;
  13. } M_OPTCLASS, *PM_OPTCLASS, *LPM_OPTCLASS;
  14. DWORD _inline
  15. MemOptClassInit(
  16. IN OUT PM_OPTCLASS OptClass
  17. ) {
  18. return MemArrayInit(&OptClass->Array);
  19. }
  20. DWORD _inline
  21. MemOptClassCleanup(
  22. IN OUT PM_OPTCLASS OptClass
  23. ) {
  24. // Bump down refcounts?
  25. return MemArrayCleanup(&OptClass->Array);
  26. }
  27. MemOptClassFindClassOptions( // find options for one particular class
  28. IN OUT PM_OPTCLASS OptClass,
  29. IN DWORD ClassId,
  30. IN DWORD VendorId,
  31. OUT PM_OPTLIST *OptList
  32. ) ;
  33. DWORD
  34. MemOptClassAddOption(
  35. IN OUT PM_OPTCLASS OptClass,
  36. IN PM_OPTION Opt,
  37. IN DWORD ClassId,
  38. IN DWORD VendorId,
  39. OUT PM_OPTION *DeletedOpt
  40. ) ;
  41. //========================================================================
  42. // end of file
  43. //========================================================================