PVOID
AllocateObject(
  IN  PMEMORY_USAGE pMemoryUsage,
  IN  DLC_OBJECT_TYPE ObjectType,
  IN  ULONG ObjectSize
  );

Routine Description:

    Allocates a pseudo-object

Arguments:

    ObjectType      - type of object to allocate
    ObjectSize      - size of object; mainly because some objects have variable size
    pMemoryUsage    - pointer to MEMORY_USAGE structure for charging mem usage

Return Value:

    PVOID
        Success - pointer to object allocated from non-paged pool
        Failure - NULL