29 L"{6D4A3650-628D-11D2-AE0F-006097B01411}",
33 L"{743B5D60-628D-11D2-AE0F-006097B01411}",
37 L"{53934290-628D-11D2-AE0F-006097B01411}",
41 L"{EBFE7BA0-628D-11D2-AE0F-006097B01411}",
49 L"{36E95EE0-8577-11cf-960C-0080C7534E82}",
53 L"685BC400-9D2C-11cf-A9CD-00AA006886E3",
57 L"{44EAA760-CB68-11cf-9C4E-00A0C905425E}",
61 L"{0F1D6860-88D9-11cf-9C4E-00A0C905425E}",
84 szText[(
sizeof(szText) /
sizeof(
WCHAR))-1] =
L'\0';
118 static const WCHAR wFormat[] =
L"\\StringFileInfo\\%04x%04x\\FileVersion";
119 static const WCHAR wTranslation[] =
L"VarFileInfo\\Translation";
156 if (VerSize < szVerSize && bVer && pResult)
163 VerSize = (pResult - szVer);
167 szVer[VerSize-1] =
L' ';
168 szVer[szVerSize-1] =
L'\0';
187 DWORD RegProviders = 0;
198 Item.pszText = szResult;
199 Item.iItem = ItemCount;
201 for(dwIndex = 0; dwIndex < 4; dwIndex++)
203 Item.iItem = ItemCount + dwIndex;
207 szResult[(
sizeof(szResult)/
sizeof(
WCHAR))-1] =
L'\0';
212 szResult[(
sizeof(szResult)/
sizeof(
WCHAR))-1] =
L'\0';
245 ProviderIndex = lResult - ItemCount;
254 wcscpy(&szTemp[6], szGUID);
255 wcscpy(&szTemp[44],
L"\\InProcServer32");
266 Item.iItem = ProviderIndex + ItemCount;
273 szTemp[(
sizeof(szTemp)/
sizeof(
WCHAR))-1] =
L'\0';
276 Item.pszText = szTemp;
278 Item.pszText = szResult;
283 RegProviders |= (1 << ProviderIndex);
288 Item.iItem = ProviderIndex + ItemCount;
289 szResult[(
sizeof(szResult)/
sizeof(
WCHAR))-1] =
L'\0';
static BOOL EnumerateServiceProviders(HKEY hKey, HWND hDlgCtrl, DIRECTPLAY_GUID *PreDefProviders)
BOOL GetFileVersion(LPCWSTR szAppName, WCHAR *szVer, DWORD szVerSize)
INT_PTR CALLBACK NetworkPageWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
struct _LANGANDCODEPAGE_ * LPLANGANDCODEPAGE
static DIRECTPLAY_GUID DirectPlay8SP[]
static VOID InitListViewColumns(HWND hDlgCtrl)
UINT FindProviderIndex(LPCWSTR szGuid, DIRECTPLAY_GUID *PreDefProviders)
struct _LANGANDCODEPAGE_ LANGANDCODEPAGE
static void InitializeDirectPlayDialog(HWND hwndDlg)
static DIRECTPLAY_GUID DirectPlaySP[]
BOOL GetRegValue(HKEY hBaseKey, LPWSTR SubKey, LPWSTR ValueName, DWORD Type, LPWSTR Result, DWORD Size)
#define IDS_VERSION_UNKNOWN
#define IDS_DIRECTPLAY_IPXCONN
#define IDS_DIRECTPLAY_MODEMCONN
#define IDS_DIRECTPLAY8_SERIALSP
#define IDS_DIRECTPLAY_SERIALCONN
#define IDS_DIRECTPLAY_COL_NAME1
#define IDC_LIST_PROVIDER
#define IDS_DIRECTPLAY8_MODEMSP
#define IDS_DIRECTPLAY8_TCPSP
#define IDS_DIRECTPLAY_TCPCONN
#define IDS_DIRECTPLAY8_IPXSP
#define RegCloseKey(hKey)
LONG WINAPI RegOpenKeyExW(HKEY hKey, LPCWSTR lpSubKey, DWORD ulOptions, REGSAM samDesired, PHKEY phkResult)
#define ERROR_NO_MORE_ITEMS
#define HeapFree(x, y, z)
INT WINAPI GetLocaleInfoW(LCID lcid, LCTYPE lctype, LPWSTR buffer, INT len)
BOOL WINAPI GetFileVersionInfoW(LPCWSTR filename, DWORD handle, DWORD datasize, LPVOID data)
BOOL WINAPI VerQueryValueW(LPCVOID pBlock, LPCWSTR lpSubBlock, LPVOID *lplpBuffer, PUINT puLen)
DWORD WINAPI GetFileVersionInfoSizeW(LPCWSTR filename, LPDWORD handle)
static const WCHAR szGuid[]
#define UNREFERENCED_PARAMETER(P)
#define MAKELCID(lgid, srtid)
static const WCHAR szName[]
#define LVS_EX_FULLROWSELECT
#define ListView_GetItemCount(hwnd)
#define LVM_INSERTCOLUMNW
#define LVM_SETEXTENDEDLISTVIEWSTYLE
_CRTIMP wchar_t *__cdecl wcscpy(_Out_writes_z_(_String_length_(_Source)+1) wchar_t *_Dest, _In_z_ const wchar_t *_Source)
_Check_return_ _CRTIMP int __cdecl wcsncmp(_In_reads_or_z_(_MaxCount) const wchar_t *_Str1, _In_reads_or_z_(_MaxCount) const wchar_t *_Str2, _In_ size_t _MaxCount)
static const WCHAR lang[]
_In_ WDFCOLLECTION _In_ ULONG Index
_In_ WDFCOLLECTION _In_ WDFOBJECT Item
_Must_inspect_result_ _In_ WDFOBJECT _In_ CONST GUID * Guid
#define HKEY_LOCAL_MACHINE
#define HKEY_CLASSES_ROOT
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
int WINAPIV wsprintfW(_Out_ LPWSTR, _In_ _Printf_format_string_ LPCWSTR,...)
BOOL WINAPI SetWindowPos(_In_ HWND, _In_opt_ HWND, _In_ int, _In_ int, _In_ int, _In_ int, _In_ UINT)
HWND WINAPI GetDlgItem(_In_opt_ HWND, _In_ int)
#define SWP_NOOWNERZORDER
LRESULT WINAPI SendMessageW(_In_ HWND, _In_ UINT, _In_ WPARAM, _In_ LPARAM)