mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
Move ROSKY to a separate SVN module.
svn path=/trunk/; revision=16341
This commit is contained in:
parent
f992a4e417
commit
56ac965dc9
12 changed files with 0 additions and 2119 deletions
|
@ -1,57 +0,0 @@
|
|||
/*
|
||||
* ROSky - SkyOS Application Layer
|
||||
* Copyright (C) 2004 ReactOS Team
|
||||
*
|
||||
* 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
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
/* $Id$
|
||||
*
|
||||
* PROJECT: SkyOS library
|
||||
* FILE: lib/libsky/libsky.c
|
||||
* PURPOSE: SkyOS library
|
||||
*
|
||||
* UPDATE HISTORY:
|
||||
* 08/12/2004 Created
|
||||
*/
|
||||
|
||||
#include <windows.h>
|
||||
/* #define NDEBUG */
|
||||
#include "libsky.h"
|
||||
#include "resource.h"
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
void __cdecl
|
||||
__to_kernel(int ret)
|
||||
{
|
||||
DBG("__to_kernel: ret=0x%x\n", ret);
|
||||
ExitProcess(ret);
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
void __cdecl
|
||||
__libc_init_memory(void *end,
|
||||
void *__bss_end__,
|
||||
void *__bss_start__)
|
||||
{
|
||||
DBG("__libc_init_memory: end=0x%x __bss_end__=0x%x __bss_start__=0x%x\n", end, __bss_end__, __bss_start__);
|
||||
RtlZeroMemory(__bss_start__, (PCHAR)__bss_end__ - (PCHAR)__bss_start__);
|
||||
/* FIXME - initialize other stuff */
|
||||
}
|
||||
|
|
@ -1,344 +0,0 @@
|
|||
LIBRARY libsky.dll
|
||||
EXPORTS
|
||||
__libc_init_memory=__libc_init_memory
|
||||
__to_kernel=__to_kernel
|
||||
ctor_dtor_initialize=ctor_dtor_initialize
|
||||
get_usec_counter=get_usec_counter
|
||||
|
||||
; MSVCRT
|
||||
time=MSVCRT.time
|
||||
write=MSVCRT.write
|
||||
vsprintf=MSVCRT.vsprintf
|
||||
vsnprintf=MSVCRT.vsnprintf
|
||||
vprintf=MSVCRT.vprintf
|
||||
vfprintf=MSVCRT.vfprintf
|
||||
utime=MSVCRT._utime
|
||||
umask=MSVCRT._umask
|
||||
unsetenv=MSVCRT.unsetenv
|
||||
ungetc=MSVCRT.ungetc
|
||||
toupper=MSVCRT.toupper
|
||||
tolower=MSVCRT.tolower
|
||||
tmpfile=MSVCRT.tmpfile
|
||||
time=MSVCRT.time
|
||||
system=MSVCRT.system
|
||||
spawnvp=MSVCRT._spawnvp
|
||||
spawnv=MSVCRT._spawnv
|
||||
spawn=MSVCRT._spawn
|
||||
strupr=MSVCRT.strupr
|
||||
strtoupper=MSVCRT.strtoupper
|
||||
strtoul=MSVCRT.strtoul
|
||||
strtolower=MSVCRT.strtolower
|
||||
strtol=MSVCRT.strtol
|
||||
strtok=MSVCRT.strtok
|
||||
strtod=MSVCRT.strtod
|
||||
strstr=MSVCRT.strstr
|
||||
strspn=MSVCRT.strspn
|
||||
strrchr=MSVCRT.strrchr
|
||||
strpbrk=MSVCRT.strpbrk
|
||||
strnlen=MSVCRT.strnlen
|
||||
strncpy=MSVCRT.strncpy
|
||||
strncmp=MSVCRT.strncmp
|
||||
strncat=MSVCRT.strncat
|
||||
strncasecmp=MSVCRT.strncasecmp
|
||||
strlwr=MSVCRT.strlwr
|
||||
strlen=MSVCRT.strlen
|
||||
strftime=MSVCRT.strftime
|
||||
strerror=MSVCRT.strerror
|
||||
strdup=MSVCRT.strdup
|
||||
strcspn=MSVCRT.strcspn
|
||||
strcpy=MSVCRT.strcpy
|
||||
strcoll=MSVCRT.strcoll
|
||||
strcmp=MSVCRT.strcmp
|
||||
strchr=MSVCRT.strchr
|
||||
strcat=MSVCRT.strcat
|
||||
strcasecmp=MSVCRT.strcasecmp
|
||||
stat=MSVCRT.stat
|
||||
sscanf=MSVCRT.sscanf
|
||||
srand=MSVCRT.srand
|
||||
sprintf=MSVCRT.sprintf
|
||||
setvbuf=MSVCRT.setvbuf
|
||||
setmode=MSVCRT.setmode
|
||||
setjmp=MSVCRT.setjmp
|
||||
setenv=MSVCRT.setenv
|
||||
setbuf=MSVCRT.setbuf
|
||||
seek=MSVCRT.seek
|
||||
rmdir=MSVCRT.rmdir
|
||||
rewind=MSVCRT.rewind
|
||||
rename=MSVCRT.rename
|
||||
remove=MSVCRT.remove
|
||||
realloc=MSVCRT.realloc
|
||||
read=MSVCRT.read
|
||||
rand=MSVCRT.rand
|
||||
raise=MSVCRT.raise
|
||||
qsort=MSVCRT.qsort
|
||||
puts=MSVCRT.puts
|
||||
putenv=MSVCRT.putenv
|
||||
putchar=MSVCRT.putchar
|
||||
printf=MSVCRT.printf
|
||||
popen=MSVCRT.popen
|
||||
pipe=MSVCRT.pipe
|
||||
pclose=MSVCRT.pclose
|
||||
open=MSVCRT.open
|
||||
mktime=MSVCRT.mktime
|
||||
mktemp=MSVCRT.mktemp
|
||||
mkdir=MSVCRT.mkdir
|
||||
memset=MSVCRT.memset
|
||||
memmove=MSVCRT.memmove
|
||||
memcpy=MSVCRT.memcpy
|
||||
memcmp=MSVCRT.memcmp
|
||||
memchr=MSVCRT.memchr
|
||||
malloc=MSVCRT.malloc
|
||||
lseek=MSVCRT.lseek
|
||||
longjmp=MSVCRT.longjmp
|
||||
localtime=MSVCRT.localtime
|
||||
isxdigit=MSVCRT.isxdigit
|
||||
isupper=MSVCRT.isupper
|
||||
isspace=MSVCRT.isspace
|
||||
ispunct=MSVCRT.ispunct
|
||||
isprint=MSVCRT.isprint
|
||||
islower=MSVCRT.islower
|
||||
isgraph=MSVCRT.isgraph
|
||||
isdigit=MSVCRT.isdigit
|
||||
iscntrl=MSVCRT.iscntrl
|
||||
isatty=MSVCRT.isatty
|
||||
isascii=MSVCRT.isascii
|
||||
isalpha=MSVCRT.isalpha
|
||||
isalnum=MSVCRT.isalnum
|
||||
gmtime=MSVCRT.gmtime
|
||||
gets=MSVCRT.gets
|
||||
getenv=MSVCRT.getenv
|
||||
getcwd=MSVCRT.getcwd
|
||||
fwrite=MSVCRT.fwrite
|
||||
ftruncate=MSVCRT.ftruncate
|
||||
ftell=MSVCRT.ftell
|
||||
fstat=MSVCRT.fstat
|
||||
fseek=MSVCRT.fseek
|
||||
fscanf=MSVCRT.fscanf
|
||||
freopen=MSVCRT.freopen
|
||||
free=MSVCRT.free
|
||||
fread=MSVCRT.fread
|
||||
fputs=MSVCRT.fputs
|
||||
fputc=MSVCRT.fputc
|
||||
fprintf=MSVCRT.fprintf
|
||||
fopen=MSVCRT.fopen
|
||||
fileno=MSVCRT.fileno
|
||||
filelength=MSVCRT._filelength
|
||||
fgets=MSVCRT.fgets
|
||||
fgetpos=MSVCRT.fgetpos
|
||||
fgetc=MSVCRT.fgetc
|
||||
fflush=MSVCRT.fflush
|
||||
fdopen=MSVCRT.fdopen
|
||||
fcntl=MSVCRT.fcntl
|
||||
fclose=MSVCRT.fclose
|
||||
fchmod=MSVCRT.fchmod
|
||||
exit=MSVCRT.exit
|
||||
execvp=MSVCRT._execvp
|
||||
execv=MSVCRT._execv
|
||||
execl=MSVCRT._execl
|
||||
exec=MSVCRT._exec
|
||||
dup2=MSVCRT._dup2
|
||||
dup=MSVCRT._dup
|
||||
ctime=MSVCRT.ctime
|
||||
creat=MSVCRT._creat
|
||||
close=MSVCRT.close
|
||||
chmod=MSVCRT.chmod
|
||||
chdir=MSVCRT.chdir
|
||||
calloc=MSVCRT.calloc
|
||||
bsearch=MSVCRT.bsearch
|
||||
atol=MSVCRT.atol
|
||||
atoi=MSVCRT.atoi
|
||||
atof=MSVCRT.atof
|
||||
atexit=MSVCRT.atexit
|
||||
asctime=MSVCRT.asctime
|
||||
access=MSVCRT._access
|
||||
abs=MSVCRT.abs
|
||||
abort=MSVCRT.abort
|
||||
|
||||
; WS2_32
|
||||
socket=WS2_32.socket
|
||||
setsockopt=WS2_32.setsockopt
|
||||
sendto=WS2_32.sendto
|
||||
send=WS2_32.send
|
||||
select=WS2_32.select
|
||||
recvfrom=WS2_32.recvfrom
|
||||
recv=WS2_32.recv
|
||||
ntohs=WS2_32.ntohs
|
||||
ntohl=WS2_32.ntohl
|
||||
ioctlsocket=WS2_32.ioctlsocket
|
||||
inet_ntoa=WS2_32.inet_ntoa
|
||||
inet_addr=WS2_32.inet_addr
|
||||
htons=WS2_32.htons
|
||||
htonl=WS2_32.htonl
|
||||
getsockopt=WS2_32.getsockopt
|
||||
getsockname=WS2_32.getsockname
|
||||
getservbyname=WS2_32.getservbyname
|
||||
getpeername=WS2_32.getpeername
|
||||
gethostname=WS2_32.gethostname
|
||||
gethostbyaddr=WS2_32.gethostbyaddr
|
||||
connect=WS2_32.connect
|
||||
closesocket=WS2_32.closesocket
|
||||
accept=WS2_32.accept
|
||||
|
||||
; NTDLL
|
||||
_alloca=NTDLL._alloca_probe
|
||||
|
||||
;waittask
|
||||
;waitpid
|
||||
;wait_for_task_state
|
||||
;wait
|
||||
;vfork
|
||||
;unlink
|
||||
;umount
|
||||
;tcsetattr
|
||||
;tcgetattr
|
||||
;tasklogging
|
||||
;system_shutdown
|
||||
;sys_setgroups
|
||||
;sys_nerr
|
||||
;sys_info
|
||||
;sys_errlist
|
||||
;sync
|
||||
;sleeptaskusec
|
||||
;sleep
|
||||
;skyos_get_file_from_path
|
||||
;signal
|
||||
;shutdown
|
||||
;setuid
|
||||
;setpwent
|
||||
;sethostname
|
||||
;setgroups
|
||||
;setgrent
|
||||
;setgid
|
||||
;set_quantum
|
||||
;set_optind
|
||||
;set_optarg
|
||||
;semaphore_release
|
||||
;semaphore_destroy
|
||||
;semaphore_create
|
||||
;semaphore_aquire
|
||||
;sbrk
|
||||
;rindex
|
||||
;readdir
|
||||
;pspawn
|
||||
;printd
|
||||
;posix_ioctl
|
||||
;perror
|
||||
;os_image_info
|
||||
;opendir
|
||||
;mount
|
||||
;module_unload
|
||||
;mmap
|
||||
;mem_dump_stdout
|
||||
;mem_dump
|
||||
;lstat
|
||||
;listen
|
||||
;link
|
||||
;libc_get_impure_ptr
|
||||
;inet_aton
|
||||
;kill
|
||||
;keyboard_set_mapping
|
||||
;kernel_mem_dump
|
||||
;ioctl
|
||||
;index
|
||||
;in_ntoa
|
||||
;in_aton
|
||||
;hex2dec
|
||||
;getwd
|
||||
;getuser
|
||||
;getuid
|
||||
;gettimeofday
|
||||
;gettaskname
|
||||
;getpwuid
|
||||
;getpwnam
|
||||
;getpwent
|
||||
;getpid
|
||||
;getpass
|
||||
;getoptind
|
||||
;getoptargpointer
|
||||
;getopt
|
||||
;getlogin
|
||||
;getgroups
|
||||
;getgroup
|
||||
;getgrnam
|
||||
;getgrid
|
||||
;getgrgid
|
||||
;getgrent
|
||||
;getgid
|
||||
;geteuid
|
||||
;getegid
|
||||
;get_usec_counter
|
||||
;get_ticks
|
||||
;get_task_state
|
||||
;get_task_info
|
||||
;get_environ
|
||||
;get_curtime
|
||||
;fsync
|
||||
;fsinfo
|
||||
;fork
|
||||
;exec_for_debug
|
||||
;exec_arg
|
||||
;environ_get
|
||||
;endpwent
|
||||
;endgrent
|
||||
;do_statfs
|
||||
;dlm_module_info
|
||||
;dlm_load
|
||||
;debug_data
|
||||
;createdir
|
||||
;create_ramdisk
|
||||
;closedir
|
||||
;chown
|
||||
;check_task_valid
|
||||
;cache_set_size
|
||||
;bzero
|
||||
;bind
|
||||
;bcopy
|
||||
;bcmp
|
||||
;alarm
|
||||
;_readline
|
||||
;_getopt_internal
|
||||
;_exit
|
||||
;__umoddi3
|
||||
;__udivdi3
|
||||
;__to_kernel
|
||||
;__tcsetattr
|
||||
;__tcgetattr
|
||||
;__swbuf
|
||||
;__srget
|
||||
;__pure_virtual
|
||||
;__moddi3
|
||||
;__errno
|
||||
;__divdi3
|
||||
;__builtin_vec_new
|
||||
;__builtin_vec_delete
|
||||
;__builtin_new
|
||||
;__builtin_delete
|
||||
;__assert
|
||||
;TimeDebugAdd
|
||||
;TimeDebug
|
||||
;ThreadSuspend
|
||||
;ThreadSleep
|
||||
;ThreadSetState
|
||||
;ThreadResume
|
||||
;ThreadIsValid
|
||||
;ThreadGetPid
|
||||
;ThreadCreate
|
||||
;SystemGetPartitionSize
|
||||
;SystemGetPartitionInfo
|
||||
;SystemGetDiskParameter
|
||||
;SystemEventServices_Initialize
|
||||
;ParseIniFile
|
||||
;GetStringOption
|
||||
;GetOption
|
||||
;GetMeasureValue
|
||||
;GetMeasurePointByIndex
|
||||
;GetLongOption
|
||||
;GetDllFunction
|
||||
;GetDirEntry
|
||||
;GetBootKey
|
||||
;DllMainDefault
|
||||
;DllLoadKernel
|
||||
;DllLoad
|
||||
;CheckBootOption
|
||||
|
||||
; EOF
|
|
@ -1,21 +0,0 @@
|
|||
#ifndef __LIBSKY_H
|
||||
#define __LIBSKY_H
|
||||
|
||||
void __cdecl DbgPrint(char *, ...);
|
||||
|
||||
#ifdef DEBUG
|
||||
# ifdef NDEBUG
|
||||
# define DBG(...)
|
||||
# else
|
||||
# define DBG DbgPrint
|
||||
# endif
|
||||
# define DBG1 DbgPrint
|
||||
#else
|
||||
# define DBG(...)
|
||||
# define DBG1(...)
|
||||
#endif
|
||||
#define STUB DbgPrint("Stub in %s:%i: ", __FILE__, __LINE__); DbgPrint
|
||||
|
||||
#endif /* __LIBSKY_H */
|
||||
|
||||
/* EOF */
|
|
@ -1,7 +0,0 @@
|
|||
/* $Id$ */
|
||||
|
||||
#define REACTOS_VERSION_DLL
|
||||
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS SkyOS library\0"
|
||||
#define REACTOS_STR_INTERNAL_NAME "libsky\0"
|
||||
#define REACTOS_STR_ORIGINAL_FILENAME "libsky.dll\0"
|
||||
#include <reactos/version.rc>
|
|
@ -1,6 +0,0 @@
|
|||
#ifndef __LIBSKY_RESOURCE_H
|
||||
#define __LIBSKY_RESOURCE_H
|
||||
|
||||
#endif /* __LIBSKY_RESOURCE_H */
|
||||
|
||||
/* EOF */
|
|
@ -1,107 +0,0 @@
|
|||
/* $Id$
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: SkyOS library
|
||||
* FILE: lib/libsky/stubs.c
|
||||
* PURPOSE: libsky.dll stubs
|
||||
* NOTES: If you implement a function, remove it from this file
|
||||
*
|
||||
* UPDATE HISTORY:
|
||||
* 08/12/2004 Created
|
||||
*/
|
||||
#include <windows.h>
|
||||
/* #define NDEBUG */
|
||||
#include "libsky.h"
|
||||
|
||||
|
||||
typedef void (__cdecl *func_ptr) (void);
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
void __cdecl
|
||||
ctor_dtor_initialize(func_ptr *__CTOR_LIST__,
|
||||
func_ptr *__DTOR_LIST__,
|
||||
void *unknown)
|
||||
{
|
||||
STUB("ctor_dtor_initialize: __CTOR_LIST__=0x%x __DTOR_LIST__=0x%x unknown=0x%x\n", __CTOR_LIST__, __DTOR_LIST__, unknown);
|
||||
|
||||
/* unknown apparently is the virtual address of the .bss section, but what should
|
||||
* we do with it?! Perhaps load a list of constructor/destructor addresses to this
|
||||
* address before we call them?
|
||||
*/
|
||||
|
||||
/*
|
||||
* Call constructors
|
||||
*/
|
||||
if(__CTOR_LIST__ != NULL)
|
||||
{
|
||||
unsigned long nptrs;
|
||||
/*
|
||||
* If the first entry in the constructor list is -1 then the list
|
||||
* is terminated with a null entry. Otherwise the first entry was
|
||||
* the number of pointers in the list.
|
||||
*/
|
||||
DBG("Calling constructors...\n");
|
||||
nptrs = (unsigned long)__CTOR_LIST__[0];
|
||||
if (nptrs == -1)
|
||||
{
|
||||
for(nptrs = 0; __CTOR_LIST__[nptrs + 1] != NULL; nptrs++);
|
||||
}
|
||||
DBG("There are %d constructors to call...\n", nptrs);
|
||||
|
||||
/*
|
||||
* Go through the list backwards calling constructors.
|
||||
* FIXME - backwards?! This is ripped off crtdll\misc\gccmain.c
|
||||
*/
|
||||
for(; nptrs > 0; nptrs--)
|
||||
{
|
||||
DBG("call constructor 0x%x\n", __CTOR_LIST__[nptrs]);
|
||||
__CTOR_LIST__[nptrs]();
|
||||
}
|
||||
DBG("Called all constructors\n");
|
||||
}
|
||||
|
||||
/*
|
||||
* Call destructors
|
||||
*/
|
||||
if(__DTOR_LIST__ != NULL)
|
||||
{
|
||||
unsigned long nptrs;
|
||||
/*
|
||||
* If the first entry in the destructor list is -1 then the list
|
||||
* is terminated with a null entry. Otherwise the first entry was
|
||||
* the number of pointers in the list.
|
||||
*/
|
||||
DBG("Calling destructors...\n");
|
||||
nptrs = (unsigned long)__DTOR_LIST__[0];
|
||||
if (nptrs == -1)
|
||||
{
|
||||
for(nptrs = 0; __DTOR_LIST__[nptrs + 1] != NULL; nptrs++);
|
||||
}
|
||||
DBG("There are %d destructors to call...\n", nptrs);
|
||||
|
||||
/*
|
||||
* Go through the list backwards calling constructors.
|
||||
* FIXME - backwards?! This is ripped off crtdll\misc\gccmain.c
|
||||
*/
|
||||
for(; nptrs > 0; nptrs--)
|
||||
{
|
||||
DBG("call destructor 0x%x\n", __DTOR_LIST__[nptrs]);
|
||||
__DTOR_LIST__[nptrs]();
|
||||
}
|
||||
DBG("Called all destructors\n");
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
unsigned long long __cdecl
|
||||
get_usec_counter(void)
|
||||
{
|
||||
/* FIXME - better implementation */
|
||||
return (unsigned long long)GetTickCount() * 1000LL;
|
||||
}
|
||||
|
||||
/* EOF */
|
File diff suppressed because it is too large
Load diff
|
@ -1,55 +0,0 @@
|
|||
LIBRARY libskygi.dll
|
||||
|
||||
EXPORTS
|
||||
DefaultWindowFunc
|
||||
GC_ResetBlit
|
||||
GC_blit
|
||||
GC_create_connected
|
||||
GC_destroy
|
||||
GC_draw_line
|
||||
GC_draw_rect_fill
|
||||
GC_set_bg_color
|
||||
GI_ShowApplicationWindow
|
||||
GI_add_menu_item
|
||||
GI_add_menu_sub
|
||||
GI_create_DDB_from_DIB
|
||||
GI_create_app
|
||||
GI_create_menu
|
||||
GI_create_menu_item
|
||||
GI_destroy_window
|
||||
GI_dispatch_message
|
||||
GI_kill_timer
|
||||
GI_load_bitmap
|
||||
GI_messagebox
|
||||
GI_post_quit
|
||||
GI_set_high_timer
|
||||
GI_wait_message
|
||||
GC_draw_text
|
||||
GC_set_fg_color
|
||||
GC_set_font
|
||||
GC_set_font_size
|
||||
GC_set_font_flags
|
||||
GC_set_font_param
|
||||
GI_CreateApplicationStruct
|
||||
GI_CreateApplication
|
||||
GI_EnableMouseTracking
|
||||
GI_GetTopLevelWindow
|
||||
GI_GetWindowX
|
||||
GI_GetWindowY
|
||||
GI_GetWindowWidth
|
||||
GI_GetWindowHeight
|
||||
GI_create_font
|
||||
GI_textheight
|
||||
GI_textlength
|
||||
GI_init
|
||||
GI_set_dimension
|
||||
GC_blit_from_DIB
|
||||
GC_draw_pixel
|
||||
GC_set_clip
|
||||
GI_create_DIB
|
||||
GI_redraw_window
|
||||
GI_ScaleDIB
|
||||
GI_get_resolution
|
||||
GI_widget_status_set
|
||||
|
||||
; EOF
|
|
@ -1,11 +0,0 @@
|
|||
#ifndef __LIBSKY_H
|
||||
#define __LIBSKY_H
|
||||
|
||||
ULONG DbgPrint(PCH Format,...);
|
||||
|
||||
#define DBG DbgPrint
|
||||
#define STUB DbgPrint("Stub in %s:%i: ", __FILE__, __LINE__); DbgPrint
|
||||
|
||||
#endif /* __LIBSKY_H */
|
||||
|
||||
/* EOF */
|
|
@ -1,7 +0,0 @@
|
|||
/* $Id$ */
|
||||
|
||||
#define REACTOS_VERSION_DLL
|
||||
#define REACTOS_STR_FILE_DESCRIPTION "ReactOS SkyOS GI library\0"
|
||||
#define REACTOS_STR_INTERNAL_NAME "libskygi\0"
|
||||
#define REACTOS_STR_ORIGINAL_FILENAME "libskygi.dll\0"
|
||||
#include <reactos/version.rc>
|
|
@ -1,6 +0,0 @@
|
|||
#ifndef __LIBSKY_RESOURCE_H
|
||||
#define __LIBSKY_RESOURCE_H
|
||||
|
||||
#endif /* __LIBSKY_RESOURCE_H */
|
||||
|
||||
/* EOF */
|
|
@ -1,288 +0,0 @@
|
|||
/* $Id$
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: SkyOS GI library
|
||||
* FILE: lib/libskygi/stubs.c
|
||||
* PURPOSE: libskygi.dll stubs
|
||||
* NOTES: If you implement a function, remove it from this file
|
||||
*
|
||||
* UPDATE HISTORY:
|
||||
* 08/12/2004 Created
|
||||
*/
|
||||
#include <windows.h>
|
||||
#include <rosky/rosky.h>
|
||||
#include "libskygi.h"
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
DefaultWindowFunc(s_window *win,
|
||||
s_gi_msg *pMsg)
|
||||
{
|
||||
STUB("DefaultWindowFunc(0x%x, 0x%x) returns 0!\n", win, pMsg);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GC_ResetBlit(sBlit *pBlit)
|
||||
{
|
||||
STUB("GC_ResetBlit(0x%x) returns 0!\n", pBlit);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GC_blit(GC *gc,
|
||||
sBlit *pBlit)
|
||||
{
|
||||
STUB("GC_blit(0x%x, 0x%x) returns 0!\n", gc, pBlit);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DDB* __cdecl
|
||||
GI_create_DDB_from_DIB(DIB *dib)
|
||||
{
|
||||
STUB("GI_create_DDB_from_DIB(0x%x) returns NULL!\n", dib);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GI_kill_timer(unsigned int uiID)
|
||||
{
|
||||
STUB("GI_kill_timer(0x%x) returns 0!\n", uiID);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
unsigned int __cdecl
|
||||
GI_set_high_timer(HANDLE w,
|
||||
unsigned int msec)
|
||||
{
|
||||
STUB("GI_set_high_timer(0x%x, 0x%x) returns 0!\n", w, msec);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GC_draw_text(GC *gc,
|
||||
s_region *rect,
|
||||
unsigned char *text)
|
||||
{
|
||||
STUB("GC_draw_text(0x%x, 0x%x, 0x%x) returns 0!\n", gc, rect, text);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GC_set_font(GC *gc,
|
||||
unsigned int fontIndex)
|
||||
{
|
||||
STUB("GC_set_font(0x%x, 0x%x) returns 0!\n", gc, fontIndex);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GC_set_font_size(GC *gc,
|
||||
unsigned int fontSize)
|
||||
{
|
||||
STUB("GC_set_font_size(0x%x, 0x%x) returns 0!\n", gc, fontSize);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GC_set_font_flags(GC *gc,
|
||||
unsigned int flags)
|
||||
{
|
||||
STUB("GC_set_font_flags(0x%x, 0x%x) returns 0!\n", gc, flags);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GC_set_font_param(GC *gc,
|
||||
unsigned int font,
|
||||
unsigned int fontsize,
|
||||
unsigned int flags,
|
||||
unsigned int trans)
|
||||
{
|
||||
STUB("GC_set_font_param(0x%x, 0x%x, 0x%x, 0x%x, 0x%x) returns 0!\n", gc, font, fontsize, flags, trans);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
HANDLE __cdecl
|
||||
GI_CreateApplication(sCreateApplication *application)
|
||||
{
|
||||
STUB("GI_CreateApplication(0x%x) returns NULL!\n", application);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GI_create_font(unsigned char *family,
|
||||
unsigned char *style,
|
||||
unsigned char *filename)
|
||||
{
|
||||
STUB("GI_create_font(0x%x, 0x%x, 0x%x) returns 0!\n", family, style, filename);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GI_textheight(unsigned int index,
|
||||
unsigned int size,
|
||||
unsigned char *text)
|
||||
{
|
||||
STUB("GI_textheight(0x%x, 0x%x, 0x%x) returns 0!\n", index, size, text);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GI_textlength(unsigned int index,
|
||||
unsigned int size,
|
||||
unsigned char *text)
|
||||
{
|
||||
STUB("GI_textlength(0x%x, 0x%x, 0x%x) returns 0!\n", index, size, text);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GI_init(void)
|
||||
{
|
||||
STUB("GI_init() returns 0!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GI_set_dimension(s_window *win,
|
||||
int notify,
|
||||
int x1,
|
||||
int y1,
|
||||
unsigned int width,
|
||||
unsigned int height)
|
||||
{
|
||||
STUB("GI_set_dimension(0x%x, 0x%x, 0x%x, 0x%x, 0x%x, 0x%x) returns 0!\n", win, notify, x1, y1, width, height);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GC_set_clip(GC *gc,
|
||||
s_region *clip)
|
||||
{
|
||||
STUB("GC_set_clip(0x%x, 0x%x) returns 0!\n", gc, clip);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DIB* __cdecl
|
||||
GI_ScaleDIB(DIB *srcbitmap,
|
||||
int iWidth,
|
||||
int iHeight,
|
||||
int filtertype,
|
||||
float filterwidth)
|
||||
{
|
||||
STUB("GI_ScaleDIB(0x%x, 0x%x, 0x%x, 0x%x, 0x%x) returns 0!\n", srcbitmap, iWidth, iHeight, filtertype, filterwidth);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GI_get_resolution(s_resolution *res)
|
||||
{
|
||||
STUB("GI_get_resolution(0x%x) returns 0!\n", res);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
int __cdecl
|
||||
GI_widget_status_set(s_window *win,
|
||||
unsigned char *text)
|
||||
{
|
||||
STUB("GI_widget_status_set(0x%x, 0x%x) returns 0!\n", win, text);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
DIB* __cdecl
|
||||
GI_load_bitmap(char *filename,
|
||||
unsigned int ImageIndex)
|
||||
{
|
||||
STUB("GI_load_bitmap(%s, 0x%x) returns NULL!\n", filename, ImageIndex);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* EOF */
|
Loading…
Reference in a new issue