65 ok(
wcscmp(NameBuffer,
L"Value1") == 0,
"%S\n", NameBuffer);
69 memset(NameBuffer, 0xBA,
sizeof(NameBuffer));
75 ok_hex(NameBuffer[6], 0xBABA);
76 ok_hex(NameBuffer[5], 0xBABA);
77 ok_hex(NameBuffer[4], 0xBABA);
78 ok_hex(NameBuffer[3], 0xBABA);
79 ok_hex(NameBuffer[2], 0xBABA);
80 ok_hex(NameBuffer[1], 0xBABA);
81 ok_hex(NameBuffer[0], 0xBABA);
85 memset(NameBuffer, 0xBA,
sizeof(NameBuffer));
91 ok_hex(NameBuffer[6], 0xBABA);
92 ok_hex(NameBuffer[5], 0xBABA);
93 ok_hex(NameBuffer[4], 0xBABA);
94 ok_hex(NameBuffer[3], 0xBABA);
95 ok_hex(NameBuffer[2], 0xBABA);
96 ok_hex(NameBuffer[1], 0xBABA);
97 ok_hex(NameBuffer[0], 0xBABA);
#define ok_hex(expression, result)
#define ok_dec(expression, result)
#define RegCloseKey(hKey)
_In_ ULONG _In_opt_ WDFREQUEST _In_opt_ PVOID _In_ size_t _In_ PVOID _In_ size_t _Out_ size_t * DataLength
LONG WINAPI RegSetValueExW(_In_ HKEY hKey, _In_ LPCWSTR lpValueName, _In_ DWORD Reserved, _In_ DWORD dwType, _In_ CONST BYTE *lpData, _In_ DWORD cbData)
LONG WINAPI RegDeleteKeyW(_In_ HKEY hKey, _In_ LPCWSTR lpSubKey)
LONG WINAPI RegEnumValueW(_In_ HKEY hKey, _In_ DWORD index, _Out_ LPWSTR value, _Inout_ PDWORD val_count, _Reserved_ PDWORD reserved, _Out_opt_ PDWORD type, _Out_opt_ LPBYTE data, _Inout_opt_ PDWORD count)
LONG WINAPI RegCreateKeyW(HKEY hKey, LPCWSTR lpSubKey, PHKEY phkResult)
#define ERROR_INVALID_PARAMETER
#define ERROR_NO_MORE_ITEMS
_In_ NDIS_ERROR_CODE ErrorCode
_Check_return_ _CRTIMP int __cdecl wcscmp(_In_z_ const wchar_t *_Str1, _In_z_ const wchar_t *_Str2)
#define HKEY_CURRENT_USER