Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
e49e8b20
Commit
e49e8b20
authored
Feb 29, 2008
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Add stubs for fiber local storage APIs.
parent
c8a0e98b
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
58 additions
and
0 deletions
+58
-0
fiber.c
dlls/kernel32/fiber.c
+48
-0
kernel32.spec
dlls/kernel32/kernel32.spec
+4
-0
winbase.h
include/winbase.h
+5
-0
winnt.h
include/winnt.h
+1
-0
No files found.
dlls/kernel32/fiber.c
View file @
e49e8b20
...
...
@@ -34,6 +34,9 @@
#include "winternl.h"
#include "wine/exception.h"
#include "wine/library.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
fiber
);
struct
fiber_data
{
...
...
@@ -201,3 +204,48 @@ void WINAPI SwitchToFiber( LPVOID fiber )
siglongjmp
(
new_fiber
->
jmpbuf
,
1
);
}
}
/***********************************************************************
* FlsAlloc (KERNEL32.@)
*/
DWORD
WINAPI
FlsAlloc
(
PFLS_CALLBACK_FUNCTION
callback
)
{
FIXME
(
"%p: stub!
\n
"
,
callback
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FLS_OUT_OF_INDEXES
;
}
/***********************************************************************
* FlsFree (KERNEL32.@)
*/
BOOL
WINAPI
FlsFree
(
DWORD
index
)
{
FIXME
(
"%x: stub!
\n
"
,
index
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
/***********************************************************************
* FlsGetValue (KERNEL32.@)
*/
PVOID
WINAPI
FlsGetValue
(
DWORD
index
)
{
FIXME
(
"%x: stub!
\n
"
,
index
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
NULL
;
}
/***********************************************************************
* FlsSetValue (KERNEL32.@)
*/
BOOL
WINAPI
FlsSetValue
(
DWORD
index
,
PVOID
data
)
{
FIXME
(
"%x, %p: stub!
\n
"
,
index
,
data
);
SetLastError
(
ERROR_CALL_NOT_IMPLEMENTED
);
return
FALSE
;
}
dlls/kernel32/kernel32.spec
View file @
e49e8b20
...
...
@@ -388,6 +388,10 @@
@ stdcall FindResourceW(long wstr wstr)
@ stdcall FindVolumeClose(ptr)
@ stdcall FindVolumeMountPointClose(ptr)
@ stdcall FlsAlloc(ptr)
@ stdcall FlsFree(long)
@ stdcall FlsGetValue(long)
@ stdcall FlsSetValue(long ptr)
@ stdcall FlushConsoleInputBuffer(long)
@ stdcall FlushFileBuffers(long)
@ stdcall FlushInstructionCache(long long long)
...
...
include/winbase.h
View file @
e49e8b20
...
...
@@ -315,6 +315,7 @@ typedef struct _PROCESS_HEAP_ENTRY
#define LOCKFILE_FAIL_IMMEDIATELY 1
#define LOCKFILE_EXCLUSIVE_LOCK 2
#define FLS_OUT_OF_INDEXES ((DWORD)~0UL)
#define TLS_OUT_OF_INDEXES ((DWORD)~0UL)
#define SHUTDOWN_NORETRY 1
...
...
@@ -1499,6 +1500,10 @@ WINBASEAPI BOOL WINAPI FindNextVolumeMountPointW(HANDLE,LPWSTR,DWORD);
#define FindNextVolumeMountPoint WINELIB_NAME_AW(FindNextVolumeMountPoint)
WINBASEAPI
BOOL
WINAPI
FindVolumeClose
(
HANDLE
);
WINBASEAPI
BOOL
WINAPI
FindVolumeMountPointClose
(
HANDLE
);
WINBASEAPI
DWORD
WINAPI
FlsAlloc
(
PFLS_CALLBACK_FUNCTION
);
WINBASEAPI
BOOL
WINAPI
FlsFree
(
DWORD
);
WINBASEAPI
PVOID
WINAPI
FlsGetValue
(
DWORD
);
WINBASEAPI
BOOL
WINAPI
FlsSetValue
(
DWORD
,
PVOID
);
WINBASEAPI
BOOL
WINAPI
FlushFileBuffers
(
HANDLE
);
WINBASEAPI
BOOL
WINAPI
FlushInstructionCache
(
HANDLE
,
LPCVOID
,
SIZE_T
);
WINBASEAPI
BOOL
WINAPI
FlushViewOfFile
(
LPCVOID
,
SIZE_T
);
...
...
include/winnt.h
View file @
e49e8b20
...
...
@@ -4699,6 +4699,7 @@ typedef struct _RTL_CRITICAL_SECTION {
}
RTL_CRITICAL_SECTION
,
*
PRTL_CRITICAL_SECTION
;
typedef
VOID
(
NTAPI
*
WAITORTIMERCALLBACKFUNC
)
(
PVOID
,
BOOLEAN
);
typedef
VOID
(
NTAPI
*
PFLS_CALLBACK_FUNCTION
)
(
PVOID
);
#include <pshpack8.h>
typedef
struct
_IO_COUNTERS
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment