getFieldProps method
void
getFieldProps()
Gets metadata associated with the field referenced by the specified FieldDef token.
Throws a WindowsException on failure.
To learn more, see learn.microsoft.com/windows/win32/api/rometadataapi/nf-rometadataapi-imetadataimport-getfieldprops.
Implementation
@pragma('vm:prefer-inline')
void getFieldProps(
int mb,
Pointer<Uint32> pClass,
PWSTR? szField,
int cchField,
Pointer<Uint32> pchField,
Pointer<Uint32> pdwAttr,
Pointer<Pointer<Uint8>> ppvSigBlob,
Pointer<Uint32> pcbSigBlob,
Pointer<Uint32> pdwCPlusTypeFlag,
Pointer<Pointer> ppValue,
Pointer<Uint32> pcchValue,
) {
final hr$ = HRESULT(
_GetFieldPropsFn(
ptr,
mb,
pClass,
szField ?? nullptr,
cchField,
pchField,
pdwAttr,
ppvSigBlob,
pcbSigBlob,
pdwCPlusTypeFlag,
ppValue,
pcchValue,
),
);
if (hr$.isError) throw WindowsException(hr$);
}