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.
66 lines
2.0 KiB
66 lines
2.0 KiB
//========================================================================
|
|
// Copyright (C) 1997 Microsoft Corporation
|
|
//========================================================================
|
|
|
|
#ifndef _MM_OCLASSDL_H_
|
|
#define _MM_OCLASSDL_H_
|
|
|
|
#include <dhcp.h>
|
|
|
|
typedef struct _M_OPTCLASSDEFL_ONE {
|
|
DWORD ClassId;
|
|
DWORD VendorId;
|
|
M_OPTDEFLIST OptDefList;
|
|
// ULONG UniqId;
|
|
} M_OPTCLASSDEFL_ONE, *PM_OPTCLASSDEFL_ONE;
|
|
|
|
typedef struct _M_OPTCLASSDEFLIST {
|
|
ARRAY Array;
|
|
} M_OPTCLASSDEFLIST, *PM_OPTCLASSDEFLIST, *LPM_OPTCLASSDEFLIST;
|
|
|
|
|
|
DWORD _inline
|
|
MemOptClassDefListInit(
|
|
IN OUT PM_OPTCLASSDEFLIST OptClassDefList
|
|
) {
|
|
return MemArrayInit(&OptClassDefList->Array);
|
|
}
|
|
|
|
|
|
DWORD _inline
|
|
MemOptClassDefListCleanup(
|
|
IN OUT PM_OPTCLASSDEFLIST OptClassDefList
|
|
) {
|
|
// BUG BUG Bump down class Id refcount?
|
|
return MemArrayCleanup(&OptClassDefList->Array);
|
|
}
|
|
|
|
|
|
DWORD
|
|
MemOptClassDefListFindOptDefList(
|
|
IN OUT PM_OPTCLASSDEFLIST OptClassDefList,
|
|
IN DWORD ClassId,
|
|
IN DWORD VendorId,
|
|
OUT PM_OPTDEFLIST *OptDefList
|
|
) ;
|
|
|
|
|
|
DWORD
|
|
MemOptClassDefListAddOptDef(
|
|
IN OUT PM_OPTCLASSDEFLIST OptClassDefList,
|
|
IN DWORD ClassId,
|
|
IN DWORD VendorId,
|
|
IN DWORD OptId,
|
|
IN DWORD Type,
|
|
IN LPWSTR Name,
|
|
IN LPWSTR Comment,
|
|
IN LPBYTE OptVal,
|
|
IN DWORD OptLen,
|
|
IN ULONG UniqId
|
|
) ;
|
|
|
|
#endif // _MM_OCLASSDL_H_
|
|
|
|
//========================================================================
|
|
// end of file
|
|
//========================================================================
|