5 HINSTANCE netshell_hInstance
;
10 /* FIXME: rpcproxy.h */
11 HRESULT
__wine_register_resources(HMODULE module
);
12 HRESULT
__wine_unregister_resources(HMODULE module
);
16 DllMain(HINSTANCE hinstDLL
, DWORD fdwReason
, LPVOID fImpLoad
)
20 case DLL_PROCESS_ATTACH
:
21 netshell_hInstance
= hinstDLL
;
22 DisableThreadLibraryCalls(netshell_hInstance
);
39 DllRegisterServer(void)
41 return __wine_register_resources(netshell_hInstance
);
45 DllUnregisterServer(void)
47 return __wine_unregister_resources(netshell_hInstance
);
61 return IClassFactory_fnConstructor(rclsid
, riid
, ppv
);
66 NcFreeNetconProperties(NETCON_PROPERTIES
*pProps
)
68 CoTaskMemFree(pProps
->pszwName
);
69 CoTaskMemFree(pProps
->pszwDeviceName
);
70 CoTaskMemFree(pProps
);
75 NcIsValidConnectionName(_In_ PCWSTR pszwName
)
80 BOOL nonSpace
= FALSE
;