IopSetTypeSpecificFoExtension
NTSTATUS __stdcall IopSetTypeSpecificFoExtension(
_IOP_FILE_OBJECT_EXTENSION *FileObjectExtension,
_FILE_OBJECT_EXTENSION_TYPE Type,
PVOID TypeSpecificExt){
if( (unsigned int)Type > FoExtTypeMemoryPartitionInfo )
return -1073741811;
else
return _InterlockedCompareExchange64(
(volatile signed __int64 *)&FileObjectExtension->FoExtPerTypeExtension[Type],
(signed __int64)TypeSpecificExt,
0i64) != 0 ? 0xC0000001 : 0;
}Referenced by:
IoSetOplockKeyContext
IoSetOplockPrivateFoExt
IopGetSetSpecificExtension
IopSetFileMemoryPartitionInformation
IopSetFileObjectIosbRange
IopSymlinkSetFoExtension