36 ERR(
"RegQueryValueExW failed with status %ld!\n", lStatus);
44 ERR(
"DllAllocSplMem failed!\n");
52 ERR(
"RegQueryValueExW failed with status %ld!\n", lStatus);
69 ERR(
"DllAllocSplMem failed!\n");
100 if ((
name[0] !=
'\\') || (
name[1] !=
'\\'))
return 0;
108 if (serverlen == 0)
return 0;
BOOL WINAPI GetComputerNameW(LPWSTR lpBuffer, LPDWORD lpnSize)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
_ACRTIMP int __cdecl _wcsnicmp(const wchar_t *, const wchar_t *, size_t)
#define memcpy(s1, s2, n)
_In_z_ PCWSTR pwszValueName
static rfbScreenInfoPtr server
BOOL WINAPI DllFreeSplMem(PVOID pMem)
PVOID WINAPI DllAllocSplMem(DWORD dwBytes)
#define MAX_COMPUTERNAME_LENGTH