#include <stdlib.h>
#include <conio.h>
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include "resource.h"
Go to the source code of this file.
◆ wmain()
Definition at line 18 of file hostname.c.
25 WCHAR LocalHostName[256] =
L"";
27 PWSTR HostName = LocalHostName;
46 if (HostName && (HostName != LocalHostName))
int __cdecl _cwprintf(const MSVCRT_wchar_t *,...)
DWORD WINAPI GetLastError(VOID)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
BOOL WINAPI GetComputerNameExW(COMPUTER_NAME_FORMAT NameType, LPWSTR lpBuffer, LPDWORD nSize)
PVOID WINAPI HeapAlloc(HANDLE, DWORD, SIZE_T)
#define HeapFree(x, y, z)