SmcProcessStoreDeleteRequest

NTSTATUS __stdcall SmcProcessStoreDeleteRequest(
        _SMC_CACHE_MANAGER *CacheMgr,
        VOID *UserData,
        UINT64 UserDataLength,
        INT8 RequestorMode){
  __int128 StoreMgrType; 

  if( (_DWORD)UserDataLength != 16 )
    return -1073741306;
  if( RequestorMode && ((unsigned __int8)UserData & 3) != 0 )
    ExRaiseDatatypeMisalignment();
  StoreMgrType = *(_OWORD *)UserData;
  if( (unsigned __int8)*(_OWORD *)UserData != 1 || (*(_QWORD *)UserData & 0xFFFFFF00) != 0 )
    return -1073741811;
  if( SDWORD2(StoreMgrType) < 2 )
    return SmcStoreDelete(
             CacheMgr,
             DWORD1(StoreMgrType),
             HIDWORD(*((_QWORD *)&StoreMgrType + 1)),
             SDWORD2(StoreMgrType));
  return -1073741822;
}

Referenced by:

SmSetStoreInformation