ReactOS  0.4.15-dev-2956-g61e7ea5
profmap.c
Go to the documentation of this file.
1 /*
2  * PROJECT: ReactOS system libraries
3  * LICENSE: GPL-2.0-or-later (https://spdx.org/licenses/GPL-2.0-or-later)
4  * FILE: dll/win32/profmap/profmap.c
5  * PURPOSE: ReactOS User Profile Mapping API
6  * COPYRIGHT: Copyright 2019 Oleg Dubinskiy (oleg.dubinskij2013@yandex.ua)
7  */
8 
9 /* INCLUDES *******************************************************************/
10 
11 #include <windef.h>
12 #include <winbase.h>
13 
14 #define NDEBUG
15 #include <debug.h>
16 
17 /* PUBLIC FUNCTIONS ***********************************************************/
18 
19 /*
20  * @implemented
21  */
22 BOOL
23 WINAPI
24 DllMain(HINSTANCE hinstDll,
27 {
28  switch (dwReason)
29  {
30  case DLL_PROCESS_ATTACH:
31  DisableThreadLibraryCalls(hinstDll);
32  break;
33 
34  case DLL_PROCESS_DETACH:
35  break;
36  }
37 
38  return TRUE;
39 }
40 
41 /*
42  * @unimplemented
43  *
44  * NOTES:
45  * Based on the documentation from:
46  * http://sendmail2.blogspot.com/2012/11/windows-small-business-server-2008_7553.html?view=magazine
47  */
48 BOOL
49 WINAPI
52  IN LPCSTR pCurrentUser,
53  IN LPCSTR pNewUser)
54 {
56  return FALSE;
57 }
58 
59 /*
60  * @unimplemented
61  *
62  * NOTES:
63  * Based on the documentation from:
64  * http://sendmail2.blogspot.com/2012/11/windows-small-business-server-2008_7553.html?view=magazine
65  */
66 BOOL
67 WINAPI
70  IN LPCWSTR pCurrentUser,
71  IN LPCWSTR pNewUser)
72 {
74  return FALSE;
75 }
76 
77 /* EOF */
#define IN
Definition: typedefs.h:39
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
#define TRUE
Definition: types.h:120
BOOL WINAPI DisableThreadLibraryCalls(IN HMODULE hLibModule)
Definition: loader.c:85
#define DLL_PROCESS_ATTACH
Definition: compat.h:131
DWORD dwReason
Definition: misc.cpp:154
#define FALSE
Definition: types.h:117
unsigned int BOOL
Definition: ntddk_ex.h:94
BOOL WINAPI DllMain(HINSTANCE hinstDll, DWORD dwReason, LPVOID reserved)
Definition: profmap.c:24
r reserved
Definition: btrfs.c:2940
const char * LPCSTR
Definition: xmlstorage.h:183
#define DLL_PROCESS_DETACH
Definition: compat.h:130
BOOL WINAPI RemapAndMoveUserW(IN LPCWSTR pComputer, IN DWORD dwFlags, IN LPCWSTR pCurrentUser, IN LPCWSTR pNewUser)
Definition: profmap.c:68
#define WINAPI
Definition: msvc.h:6
unsigned long DWORD
Definition: ntddk_ex.h:95
_In_ PCCERT_CONTEXT _In_ DWORD dwFlags
Definition: wincrypt.h:1175
BOOL WINAPI RemapAndMoveUserA(IN LPCSTR pComputer, IN DWORD dwFlags, IN LPCSTR pCurrentUser, IN LPCSTR pNewUser)
Definition: profmap.c:50
#define UNIMPLEMENTED
Definition: debug.h:115