ReactOS  0.4.14-dev-599-g2d4d3f5
netplwiz.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS Shell
3  * LICENSE: GPL-2.0+ (https://spdx.org/licenses/GPL-2.0+)
4  * PURPOSE: Implements the Connect/Disconnect Network places dialogs
5  * COPYRIGHT: Copyright 2018 Jared Smudde (computerwhiz02@hotmail.com)
6  */
7 
8 #include "netplwiz.h"
9 
12 {
13  return S_OK;
14 }
15 
18 {
19  *ppv = NULL;
20  return E_NOINTERFACE;
21 }
22 
25 {
26  return S_OK;
27 }
28 
31 {
32  return S_OK;
33 }
34 
37 {
39  hInstance = hinstDLL;
40  switch (dwReason)
41  {
42  case DLL_PROCESS_ATTACH:
43  iccx.dwSize = sizeof(INITCOMMONCONTROLSEX);
45  InitCommonControlsEx(&iccx);
47  break;
48  }
49 
50  return TRUE;
51 }
#define REFIID
Definition: guiddef.h:118
#define TRUE
Definition: types.h:120
#define E_NOINTERFACE
Definition: winerror.h:2364
HRESULT WINAPI DllRegisterServer(VOID)
Definition: netplwiz.c:24
REFIID riid
Definition: precomp.h:44
#define REFCLSID
Definition: guiddef.h:117
REFIID LPVOID * ppv
Definition: atlbase.h:39
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
HRESULT WINAPI DllCanUnloadNow(VOID)
Definition: netplwiz.c:11
struct tagINITCOMMONCONTROLSEX INITCOMMONCONTROLSEX
static IN DWORD IN LPVOID lpvReserved
DWORD dwReason
Definition: misc.cpp:154
HINSTANCE hInstance
Definition: charmap.c:20
unsigned int BOOL
Definition: ntddk_ex.h:94
smooth NULL
Definition: ftsmooth.c:416
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
Definition: netplwiz.c:36
LONG HRESULT
Definition: typedefs.h:77
HRESULT WINAPI DllUnregisterServer(VOID)
Definition: netplwiz.c:30
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
BOOL WINAPI InitCommonControlsEx(const INITCOMMONCONTROLSEX *lpInitCtrls)
Definition: commctrl.c:893
#define S_OK
Definition: intsafe.h:59
#define ICC_LISTVIEW_CLASSES
Definition: commctrl.h:58
#define ICC_STANDARD_CLASSES
Definition: commctrl.h:73
HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID *ppv)
Definition: netplwiz.c:17