NTSTATUS
PerfInfoLogBytes(
      USHORT HookId,
      PVOID Data,
      ULONG BytesToLog
  );

Routine Description:

    Reserves memory for the hook, copies the data, and unref's the hook entry.

Arguments:

    HookId - Id for the hook
    Data - pointer to the data to be logged
    BytesToLog - size of data in bytes

Return Value:

    STATUS_SUCCESS on success