From standup it was decided that we should return data as it is found in the registry. This means that data will be null terminated only if it was null termianted in the registry.