60 lines
1.9 KiB
C
60 lines
1.9 KiB
C
|
//========================================================================
|
||
|
// Copyright (C) 1997 Microsoft Corporation
|
||
|
// Author: RameshV
|
||
|
// Description: This file has been generated. Pl look at the .c file
|
||
|
//========================================================================
|
||
|
|
||
|
typedef struct _M_OPTCLASSDEFL_ONE {
|
||
|
DWORD ClassId;
|
||
|
DWORD VendorId;
|
||
|
M_OPTDEFLIST OptDefList;
|
||
|
} 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
|
||
|
) ;
|
||
|
|
||
|
//========================================================================
|
||
|
// end of file
|
||
|
//========================================================================
|