Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
77d0ece9
Commit
77d0ece9
authored
Nov 10, 2009
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Nov 12, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avrt: Add initial stub implementation.
parent
7630a6f0
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
91 additions
and
1 deletion
+91
-1
configure
configure
+9
-0
configure.ac
configure.ac
+1
-0
Makefile.in
dlls/Makefile.in
+5
-0
Makefile.in
dlls/avrt/Makefile.in
+14
-0
avrt.spec
dlls/avrt/avrt.spec
+14
-0
main.c
dlls/avrt/main.c
+47
-0
avrt.h
include/avrt.h
+1
-1
No files found.
configure
View file @
77d0ece9
...
...
@@ -13959,6 +13959,14 @@ dlls/avifile.dll16/Makefile: dlls/avifile.dll16/Makefile.in dlls/Makedll.rules"
ac_config_files
=
"
$ac_config_files
dlls/avifile.dll16/Makefile"
ALL_MAKEFILES
=
"
$ALL_MAKEFILES
\\
dlls/avrt/Makefile"
test
"x
$enable_avrt
"
!=
xno
&&
ALL_DLL_DIRS
=
"
$ALL_DLL_DIRS
\\
avrt"
ALL_MAKEFILE_DEPENDS
=
"
$ALL_MAKEFILE_DEPENDS
dlls/avrt/Makefile: dlls/avrt/Makefile.in dlls/Makedll.rules"
ac_config_files
=
"
$ac_config_files
dlls/avrt/Makefile"
ALL_MAKEFILES
=
"
$ALL_MAKEFILES
\\
dlls/bcrypt/Makefile"
test
"x
$enable_bcrypt
"
!=
xno
&&
ALL_DLL_DIRS
=
"
$ALL_DLL_DIRS
\\
bcrypt"
...
...
@@ -18796,6 +18804,7 @@ do
"dlls/avicap32/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/avicap32/Makefile" ;;
"dlls/avifil32/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/avifil32/Makefile" ;;
"dlls/avifile.dll16/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/avifile.dll16/Makefile" ;;
"dlls/avrt/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/avrt/Makefile" ;;
"dlls/bcrypt/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/bcrypt/Makefile" ;;
"dlls/browseui/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/browseui/Makefile" ;;
"dlls/browseui/tests/Makefile") CONFIG_FILES="
$CONFIG_FILES
dlls/browseui/tests/Makefile" ;;
...
...
configure.ac
View file @
77d0ece9
...
...
@@ -2131,6 +2131,7 @@ WINE_CONFIG_MAKEFILE([dlls/authz/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_
WINE_CONFIG_MAKEFILE([dlls/avicap32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/avifil32/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/avifile.dll16/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS],[enable_win16])
WINE_CONFIG_MAKEFILE([dlls/avrt/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/bcrypt/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/browseui/Makefile],[dlls/Makedll.rules],[dlls],[ALL_DLL_DIRS])
WINE_CONFIG_MAKEFILE([dlls/browseui/tests/Makefile],[dlls/Maketest.rules],[dlls],[ALL_TEST_DIRS],[enable_tests])
...
...
dlls/Makefile.in
View file @
77d0ece9
...
...
@@ -72,6 +72,7 @@ IMPORT_LIBS = \
atl/libatl.
$(IMPLIBEXT)
\
avicap32/libavicap32.
$(IMPLIBEXT)
\
avifil32/libavifil32.
$(IMPLIBEXT)
\
avrt/libavrt.
$(IMPLIBEXT)
\
cabinet/libcabinet.
$(IMPLIBEXT)
\
capi2032/libcapi2032.
$(IMPLIBEXT)
\
cards/libcards.
$(IMPLIBEXT)
\
...
...
@@ -218,6 +219,7 @@ CROSS_IMPLIBS = \
atl/libatl.a
\
avicap32/libavicap32.a
\
avifil32/libavifil32.a
\
avrt/libavrt.a
\
cabinet/libcabinet.a
\
capi2032/libcapi2032.a
\
cards/libcards.a
\
...
...
@@ -380,6 +382,9 @@ avicap32/libavicap32.def avicap32/libavicap32.a: avicap32/avicap32.spec $(WINEBU
avifil32/libavifil32.def avifil32/libavifil32.a
:
avifil32/avifil32.spec $(WINEBUILD)
@
cd
avifil32
&&
$(MAKE)
`
basename
$@
`
avrt/libavrt.def avrt/libavrt.a
:
avrt/avrt.spec $(WINEBUILD)
@
cd
avrt
&&
$(MAKE)
`
basename
$@
`
cabinet/libcabinet.def cabinet/libcabinet.a
:
cabinet/cabinet.spec $(WINEBUILD)
@
cd
cabinet
&&
$(MAKE)
`
basename
$@
`
...
...
dlls/avrt/Makefile.in
0 → 100644
View file @
77d0ece9
TOPSRCDIR
=
@top_srcdir@
TOPOBJDIR
=
../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
avrt.dll
IMPORTLIB
=
avrt
IMPORTS
=
user32 kernel32 ntdll
C_SRCS
=
\
main.c
@MAKE_DLL_RULES@
@DEPENDENCIES@
# everything below this line is overwritten by make depend
dlls/avrt/avrt.spec
0 → 100644
View file @
77d0ece9
@ stub AvQuerySystemResponsiveness
@ stub AvRevertMmThreadCharacteristics
@ stub AvRtCreateThreadOrderingGroup
@ stub AvRtCreateThreadOrderingGroupExA
@ stub AvRtCreateThreadOrderingGroupExW
@ stub AvRtDeleteThreadOrderingGroup
@ stub AvRtJoinThreadOrderingGroup
@ stub AvRtLeaveThreadOrderingGroup
@ stub AvRtWaitOnThreadOrderingGroup
@ stub AvSetMmMaxThreadCharacteristicsA
@ stub AvSetMmMaxThreadCharacteristicsW
@ stub AvSetMmThreadCharacteristicsA
@ stub AvSetMmThreadCharacteristicsW
@ stub AvSetMmThreadPriority
dlls/avrt/main.c
0 → 100644
View file @
77d0ece9
/* Avrt dll implementation
*
* Copyright (C) 2009 Maarten Lankhorst
*
* This program 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 program 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 program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wine/debug.h"
#include "avrt.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
avrt
);
BOOL
WINAPI
DllMain
(
HINSTANCE
hinstDLL
,
DWORD
fdwReason
,
LPVOID
lpvReserved
)
{
TRACE
(
"(0x%p, %d, %p)
\n
"
,
hinstDLL
,
fdwReason
,
lpvReserved
);
switch
(
fdwReason
)
{
case
DLL_WINE_PREATTACH
:
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
DisableThreadLibraryCalls
(
hinstDLL
);
break
;
case
DLL_PROCESS_DETACH
:
break
;
}
return
TRUE
;
}
include/avrt.h
View file @
77d0ece9
...
...
@@ -57,7 +57,7 @@ BOOL WINAPI AvRtCreateThreadOrderingGroupExA(
LPCSTR
TaskName
);
BOOL
WINAPI
AvRtCreateThreadOrderingGroupExW
(
PHANDLE
Context
,
PLARGE_INTEGER
Period
,
GUID
*
ThreadOrderingGuid
,
PLARGE_INTEGER
Timeout
GUID
*
ThreadOrderingGuid
,
PLARGE_INTEGER
Timeout
,
LPCSTR
TaskName
);
#define AvRtCreateThreadOrderingGroupEx WINELIB_NAME_AW(AvRtCreateThreadOrderingGroupEx)
...
...
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