ReactOS 0.4.16-dev-197-g92996da
internal.h
Go to the documentation of this file.
1/*
2 * ReactOS kernel
3 * Copyright (C) 2004 ReactOS Team
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19/*
20 * COPYRIGHT: See COPYING in the top level directory
21 * PROJECT: ReactOS system libraries
22 * FILE: dll/win32/userenv/internal.h
23 * PURPOSE: internal stuff
24 * PROGRAMMER: Eric Kohl
25 */
26
27#ifndef _INTERNAL_H
28#define _INTERNAL_H
29
30/* directory.c */
31BOOL
32CopyDirectory(LPCWSTR lpDestinationPath,
33 LPCWSTR lpSourcePath);
34
35BOOL
37 LPSECURITY_ATTRIBUTES lpSecurityAttributes);
38
39BOOL
41
42/* misc.c */
43
46
47typedef struct _DYN_FUNCS
48{
50 union
51 {
53 struct
54 {
58 };
59 } fn;
61
62typedef struct _DYN_MODULE
63{
64 LPWSTR Library; /* dll file name */
65 LPSTR Functions[]; /* function names */
67
68extern DYN_MODULE DynOle32;
69
70BOOL
72 PDYN_FUNCS DynFuncs);
73
74VOID
76
79
82
83/* profile.c */
84BOOL
86 DWORD dwMaxLength);
87
88/* registry.c */
89BOOL
90CreateUserHive(LPCWSTR lpKeyName,
91 LPCWSTR lpProfilePath);
92
93/* setup.c */
94BOOL
96 HKEY hUserKey);
97
98/* sid.c */
99BOOL
101 PUNICODE_STRING SidString);
102
103/* userenv.c */
104extern HINSTANCE hInstance;
105
106/* gpolicy.c */
107
108VOID
110
111VOID
113
114#endif /* _INTERNAL_H */
#define VOID
Definition: acefi.h:82
HINSTANCE hInstance
Definition: charmap.c:19
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
Definition: compobj.c:3325
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
Definition: compobj.c:1964
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
Definition: compobj.c:2067
SID_IDENTIFIER_AUTHORITY WorldAuthority
Definition: misc.c:35
struct _DYN_MODULE DYN_MODULE
BOOL CopyDirectory(LPCWSTR lpDestinationPath, LPCWSTR lpSourcePath)
Definition: directory.c:82
LPWSTR AppendBackslash(LPWSTR String)
Definition: misc.c:40
PSECURITY_DESCRIPTOR CreateDefaultSecurityDescriptor(VOID)
Definition: misc.c:57
VOID InitializeGPNotifications(VOID)
Definition: gpolicy.c:65
BOOL AppendSystemPostfix(LPWSTR lpName, DWORD dwMaxLength)
Definition: profile.c:20
struct _DYN_MODULE * PDYN_MODULE
BOOL CreateUserHive(LPCWSTR lpKeyName, LPCWSTR lpProfilePath)
Definition: registry.c:57
BOOL RemoveDirectoryPath(LPCWSTR lpPathName)
Definition: directory.c:324
struct _DYN_FUNCS DYN_FUNCS
struct _DYN_FUNCS * PDYN_FUNCS
BOOL UpdateUsersShellFolderSettings(LPCWSTR lpUserProfilePath, HKEY hUserKey)
Definition: setup.c:434
DYN_MODULE DynOle32
Definition: misc.c:204
BOOL LoadDynamicImports(PDYN_MODULE Module, PDYN_FUNCS DynFuncs)
Definition: misc.c:223
SID_IDENTIFIER_AUTHORITY LocalSystemAuthority
Definition: misc.c:34
VOID UninitializeGPNotifications(VOID)
Definition: gpolicy.c:71
VOID UnloadDynamicImports(PDYN_FUNCS DynFuncs)
Definition: misc.c:259
BOOL GetUserSidStringFromToken(HANDLE hToken, PUNICODE_STRING SidString)
Definition: sid.c:102
BOOL CreateDirectoryPath(LPCWSTR lpPathName, LPSECURITY_ATTRIBUTES lpSecurityAttributes)
Definition: directory.c:176
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
static LPCSTR DWORD void * pvReserved
Definition: str.c:196
static LPUNKNOWN
Definition: ndr_ole.c:49
#define REFIID
Definition: guiddef.h:118
#define REFCLSID
Definition: guiddef.h:117
LPUNKNOWN DWORD REFIID LPVOID * ppv
Definition: internal.h:56
LPUNKNOWN DWORD dwClsContext
Definition: internal.h:56
union _DYN_FUNCS::@568 fn
HMODULE hModule
Definition: internal.h:49
LPUNKNOWN DWORD REFIID riid
Definition: internal.h:56
PVOID foo
Definition: internal.h:52
LPUNKNOWN pUnkOuter
Definition: internal.h:56
LPWSTR Library
Definition: internal.h:64
LPSTR Functions[]
Definition: internal.h:65
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433
_In_ LPCSTR lpName
Definition: winbase.h:2813
#define HRESULT
Definition: msvc.h:7
#define WINAPI
Definition: msvc.h:6
char * LPSTR
Definition: xmlstorage.h:182
WCHAR * LPWSTR
Definition: xmlstorage.h:184
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185