Leaked source code of windows server 2003
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.

67 lines
2.0 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. #ifndef _MM_OPTCLASS_H_
  7. #define _MM_OPTCLASS_H_
  8. // This is pure in-memory structure, uniq-id is not needed.
  9. typedef struct _M_ONECLASS_OPTLIST {
  10. DWORD ClassId;
  11. DWORD VendorId;
  12. M_OPTLIST OptList;
  13. } M_ONECLASS_OPTLIST, *PM_ONECLASS_OPTLIST, *LPM_ONECLASS_OPTLIST;
  14. typedef struct _M_OPTCLASS {
  15. ARRAY Array;
  16. } M_OPTCLASS, *PM_OPTCLASS, *LPM_OPTCLASS;
  17. DWORD _inline
  18. MemOptClassInit(
  19. IN OUT PM_OPTCLASS OptClass
  20. ) {
  21. return MemArrayInit(&OptClass->Array);
  22. }
  23. DWORD _inline
  24. MemOptClassCleanup(
  25. IN OUT PM_OPTCLASS OptClass
  26. ) {
  27. // Bump down refcounts?
  28. return MemArrayCleanup(&OptClass->Array);
  29. }
  30. MemOptClassFindClassOptions( // find options for one particular class
  31. IN OUT PM_OPTCLASS OptClass,
  32. IN DWORD ClassId,
  33. IN DWORD VendorId,
  34. OUT PM_OPTLIST *OptList
  35. ) ;
  36. DWORD
  37. MemOptClassAddOption(
  38. IN OUT PM_OPTCLASS OptClass,
  39. IN PM_OPTION Opt,
  40. IN DWORD ClassId,
  41. IN DWORD VendorId,
  42. OUT PM_OPTION *DeletedOpt,
  43. IN ULONG UniqId
  44. ) ;
  45. DWORD
  46. MemOptClassDelClass (
  47. IN PM_OPTCLASS OptClass
  48. );
  49. #endif _MM_OPTCLASS_H_
  50. //========================================================================
  51. // end of file
  52. //========================================================================