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
c0ecc102
Commit
c0ecc102
authored
Dec 24, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 27, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskschd: Add registration for TaskScheduler interfaces.
parent
58b1b6b7
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
47 additions
and
4 deletions
+47
-4
configure
configure
+1
-1
configure.ac
configure.ac
+1
-1
Makefile.in
dlls/taskschd/Makefile.in
+2
-0
taskschd.c
dlls/taskschd/taskschd.c
+20
-0
taskschd.spec
dlls/taskschd/taskschd.spec
+2
-2
taskschd_tlb.idl
dlls/taskschd/taskschd_tlb.idl
+21
-0
No files found.
configure
View file @
c0ecc102
...
...
@@ -17152,7 +17152,7 @@ wine_fn_config_test dlls/sxs/tests sxs_test
wine_fn_config_dll system.drv16 enable_win16
wine_fn_config_dll t2embed enable_t2embed
wine_fn_config_dll tapi32 enable_tapi32 implib
wine_fn_config_dll taskschd enable_taskschd
wine_fn_config_dll taskschd enable_taskschd
clean
wine_fn_config_dll toolhelp.dll16 enable_win16
wine_fn_config_dll traffic enable_traffic
wine_fn_config_dll twain.dll16 enable_win16
...
...
configure.ac
View file @
c0ecc102
...
...
@@ -3195,7 +3195,7 @@ WINE_CONFIG_TEST(dlls/sxs/tests)
WINE_CONFIG_DLL(system.drv16,enable_win16)
WINE_CONFIG_DLL(t2embed)
WINE_CONFIG_DLL(tapi32,,[implib])
WINE_CONFIG_DLL(taskschd)
WINE_CONFIG_DLL(taskschd
,,[clean]
)
WINE_CONFIG_DLL(toolhelp.dll16,enable_win16)
WINE_CONFIG_DLL(traffic)
WINE_CONFIG_DLL(twain.dll16,enable_win16)
...
...
dlls/taskschd/Makefile.in
View file @
c0ecc102
...
...
@@ -4,4 +4,6 @@ C_SRCS = \
task.c
\
taskschd.c
IDL_TLB_SRCS
=
taskschd_tlb.idl
@MAKE_DLL_RULES@
dlls/taskschd/taskschd.c
View file @
c0ecc102
...
...
@@ -26,6 +26,7 @@
#include "windef.h"
#include "winbase.h"
#include "objbase.h"
#include "rpcproxy.h"
#include "taskschd.h"
#include "taskschd_private.h"
...
...
@@ -33,6 +34,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
taskschd
);
static
HINSTANCE
schd_instance
;
typedef
struct
{
IClassFactory
IClassFactory_iface
;
...
...
@@ -123,6 +126,7 @@ BOOL WINAPI DllMain(HINSTANCE hinst, DWORD reason, LPVOID reserved)
return
FALSE
;
/* prefer native version */
case
DLL_PROCESS_ATTACH
:
schd_instance
=
hinst
;
DisableThreadLibraryCalls
(
hinst
);
break
;
}
...
...
@@ -161,6 +165,22 @@ HRESULT WINAPI DllCanUnloadNow(void)
return
S_FALSE
;
}
/***********************************************************************
* DllRegisterServer
*/
HRESULT
WINAPI
DllRegisterServer
(
void
)
{
return
__wine_register_resources
(
schd_instance
);
}
/***********************************************************************
* DllUnregisterServer
*/
HRESULT
WINAPI
DllUnregisterServer
(
void
)
{
return
__wine_unregister_resources
(
schd_instance
);
}
const
char
*
debugstr_variant
(
const
VARIANT
*
v
)
{
if
(
!
v
)
return
"(null)"
;
...
...
dlls/taskschd/taskschd.spec
View file @
c0ecc102
@ stdcall -private DllCanUnloadNow()
@ stdcall -private DllGetClassObject(ptr ptr ptr)
@ stub DllGetVersion
@ st
ub DllRegisterServer
@ st
ub DllUnregisterServer
@ st
dcall -private DllRegisterServer()
@ st
dcall -private DllUnregisterServer()
dlls/taskschd/taskschd_tlb.idl
0 → 100644
View file @
c0ecc102
/*
*
Copyright
2013
Dmitry
Timoshkov
*
*
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
.
,
51
Franklin
St
,
Fifth
Floor
,
Boston
,
MA
02110
-
1301
,
USA
*/
#
pragma
makedep
regtypelib
#
include
"taskschd.idl"
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