RtlCreateRegistryKey and STATUS_BUFFER_TOO_SMALL

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello all,
How is it possible to get STATUS_BUFFER_TOO_SMALL from
RtlCreateRegistryKey?

ntstatus= RtlCreateRegistryKey(RTL_REGISTRY_ABSOLUTE, pathWide);

pathWide is not NULL, so how can it be to small, surely it should be
STATUS_OBJECT_NAME_NOT_FOUND?


.