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)
#define memcpy(s1, s2, n)
_Check_return_ _CRTIMP int __cdecl _wcsnicmp(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount)
_In_z_ PCWSTR pwszValueName
static rfbScreenInfoPtr server
BOOL WINAPI DllFreeSplMem(PVOID pMem)
PVOID WINAPI DllAllocSplMem(DWORD dwBytes)
#define MAX_COMPUTERNAME_LENGTH