PnpSetMappedPropertyDispatch

NTSTATUS __stdcall PnpSetMappedPropertyDispatch(
        HPNPCTX *hPnpCtx,
        WCHAR *ObjectName,
        PNP_OBJECT_TYPE ObjectType,
        VOID *ObjectBaseKey,
        WCHAR *PropertyLocaleName,
        _DEVPROPKEY *PropertyKey,
        UINT64 PropertyType,
        UINT8 *PropertyBuffer,
        UINT64 PropertySize,
        UINT64 Flags){
  NTSTATUS result; 
  unsigned int v14; 
  __int64 v15[2]; 
  __int64 v16[3]; 
  int v17; 
  int v18; 
  UINT8 *v19; 
  int v20; 
  int v21; 
  __int128 v22; 

  v15[0] = 0i64;
  v18 = 0;
  v22 = 0i64;
  result = PnpCtxGetObjectDispatchCallback((__int64)hPnpCtx, ObjectType, v15);
  if( result >= 0 )
  {
    if( v15[0] )
    {
      v16[1] = (__int64)PropertyLocaleName;
      v16[2] = (__int64)PropertyKey;
      v19 = PropertyBuffer;
      v17 = PropertyType;
      v20 = PropertySize;
      v21 = Flags;
      v16[0] = (__int64)ObjectBaseKey;
      return((__int64(__fastcall *)(HPNPCTX *, WCHAR *, _QWORD, __int64, __int64 *))v15[0])(
               hPnpCtx,
               ObjectName,
               v14,
               9i64,
               v16);
    }
    else
    {
      return -1073741822;
    }
  }
  return result;
}

Referenced by:

PnpSetObjectPropertyWorker