37#define _countof(_Array) (sizeof(_Array) / sizeof(_Array[0]))
43#define STATUS_SUCCESS ((NTSTATUS)0x00000000)
44#define STATUS_UNSUCCESSFUL ((NTSTATUS)0xC0000001)
49#define STATUS_OBJECT_NAME_NOT_FOUND ((NTSTATUS)0xC0000034)
55#define RtlFillMemoryUlong(dst, len, val) memset(dst, val, len)
58#define BitScanForward64 _BitScanForward64
59#define BitScanReverse64 _BitScanReverse64
127#define OBJ_NAME_PATH_SEPARATOR ((WCHAR)L'\\')
130#define ABS_VALUE(V) (((V) < 0) ? -(V) : (V))
#define RegCloseKey(hKey)
LIST_ENTRY CmiHiveListHead
LONG WINAPI RegDeleteValueW(IN HKEY hKey, IN LPCWSTR lpValueName OPTIONAL)
LONG WINAPI RegQueryValueExW(IN HKEY hKey, IN LPCWSTR lpValueName, IN PULONG lpReserved, OUT PULONG lpType OPTIONAL, OUT PUCHAR lpData OPTIONAL, IN OUT PULONG lpcbData OPTIONAL)
LPVOID LPSECURITY_ATTRIBUTES
WCHAR NTAPI RtlUpcaseUnicodeChar(IN WCHAR Source)
VOID NTAPI RtlInitUnicodeString(IN OUT PUNICODE_STRING DestinationString, IN PCWSTR SourceString)
LONG WINAPI RegOpenKeyW(IN HKEY hKey, IN LPCWSTR lpSubKey, OUT PHKEY phkResult)
LONG WINAPI RegSetValueExW(IN HKEY hKey, IN LPCWSTR lpValueName OPTIONAL, IN ULONG Reserved, IN ULONG dwType, IN const UCHAR *lpData, IN ULONG cbData)
LONG WINAPI RegDeleteKeyW(IN HKEY hKey, IN LPCWSTR lpSubKey)
LONG WINAPI RegCreateKeyW(IN HKEY hKey, IN LPCWSTR lpSubKey, OUT PHKEY phkResult)
_In_ UINT _In_ UINT _In_ PNDIS_PACKET Source
_Out_ _Inout_ POEM_STRING _In_ PCUNICODE_STRING SourceString
_Out_ _Inout_ POEM_STRING DestinationString
PULONG MinorVersion OPTIONAL
_In_ WDFCOLLECTION _In_ ULONG Index
_Reserved_ PVOID Reserved