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.

59 lines
1.9 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_OPTCLASSDEFL_ONE {
  7. DWORD ClassId;
  8. DWORD VendorId;
  9. M_OPTDEFLIST OptDefList;
  10. } M_OPTCLASSDEFL_ONE, *PM_OPTCLASSDEFL_ONE;
  11. typedef struct _M_OPTCLASSDEFLIST {
  12. ARRAY Array;
  13. } M_OPTCLASSDEFLIST, *PM_OPTCLASSDEFLIST, *LPM_OPTCLASSDEFLIST;
  14. DWORD _inline
  15. MemOptClassDefListInit(
  16. IN OUT PM_OPTCLASSDEFLIST OptClassDefList
  17. ) {
  18. return MemArrayInit(&OptClassDefList->Array);
  19. }
  20. DWORD _inline
  21. MemOptClassDefListCleanup(
  22. IN OUT PM_OPTCLASSDEFLIST OptClassDefList
  23. ) {
  24. // BUG BUG Bump down class Id refcount?
  25. return MemArrayCleanup(&OptClassDefList->Array);
  26. }
  27. DWORD
  28. MemOptClassDefListFindOptDefList(
  29. IN OUT PM_OPTCLASSDEFLIST OptClassDefList,
  30. IN DWORD ClassId,
  31. IN DWORD VendorId,
  32. OUT PM_OPTDEFLIST *OptDefList
  33. ) ;
  34. DWORD
  35. MemOptClassDefListAddOptDef(
  36. IN OUT PM_OPTCLASSDEFLIST OptClassDefList,
  37. IN DWORD ClassId,
  38. IN DWORD VendorId,
  39. IN DWORD OptId,
  40. IN DWORD Type,
  41. IN LPWSTR Name,
  42. IN LPWSTR Comment,
  43. IN LPBYTE OptVal,
  44. IN DWORD OptLen
  45. ) ;
  46. //========================================================================
  47. // end of file
  48. //========================================================================