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.
 
 
 
 
 
 

46 lines
942 B

#define BREAK_ON_DWERR(_e) if ((_e)) break;
#define RutlDispTokenErrMsg(hModule, dwMsgId, pwszTag, pwszValue) \
DisplayMessage( hModule, dwMsgId, pwszValue, pwszTag)
extern WCHAR pszRemoteAccessParamStub[];
extern WCHAR pszEnableIn[];
extern WCHAR pszAllowNetworkAccess[];
typedef
DWORD
(*RAS_REGKEY_ENUM_FUNC_CB)(
IN LPCWSTR pszName, // sub key name
IN HKEY hKey, // sub key
IN HANDLE hData);
DWORD
RutlRegEnumKeys(
IN HKEY hKey,
IN RAS_REGKEY_ENUM_FUNC_CB pEnum,
IN HANDLE hData);
DWORD
RutlRegReadDword(
IN HKEY hKey,
IN LPCWSTR pszValName,
OUT LPDWORD lpdwValue);
DWORD
RutlRegReadString(
IN HKEY hKey,
IN LPCWSTR pszValName,
OUT LPWSTR* ppszValue);
DWORD
RutlRegWriteDword(
IN HKEY hKey,
IN LPCWSTR pszValName,
IN DWORD dwValue);
DWORD
RutlRegWriteString(
IN HKEY hKey,
IN LPCWSTR pszValName,
IN LPCWSTR pszValue);