Can't catch KEY_VALUE_BASIC_INFORMATION.Name in CmRegisterCallback
<p>I want to hide in registry name of key value. I write driver, that using CmRegisterCallback. But I can't catch name  of key value that I need. When I DbgPrint PKEY_VALUE_BASIC_INFORMATION->Name I get only symbols [ , u . Where is my mistake? Can anybody help me?My RegistryCallback source:</p>

<pre><code>NTSTATUS RegistryCallback(PVOID CallbackContext, PVOID Argument1, PVOID Argument2)
{
    PDEVICE_CONTEXT pContext = (PDEVICE_CONTEXT) CallbackContext;
    REG_NOTIFY_CLASS Action  = (REG_NOTIFY_CLASS) Argument1;
    UNICODE_STRING regKeyNameValueToHide = {0}; 

    try
    {
    switch (Action) 
    { 

    case RegNtEnumerateValueKey:
        {
            PREG_ENUMERATE_VALUE_KEY_INFORMATION pInfo = (PREG_ENUMERATE_VALUE_KEY_INFORMATION) Argument2;
            //DbgPrint(pInfo-&gt;ValueName-&gt;Buffer);
            RtlInitUnicodeString(&amp;regKeyNameValueToHide,L"alex-56328943333");

            if(pInfo-&gt;KeyValueInformationClass == KeyValueBasicInformation)
            {
               PKEY_VALUE_BASIC_INFORMATION  pKeyValueBasicInfirmation = (PKEY_VALUE_BASIC_INFORMATION) pInfo-&gt;KeyValueInformation;
               UNICODE_STRING regKeyNameValue = {0};
               RtlInitUnicodeString(&amp;regKeyNameValue,pKeyValueBasicInfirmation-&gt;Name);

               if (RtlEqualUnicodeString(&amp;regKeyNameValue, &amp;regKeyNameValueToHide, 1))
               {  
                   return STATUS_CALLBACK_BYPASS;
               } 
            }
            else if(pInfo-&gt;KeyValueInformationClass == KeyValueFullInformation)
            {
               PKEY_VALUE_FULL_INFORMATION  pKeyValueFullInfirmation = (PKEY_VALUE_FULL_INFORMATION) pInfo-&gt;KeyValueInformation;
               UNICODE_STRING regKeyNameValue = {0};
               RtlInitUnicodeString(&amp;regKeyNameValue,pKeyValueFullInfirmation-&gt;Name); 
                if (RtlEqualUnicodeString(&amp;regKeyNameValue, &amp;regKeyNameValueToHide, 1))
               {    
                   return STATUS_CALLBACK_BYPASS;
               }
            }

           break;
        }  
    default:
        {

            return STATUS_SUCCESS  
            break;
        }

    }

    }
    except (EXCEPTION_EXECUTE_HANDLER)
   {
     DbgPrint("Exception in RegistryCallback!!!");
   }
    return STATUS_SUCCESS;
}
</code></pre>
