RTL_QUERY_REGISTRY_TABLE table[10];\r
UNICODE_STRING param_path;\r
UNICODE_STRING pkeyString;\r
RTL_QUERY_REGISTRY_TABLE table[10];\r
UNICODE_STRING param_path;\r
UNICODE_STRING pkeyString;\r
- UNICODE_STRING empy_string;\r
+ UNICODE_STRING empty_string;\r
\r
BUS_ENTER( BUS_DBG_DRV );\r
\r
__read_machine_name();\r
\r
\r
BUS_ENTER( BUS_DBG_DRV );\r
\r
__read_machine_name();\r
\r
- RtlInitUnicodeString( &empy_string,NULL);\r
+ RtlInitUnicodeString( &empty_string,NULL);\r
RtlInitUnicodeString( ¶m_path, NULL );\r
param_path.MaximumLength = p_registry_path->Length + \r
sizeof(L"\\Parameters");\r
RtlInitUnicodeString( ¶m_path, NULL );\r
param_path.MaximumLength = p_registry_path->Length + \r
sizeof(L"\\Parameters");\r
table[8].Name = L"PartitionKey";\r
table[8].EntryContext = &pkeyString;\r
table[8].DefaultType = REG_SZ;\r
table[8].Name = L"PartitionKey";\r
table[8].EntryContext = &pkeyString;\r
table[8].DefaultType = REG_SZ;\r
- table[8].DefaultData = &empy_string;\r
- table[8].DefaultLength = 1024*sizeof(WCHAR);\r
+ table[8].DefaultData = &empty_string;\r
+ table[8].DefaultLength = 0;\r
/* Have at it! */\r
status = RtlQueryRegistryValues( RTL_REGISTRY_ABSOLUTE, \r
param_path.Buffer, table, NULL, NULL );\r
/* Have at it! */\r
status = RtlQueryRegistryValues( RTL_REGISTRY_ABSOLUTE, \r
param_path.Buffer, table, NULL, NULL );\r