2003-06-21 02:07:10 +00:00
|
|
|
/*
|
|
|
|
* Kernel32 undocumented and private functions definition
|
|
|
|
*
|
|
|
|
* Copyright 2003 Eric Pouech
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
2006-05-18 12:49:52 +00:00
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
2003-06-21 02:07:10 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __WINE_KERNEL_PRIVATE_H
|
|
|
|
#define __WINE_KERNEL_PRIVATE_H
|
|
|
|
|
2022-03-31 10:06:40 +00:00
|
|
|
/* not compatible with windows */
|
|
|
|
struct kernelbase_global_data
|
|
|
|
{
|
|
|
|
struct mem_entry *mem_entries;
|
|
|
|
struct mem_entry *mem_entries_end;
|
|
|
|
};
|
|
|
|
|
|
|
|
void *WINAPI KernelBaseGetGlobalData(void);
|
|
|
|
|
|
|
|
extern struct kernelbase_global_data *kernelbase_global_data;
|
|
|
|
|
2019-06-27 13:53:28 +00:00
|
|
|
NTSTATUS WINAPI BaseGetNamedObjectDirectory( HANDLE *dir );
|
2003-06-21 02:07:10 +00:00
|
|
|
|
2019-10-01 07:36:16 +00:00
|
|
|
static inline BOOL set_ntstatus( NTSTATUS status )
|
|
|
|
{
|
|
|
|
if (status) SetLastError( RtlNtStatusToDosError( status ));
|
|
|
|
return !status;
|
|
|
|
}
|
|
|
|
|
2013-01-08 21:02:21 +00:00
|
|
|
extern SYSTEM_BASIC_INFORMATION system_info DECLSPEC_HIDDEN;
|
2004-02-12 00:00:55 +00:00
|
|
|
|
2011-04-21 08:23:57 +00:00
|
|
|
extern WCHAR *FILE_name_AtoW( LPCSTR name, BOOL alloc ) DECLSPEC_HIDDEN;
|
|
|
|
extern DWORD FILE_name_WtoA( LPCWSTR src, INT srclen, LPSTR dest, INT destlen ) DECLSPEC_HIDDEN;
|
2004-05-01 05:25:07 +00:00
|
|
|
|
2003-06-21 02:07:10 +00:00
|
|
|
#endif
|