Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
455 B

#include "shellprv.h"
#pragma hdrstop
#include "regsprtb.h"
BOOL CRegSupportBuf::_InitSetRoot(LPCTSTR pszSubKey1, LPCTSTR pszSubKey2)
{
lstrcpyn(_szRoot, pszSubKey1, ARRAYSIZE(_szRoot));
if (pszSubKey2)
{
lstrcatn(_szRoot, TEXT("\\"), ARRAYSIZE(_szRoot));
lstrcatn(_szRoot, pszSubKey2, ARRAYSIZE(_szRoot));
}
return TRUE;
}
LPCTSTR CRegSupportBuf::_GetRoot(LPTSTR pszRoot, DWORD cchRoot)
{
return _szRoot;
}