* Add header guards to the main headers.
CORE-7716
svn path=/trunk/; revision=62026
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
*/
+#ifndef _NTDLL_H
+#define _NTDLL_H
+
/* INCLUDES ******************************************************************/
/* We're a core NT DLL, we don't import syscalls */
/* PSEH */
#include <pseh/pseh2.h>
-/* EOF */
+#endif /* _NTDLL_H */
* PURPOSE: OpenGL32 lib, general header
*/
-#pragma once
+#ifndef _OPENGL32_PCH_
+#define _OPENGL32_PCH_
#define WIN32_NO_STATUS
#include <stdarg.h>
BOOL sw_CopyContext(DHGLRC dhglrcSrc, DHGLRC dhglrcDst, UINT mask);
BOOL sw_ShareLists(DHGLRC dhglrcSrc, DHGLRC dhglrcDst);
BOOL sw_SwapBuffers(HDC hdc, struct wgl_dc_data* dc_data);
+
+#endif /* _OPENGL32_PCH_ */
+#ifndef _FONTEXT_PCH_
+#define _FONTEXT_PCH_
+
#include <stdarg.h>
#define WIN32_NO_STATUS
#define COBJMACROS
#include <windef.h>
+
+#endif /* _FONTEXT_PCH_ */
HINSTANCE hDllInstance;
-
BOOL WINAPI
DllMain(
HINSTANCE hinstDLL,
#define UNIMPLEMENTED \
DbgPrint("ACLEDIT: %s at %s:%d is UNIMPLEMENTED!\n",__FUNCTION__,__FILE__,__LINE__)
-
DWORD
WINAPI
EditAuditInfo(DWORD Unknown)
+#ifndef _ACLUI_PCH_
+#define _ACLUI_PCH_
+
#define _ACLUI_
#include <stdarg.h>
DereferenceSidReqResult(IN HANDLE SidCacheMgr,
IN PSIDREQRESULT ReqResult);
-/* EOF */
+#endif /* _ACLUI_PCH_ */
#include <winternl.h>
#include <advpub.h>
+#include <wine/debug.h>
#include <wine/unicode.h>
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(advpack);
HRESULT do_ocx_reg(HMODULE hocx, BOOL do_reg, const WCHAR *flags, const WCHAR *param) DECLSPEC_HIDDEN;
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-
#include "advpack_private.h"
static const WCHAR REGINST[] = {'R','E','G','I','N','S','T',0};
HINSTANCE hDllInstance;
-
/*
* @unimplemented
*/
#define _AUTHZ_
+#include <stdarg.h>
+
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
-#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
} AUTHZ_CLIENT_CONTEXT, *PAUTHZ_CLIENT_CONTEXT;
#endif /* __AUTHZ_PRECOMP_H */
-/* EOF */
+#ifndef _BROWSEUI_PCH_
+#define _BROWSEUI_PCH_
+
#include <stdarg.h>
#define WIN32_NO_STATUS
#include "regtreeoptions.h"
WINE_DEFAULT_DEBUG_CHANNEL(browseui);
+
+#endif /* _BROWSEUI_PCH_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _DBGHELP_PRIVATE_H_
+#define _DBGHELP_PRIVATE_H_
+
#include <config.h>
#include <assert.h>
const char* name) DECLSPEC_HIDDEN;
#include "image_private.h"
+
+#endif /* _DBGHELP_PRIVATE_H_ */
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
*/
+#ifndef _DNSAPI_H
+#define _DNSAPI_H
+
/* INCLUDES ******************************************************************/
#include <stdarg.h>
}
return dst;
}
+
+#endif /* _DNSAPI_H */
* Hervé Poussineau (hpoussin@reactos.org)
*/
+#ifndef _FMIFS_PCH_
+#define _FMIFS_PCH_
+
/* INCLUDES ******************************************************************/
#define WIN32_NO_STATUS
GetProvider(
IN PWCHAR FileSytem);
-/* EOF */
+#endif /* _FMIFS_PCH_ */
+#ifndef _HID_PCH_
+#define _HID_PCH_
+
#include <stdarg.h>
#define WIN32_NO_STATUS
extern HINSTANCE hDllInstance;
extern const GUID HidClassGuid;
-/* EOF */
+#endif /* _HID_PCH_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _HLINK_PRIVATE_H
+#define _HLINK_PRIVATE_H
+
#include <stdarg.h>
#define WIN32_NO_STATUS
return ret;
}
+
+#endif /* _HLINK_PRIVATE_H */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <config.h>
+#ifndef _HNETCFG_PRIVATE_H_
+#define _HNETCFG_PRIVATE_H_
+
+#include <wine/config.h>
#include <stdarg.h>
HRESULT NetFwAuthorizedApplications_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN;
HRESULT NetFwOpenPorts_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN;
HRESULT NetFwServices_create(IUnknown *, LPVOID *) DECLSPEC_HIDDEN;
+
+#endif /* _HNETCFG_PRIVATE_H_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _IEFRAME_H_
+#define _IEFRAME_H_
+
#include <stdio.h>
#define WIN32_NO_STATUS
WideCharToMultiByte(CP_ACP, 0, str, -1, ret, len, 0, 0);
return ret;
}
+
+#endif /* _IEFRAME_H_ */
GetComputerNameExA(COMPUTER_NAME_FORMAT,LPSTR,LPDWORD);
#endif
-#endif/*IPPRIVATE_H*/
+#endif /* IPPRIVATE_H */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _WINE_JSCRIPT_H
+#define _WINE_JSCRIPT_H
+
#include <wine/config.h>
#include <wine/port.h>
#include "engine.h"
#include "regexp.h"
+
+#endif /* _WINE_JSCRIPT_H */
*
*/
+#ifndef _LPK_H
+#define _LPK_H
+
#include <stdarg.h>
#define WIN32_NO_STATUS
DWORD WINAPI LpkPSMTextOut(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5,DWORD x6);
DWORD WINAPI LpkUseGDIWidthCache(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5);
DWORD WINAPI ftsWordBreak(DWORD x1,DWORD x2,DWORD x3,DWORD x4,DWORD x5);
+
+#endif /* _LPK_H */
* PROGRAMMERS: Eric Kohl
*/
+#ifndef _LSASRV_H
+#define _LSASRV_H
+
#include <stdarg.h>
#define WIN32_NO_STATUS
PSID SrcSid,
ULONG Rid);
-/* EOF */
+#endif /* _LSASRV_H */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _MMDEVAPI_H_
+#define _MMDEVAPI_H_
+
#include <wine/config.h>
#include <wine/port.h>
extern HRESULT AudioEndpointVolume_Create(MMDevice *parent, IAudioEndpointVolume **ppv) DECLSPEC_HIDDEN;
extern const WCHAR drv_keyW[] DECLSPEC_HIDDEN;
+
+#endif /* _MMDEVAPI_H_ */
* UPDATE HISTORY:
* Mar 16, 2004: Created skeleton implementation
*/
-#include "mmdrv.h"
-#include "wave.h"
+#include "mmdrv.h"
#define NDEBUG
#include <debug.h>
+#include "wave.h"
+
APIENTRY DWORD auxMessage(UINT dwId,
UINT uMessage,
DWORD dwUser,
*/
#include "mmdrv.h"
-#include "wave.h"
#define NDEBUG
#include <debug.h>
+#include "wave.h"
+
// MIDI device instance information
//
#define LOCAL_DATA_SIZE 20
#include <stdarg.h>
#define WIN32_NO_STATUS
-
#include <windef.h>
#include <winbase.h>
#include <winioctl.h>
extern CRITICAL_SECTION critical_section;
-#endif
+#endif /* MMDRV_H */
#define IOCTL_SOUND_GET_CHANGED_VOLUME \
CTL_CODE(IOCTL_SOUND_BASE, IOCTL_AUX_BASE + 0x0004, METHOD_BUFFERED, FILE_READ_ACCESS)
-#endif
+#endif /* MMDRV_IOCTLS */
#define MAX_WAVE_BUFFER_SIZE 65536
-
MMRESULT
QueueWaveBuffer(
SessionInfo* session_info,
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <config.h>
+#ifndef _MSHTML_PRIVATE_H_
+#define _MSHTML_PRIVATE_H_
+
+#include <wine/config.h>
#include <assert.h>
#include <stdarg.h>
#include <wininet.h>
#include <nsiface.h>
+#include <wine/debug.h>
#include <wine/list.h>
#include <wine/unicode.h>
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(mshtml);
#define NS_ERROR_GENERATE_FAILURE(module,code) \
#include "htmlstyle.h"
#include "pluginhost.h"
#include "resource.h"
+
+#endif /* _MSHTML_PRIVATE_H_ */
#ifndef __WINE_MSI_PRIVATE__
#define __WINE_MSI_PRIVATE__
-#include <config.h>
+#include <wine/config.h>
-#include <stdarg.h>
#include <assert.h>
+#include <stdarg.h>
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <sddl.h>
#include <msidefs.h>
-#include <wine/list.h>
#include <wine/debug.h>
+#include <wine/list.h>
#include <wine/unicode.h>
static const BOOL is_64bit = sizeof(void *) > sizeof(int);
+#ifndef _MSPORTS_PCH_
+#define _MSPORTS_PCH_
+
#include <stdarg.h>
#define WIN32_NO_STATUS
#include "resource.h"
WINE_DEFAULT_DEBUG_CHANNEL(msports);
+
+#endif /* _MSPORTS_PCH_ */
+#ifndef _MSWSOCK_PCH_
+#define _MSWSOCK_PCH_
+
#include <stdarg.h>
#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
+
+#endif /* _MSWSOCK_PCH_ */
*/
#include "objsel_private.h"
+
#include <rpcproxy.h>
LONG dll_refs = 0;
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _OBJSEL_PRIVATE_H
+#define _OBJSEL_PRIVATE_H
+
#include <stdarg.h>
#define WIN32_NO_STATUS
HRESULT WINAPI OBJSEL_IDsObjectPicker_Create(LPVOID *ppvObj) DECLSPEC_HIDDEN;
extern ClassFactoryImpl OBJSEL_ClassFactory DECLSPEC_HIDDEN;
+
+#endif /* _OBJSEL_PRIVATE_H */
extern enumx_impl *enumx_allocate(REFIID, const void *, ULONG) DECLSPEC_HIDDEN;
extern void *enumx_add_element(enumx_impl *, const void *) DECLSPEC_HIDDEN;
-#endif
+#endif /* __OLE_ENUM_H__ */
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+
#ifndef __STORAGE32_H__
#define __STORAGE32_H__
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _PROPSYS_PRIVATE_H_
+#define _PROPSYS_PRIVATE_H_
+
#include <config.h>
#include <stdarg.h>
WINE_DEFAULT_DEBUG_CHANNEL(propsys);
HRESULT PropertyStore_CreateInstance(IUnknown *outer, REFIID riid, void **ppv) DECLSPEC_HIDDEN;
+
+#endif /* _PROPSYS_PRIVATE_H_ */
+#ifndef _RASADHLP_H
+#define _RASADHLP_H
+
#define _WIN32_WINNT 0x502
#define _CRT_SECURE_NO_DEPRECATE
#define WIN32_NO_STATUS
IN PAUTODIAL_ADDR ConnectionAddress
);
+#endif /* _RASADHLP_H */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _RICHED20_EDITOR_H
+#define _RICHED20_EDITOR_H
+
#include <config.h>
#include <assert.h>
/* clipboard.c */
HRESULT ME_GetDataObject(ME_TextEditor *editor, const ME_Cursor *start, int nChars, LPDATAOBJECT *lplpdataobj) DECLSPEC_HIDDEN;
+
+#endif /* _RICHED20_EDITOR_H */
+#ifndef _SAMLIB_PCH_
+#define _SAMLIB_PCH_
+
#include <stdarg.h>
#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
+
+#endif /* _SAMLIB_PCH_ */
* PROGRAMMERS: Eric Kohl
*/
+#ifndef _SAMSRV_PCH_
+#define _SAMSRV_PCH_
+
#include <stdio.h>
#include <stdlib.h>
WINAPI
SystemFunction007(PUNICODE_STRING string,
LPBYTE hash);
+
+#endif /* _SAMSRV_PCH_ */
#include <stdarg.h>
-#include <ntstatus.h>
-#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
+
+#include <ntstatus.h>
+#define WIN32_NO_STATUS
#include <windef.h>
#include <winbase.h>
#include <sspi.h>
* PROGRAMMER: Alex Ionescu (alex@relsoft.net)
*/
+#ifndef _SECUR32_PCH_
+#define _SECUR32_PCH_
+
#include <stdarg.h>
/* SDK/DDK/NDK Headers. */
#include <secext.h>
#include <security.h>
+
+#endif /* _SECUR32_PCH_ */
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
+
#define COBJMACROS
#include <windef.h>
#include <shlwapi.h>
#include <shlobj.h>
-#include <wine/unicode.h>
-
#include <wine/debug.h>
-WINE_DEFAULT_DEBUG_CHANNEL(shell);
+#include <wine/unicode.h>
#include "resource.h"
+WINE_DEFAULT_DEBUG_CHANNEL(shell);
+
#endif /* _SHLWAPI_PCH_ */
+#ifndef _SMDLL_PCH_
+#define _SMDLL_PCH_
+
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <windef.h>
+
+#endif /* _SMDLL_PCH_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _SPOOLSS_H_
+#define _SPOOLSS_H_
+
#include <stdarg.h>
#define WIN32_NO_STATUS
{
return HeapFree( GetProcessHeap(), 0, mem );
}
+
+#endif /* _SPOOLSS_H_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _SXS_PRIVATE_H_
+#define _SXS_PRIVATE_H_
+
#include <stdarg.h>
#define WIN32_NO_STATUS
if (dst) strcpyW( dst, src );
return dst;
}
+
+#endif /* _SXS_PRIVATE_H_ */
+#ifndef _SYSSETUP_PCH_
+#define _SYSSETUP_PCH_
+
#include <stdio.h>
#define WIN32_NO_STATUS
#include "globals.h"
#include "resource.h"
+
+#endif /* _SYSSETUP_PCH_ */
#ifndef _TAPI32_PCH_
#define _TAPI32_PCH_
-#include <config.h>
+#include <wine/config.h>
#include <stdarg.h>
#ifndef _TWAIN32_H
#define _TWAIN32_H
-#include <config.h>
+#include <wine/config.h>
#include <stdarg.h>
extern TW_UINT16 TWAIN_GetDSMStatus
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
-#endif
+#endif /* _TWAIN32_H */
+#ifndef _USERENV_PCH_
+#define _USERENV_PCH_
+
#include <stdio.h>
#define WIN32_NO_STATUS
#include <userenv.h>
#include "internal.h"
+
+#endif /* _USERENV_PCH_ */
*
*/
+#ifndef _USP10_INTERNAL_H_
+#define _USP10_INTERNAL_H_
+
#include <config.h>
#include <stdarg.h>
HRESULT OpenType_GetFontScriptTags(ScriptCache *psc, OPENTYPE_TAG searchingFor, int cMaxTags, OPENTYPE_TAG *pScriptTags, int *pcTags) DECLSPEC_HIDDEN;
HRESULT OpenType_GetFontLanguageTags(ScriptCache *psc, OPENTYPE_TAG script_tag, OPENTYPE_TAG searchingFor, int cMaxTags, OPENTYPE_TAG *pLanguageTags, int *pcTags) DECLSPEC_HIDDEN;
HRESULT OpenType_GetFontFeatureTags(ScriptCache *psc, OPENTYPE_TAG script_tag, OPENTYPE_TAG language_tag, BOOL filtered, OPENTYPE_TAG searchingFor, char tableType, int cMaxTags, OPENTYPE_TAG *pFeatureTags, int *pcTags, LoadedFeature** feature) DECLSPEC_HIDDEN;
+
+#endif /* _USP10_INTERNAL_H_ */
+#ifndef _UXTHEME_PCH_
+#define _UXTHEME_PCH_
+
#include <stdarg.h>
#define WIN32_NO_STATUS
#define ALPHABLEND_BINARY 1
/* Full alpha blending */
#define ALPHABLEND_FULL 2
+
+#endif /* _UXTHEME_PCH_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _VBSCRIPT_H
+#define _VBSCRIPT_H
+
#include <assert.h>
#include <stdarg.h>
#include "parse.h"
#include "regexp.h"
#include "vbscript_defs.h"
+
+#endif /* _VBSCRIPT_H */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <config.h>
+#ifndef _WBEMDISP_PRIVATE_H_
+#define _WBEMDISP_PRIVATE_H_
+
+#include <wine/config.h>
#include <stdarg.h>
{
return HeapFree( GetProcessHeap(), 0, mem );
}
+
+#endif /* _WBEMDISP_PRIVATE_H_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _WBEMPROX_PRIVATE_H_
+#define _WBEMPROX_PRIVATE_H_
+
#include <config.h>
#include <stdarg.h>
static const WCHAR param_userW[] = {'U','s','e','r',0};
static const WCHAR param_valueW[] = {'s','V','a','l','u','e',0};
static const WCHAR param_valuenameW[] = {'s','V','a','l','u','e','N','a','m','e',0};
+
+#endif /* _WBEMPROX_PRIVATE_H_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#ifndef _WINEMM_H_
+#define _WINEMM_H_
+
#include <wine/config.h>
#include <assert.h>
"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Drivers"
INT LoadRegistryMMEDrivers(char* key);
+
+#endif /* _WINEMM_H_ */
* NOTES: This file contains exported functions relevant to
* userinit, winlogon, lsass and friends in vista.
*/
+
#include "winsta.h"
VOID
* PROGRAMMER: Emanuele Aliberti <ea@reactos.com>
* Samuel Serapi?n
*/
+
#include "winsta.h"
HINSTANCE hDllInstance;
* NOTES: Misc functions.
*
*/
+
#include "winsta.h"
VOID
* PROGRAMMER: Samuel Serapi?n
* NOTE: Not needed, just here for the show.
*/
+
#include "winsta.h"
VOID
* PROGRAMMER: Samuel Serapi?n
*
*/
+
#include "winsta.h"
VOID
* native headers.
*/
-#include <config.h>
+#ifndef _WINLDAP_PRIVATE_H_
+#define _WINLDAP_PRIVATE_H_
+
+#include <wine/config.h>
#include <stdarg.h>
ULONG CDECL LdapMapErrorToWin32(ULONG);
int CDECL LdapUnicodeToUTF8(LPCWSTR,int,LPSTR,int);
int CDECL LdapUTF8ToUnicode(LPCSTR,int,LPWSTR,int);
+
+#endif /* _WINLDAP_PRIVATE_H_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+#pragma once
+
extern HINSTANCE hwldap32 DECLSPEC_HIDDEN;
ULONG map_error( int ) DECLSPEC_HIDDEN;
* PURPOSE: WinSock 2.2 Main Header
*/
+#ifndef _WS2_32_NEW_PCH_
+#define _WS2_32_NEW_PCH_
+
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
/* Internal headers */
#include "ws2_32p.h"
+
+#endif /* _WS2_32_NEW_PCH_ */
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <config.h>
+#ifndef _WUAPI_PRIVATE_H_
+#define _WUAPI_PRIVATE_H_
+
+#include <wine/config.h>
#include <stdarg.h>
extern HRESULT UpdateDownloader_create( IUnknown *pUnkOuter, LPVOID *ppObj ) DECLSPEC_HIDDEN;
extern HRESULT UpdateInstaller_create( IUnknown *pUnkOuter, LPVOID *ppObj ) DECLSPEC_HIDDEN;
extern HRESULT SystemInformation_create(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN;
+
+#endif /* _WUAPI_PRIVATE_H_ */