68 lines
1.9 KiB
C
68 lines
1.9 KiB
C
//========================================================================
|
|
// Copyright (C) 1997 Microsoft Corporation
|
|
// Author: RameshV
|
|
// Description: This file has been generated. Pl look at the .c file
|
|
//========================================================================
|
|
|
|
#ifndef _MM_OPTCLASS_H_
|
|
#define _MM_OPTCLASS_H_
|
|
|
|
// This is pure in-memory structure, uniq-id is not needed.
|
|
|
|
typedef struct _M_ONECLASS_OPTLIST {
|
|
DWORD ClassId;
|
|
DWORD VendorId;
|
|
M_OPTLIST OptList;
|
|
} M_ONECLASS_OPTLIST, *PM_ONECLASS_OPTLIST, *LPM_ONECLASS_OPTLIST;
|
|
|
|
typedef struct _M_OPTCLASS {
|
|
ARRAY Array;
|
|
} M_OPTCLASS, *PM_OPTCLASS, *LPM_OPTCLASS;
|
|
|
|
|
|
DWORD _inline
|
|
MemOptClassInit(
|
|
IN OUT PM_OPTCLASS OptClass
|
|
) {
|
|
return MemArrayInit(&OptClass->Array);
|
|
}
|
|
|
|
|
|
DWORD _inline
|
|
MemOptClassCleanup(
|
|
IN OUT PM_OPTCLASS OptClass
|
|
) {
|
|
// Bump down refcounts?
|
|
return MemArrayCleanup(&OptClass->Array);
|
|
}
|
|
|
|
|
|
MemOptClassFindClassOptions( // find options for one particular class
|
|
IN OUT PM_OPTCLASS OptClass,
|
|
IN DWORD ClassId,
|
|
IN DWORD VendorId,
|
|
OUT PM_OPTLIST *OptList
|
|
) ;
|
|
|
|
|
|
DWORD
|
|
MemOptClassAddOption(
|
|
IN OUT PM_OPTCLASS OptClass,
|
|
IN PM_OPTION Opt,
|
|
IN DWORD ClassId,
|
|
IN DWORD VendorId,
|
|
OUT PM_OPTION *DeletedOpt,
|
|
IN ULONG UniqId
|
|
) ;
|
|
|
|
DWORD
|
|
MemOptClassDelClass (
|
|
IN PM_OPTCLASS OptClass
|
|
);
|
|
|
|
#endif _MM_OPTCLASS_H_
|
|
|
|
//========================================================================
|
|
// end of file
|
|
//========================================================================
|