Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygeninternal.h
Go to the documentation of this file.
00001 /* 00002 * ReactOS kernel 00003 * Copyright (C) 2004 ReactOS Team 00004 * 00005 * This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License along 00016 * with this program; if not, write to the Free Software Foundation, Inc., 00017 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 00018 */ 00019 /* $Id: internal.h 43790 2009-10-27 10:34:16Z dgorbachev $ 00020 * 00021 * COPYRIGHT: See COPYING in the top level directory 00022 * PROJECT: ReactOS system libraries 00023 * FILE: lib/userenv/internal.h 00024 * PURPOSE: internal stuff 00025 * PROGRAMMER: Eric Kohl 00026 */ 00027 00028 #ifndef _INTERNAL_H 00029 #define _INTERNAL_H 00030 00031 /* directory.c */ 00032 BOOL 00033 CopyDirectory (LPCWSTR lpDestinationPath, 00034 LPCWSTR lpSourcePath); 00035 00036 BOOL 00037 CreateDirectoryPath (LPCWSTR lpPathName, 00038 LPSECURITY_ATTRIBUTES lpSecurityAttributes); 00039 00040 BOOL 00041 RemoveDirectoryPath (LPCWSTR lpPathName); 00042 00043 /* misc.c */ 00044 typedef struct _DYN_FUNCS 00045 { 00046 HMODULE hModule; 00047 union 00048 { 00049 PVOID foo; 00050 struct 00051 { 00052 HRESULT (WINAPI *CoInitialize)(LPVOID pvReserved); 00053 HRESULT (WINAPI *CoCreateInstance)(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID riid, LPVOID * ppv); 00054 HRESULT (WINAPI *CoUninitialize)(VOID); 00055 }; 00056 } fn; 00057 } DYN_FUNCS, *PDYN_FUNCS; 00058 00059 typedef struct _DYN_MODULE 00060 { 00061 LPWSTR Library; /* dll file name */ 00062 LPSTR Functions[]; /* function names */ 00063 } DYN_MODULE, *PDYN_MODULE; 00064 00065 extern DYN_MODULE DynOle32; 00066 00067 BOOL 00068 LoadDynamicImports(PDYN_MODULE Module, PDYN_FUNCS DynFuncs); 00069 00070 VOID 00071 UnloadDynamicImports(PDYN_FUNCS DynFuncs); 00072 00073 LPWSTR 00074 AppendBackslash (LPWSTR String); 00075 00076 BOOL 00077 GetUserSidFromToken (HANDLE hToken, 00078 PUNICODE_STRING SidString); 00079 00080 PSECURITY_DESCRIPTOR 00081 CreateDefaultSecurityDescriptor(VOID); 00082 00083 /* profile.c */ 00084 BOOL 00085 AppendSystemPostfix (LPWSTR lpName, 00086 DWORD dwMaxLength); 00087 00088 /* registry.c */ 00089 BOOL 00090 CreateUserHive (LPCWSTR lpKeyName, 00091 LPCWSTR lpProfilePath); 00092 00093 /* setup.c */ 00094 BOOL 00095 UpdateUsersShellFolderSettings(LPCWSTR lpUserProfilePath, 00096 HKEY hUserKey); 00097 00098 /* userenv.c */ 00099 extern HINSTANCE hInstance; 00100 00101 /* gpolicy.c */ 00102 00103 VOID 00104 InitializeGPNotifications(VOID); 00105 00106 VOID 00107 UninitializeGPNotifications(VOID); 00108 00109 #endif /* _INTERNAL_H */ 00110 00111 /* EOF */ Generated on Mon May 28 2012 04:19:05 for ReactOS by
1.7.6.1
|