40 if (CatalogEntry->Provider)
44 CatalogEntry->Provider =
NULL;
70 CHAR CatalogEntryName[13];
77 sprintf(CatalogEntryName,
"%0""12""i", (
int)UniqueId);
91 (
LPBYTE)&CatalogEntry->DllPath,
110 (
LPBYTE)CatalogEntry->ProviderName,
115 RegSize =
sizeof(
GUID);
120 (
LPBYTE)&CatalogEntry->ProviderId,
125 RegSize =
sizeof(
DWORD);
130 (
LPBYTE)&CatalogEntry->AddressFamily,
135 "SupportedNamespace",
138 (
LPBYTE)&CatalogEntry->NamespaceId,
149 CatalogEntry->Enabled = RegValue != 0;
156 (
LPBYTE)&CatalogEntry->Version,
161 "StoresServiceClassInfo",
166 CatalogEntry->StoresServiceClassInfo = RegValue != 0;
#define InterlockedIncrement
#define InterlockedDecrement
#define RegCloseKey(hKey)
LONG WINAPI RegQueryValueExW(_In_ HKEY hkeyorg, _In_ LPCWSTR name, _In_ LPDWORD reserved, _In_ LPDWORD type, _In_ LPBYTE data, _In_ LPDWORD count)
#define HeapFree(x, y, z)
#define sprintf(buf, format,...)
_In_ NDIS_ERROR_CODE ErrorCode
PNSCATALOG_ENTRY WSAAPI WsNcEntryAllocate(VOID)
VOID WSAAPI WsNcEntryDelete(IN PNSCATALOG_ENTRY CatalogEntry)
VOID WSAAPI WsNcEntrySetProvider(IN PNSCATALOG_ENTRY Entry, IN PNS_PROVIDER Provider)
VOID WSAAPI WsNcEntryDereference(IN PNSCATALOG_ENTRY CatalogEntry)
INT WSAAPI WsNcEntryInitializeFromRegistry(IN PNSCATALOG_ENTRY CatalogEntry, IN HKEY ParentKey, IN ULONG UniqueId)
base of all file and directory entries
_Must_inspect_result_ _In_opt_ WDFKEY ParentKey
VOID WSAAPI WsNpDereference(IN PNS_PROVIDER Provider)