ReactOS  0.4.14-dev-342-gdc047f9
netplwiz.c File Reference
#include "netplwiz.h"
Include dependency graph for netplwiz.c:

Go to the source code of this file.

Functions

HRESULT WINAPI DllCanUnloadNow (VOID)
 
HRESULT WINAPI DllGetClassObject (REFCLSID rclsid, REFIID riid, LPVOID *ppv)
 
HRESULT WINAPI DllRegisterServer (VOID)
 
HRESULT WINAPI DllUnregisterServer (VOID)
 
BOOL WINAPI DllMain (HINSTANCE hinstDLL, DWORD dwReason, LPVOID lpvReserved)
 

Function Documentation

◆ DllCanUnloadNow()

HRESULT WINAPI DllCanUnloadNow ( VOID  )

Definition at line 11 of file netplwiz.c.

12 {
13  return S_OK;
14 }
#define S_OK
Definition: intsafe.h:59

◆ DllGetClassObject()

HRESULT WINAPI DllGetClassObject ( REFCLSID  rclsid,
REFIID  riid,
LPVOID ppv 
)

Definition at line 17 of file netplwiz.c.

18 {
19  *ppv = NULL;
20  return E_NOINTERFACE;
21 }
#define E_NOINTERFACE
Definition: winerror.h:2364
REFIID LPVOID * ppv
Definition: atlbase.h:39
smooth NULL
Definition: ftsmooth.c:416

◆ DllMain()

BOOL WINAPI DllMain ( HINSTANCE  hinstDLL,
DWORD  dwReason,
LPVOID  lpvReserved 
)

Definition at line 36 of file netplwiz.c.

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 TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:120
struct tagINITCOMMONCONTROLSEX INITCOMMONCONTROLSEX
DWORD dwReason
Definition: misc.cpp:154
HINSTANCE hInstance
Definition: charmap.c:20
BOOL WINAPI InitCommonControlsEx(const INITCOMMONCONTROLSEX *lpInitCtrls)
Definition: commctrl.c:893
#define ICC_LISTVIEW_CLASSES
Definition: commctrl.h:58
#define ICC_STANDARD_CLASSES
Definition: commctrl.h:73

◆ DllRegisterServer()

HRESULT WINAPI DllRegisterServer ( VOID  )

Definition at line 24 of file netplwiz.c.

25 {
26  return S_OK;
27 }
#define S_OK
Definition: intsafe.h:59

◆ DllUnregisterServer()

HRESULT WINAPI DllUnregisterServer ( VOID  )

Definition at line 30 of file netplwiz.c.

31 {
32  return S_OK;
33 }
#define S_OK
Definition: intsafe.h:59