ReactOS 0.4.17-dev-1005-g171e1de
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)
 
int WINAPI ClearAutoLogon (VOID)
 
void WINAPI UsersRunDllW (HWND hWnd, HINSTANCE hInstance, LPWSTR pszCmdLine, int nCmdShow)
 

Function Documentation

◆ ClearAutoLogon()

int WINAPI ClearAutoLogon ( VOID  )

Definition at line 54 of file netplwiz.c.

55{
56 /* TODO */
57 return 0;
58}

◆ 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:52

◆ 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 NULL
Definition: types.h:112
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define E_NOINTERFACE
Definition: winerror.h:3479

◆ 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 {
43 iccx.dwSize = sizeof(INITCOMMONCONTROLSEX);
47 break;
48 }
49
50 return TRUE;
51}
DWORD dwReason
Definition: misc.cpp:135
HINSTANCE hInstance
Definition: charmap.c:19
BOOL WINAPI InitCommonControlsEx(const INITCOMMONCONTROLSEX *lpInitCtrls)
Definition: commctrl.c:904
#define TRUE
Definition: types.h:120
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
struct tagINITCOMMONCONTROLSEX INITCOMMONCONTROLSEX
#define ICC_STANDARD_CLASSES
Definition: commctrl.h:73
#define ICC_LISTVIEW_CLASSES
Definition: commctrl.h:58

◆ DllRegisterServer()

HRESULT WINAPI DllRegisterServer ( VOID  )

Definition at line 24 of file netplwiz.c.

25{
26 return S_OK;
27}

◆ DllUnregisterServer()

HRESULT WINAPI DllUnregisterServer ( VOID  )

Definition at line 30 of file netplwiz.c.

31{
32 return S_OK;
33}

◆ UsersRunDllW()

void WINAPI UsersRunDllW ( HWND  hWnd,
HINSTANCE  hInstance,
LPWSTR  pszCmdLine,
int  nCmdShow 
)

Definition at line 61 of file netplwiz.c.

62{
63 /* FIXME: The dialog is supposed to be implemented in this DLL (CORE-20775) */
64
66 sei.lpFile = L"%SystemRoot%\\system32\\control.exe";
67 sei.lpParameters = L"userpasswords";
69 ShellExecuteExW(&sei);
70}
#define L(x)
Definition: resources.c:13
#define SW_SHOWDEFAULT
Definition: winuser.h:791
#define SEE_MASK_DOENVSUBST
Definition: shellapi.h:37
#define SEE_MASK_FLAG_DDEWAIT
Definition: shellapi.h:36
BOOL WINAPI DECLSPEC_HOTPATCH ShellExecuteExW(LPSHELLEXECUTEINFOW sei)
Definition: shlexec.cpp:2732
LPCWSTR lpParameters
Definition: shellapi.h:339