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
f925d0d8
Commit
f925d0d8
authored
Feb 18, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 18, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskschd: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e0c75af0
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
71 additions
and
72 deletions
+71
-72
Makefile.in
dlls/taskschd/Makefile.in
+0
-1
folder.c
dlls/taskschd/folder.c
+14
-14
folder_collection.c
dlls/taskschd/folder_collection.c
+5
-5
regtask.c
dlls/taskschd/regtask.c
+11
-11
task.c
dlls/taskschd/task.c
+41
-41
No files found.
dlls/taskschd/Makefile.in
View file @
f925d0d8
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
taskschd.dll
IMPORTS
=
oleaut32 ole32 advapi32 xmllite rpcrt4
...
...
dlls/taskschd/folder.c
View file @
f925d0d8
...
...
@@ -93,21 +93,21 @@ static HRESULT WINAPI TaskFolder_GetTypeInfoCount(ITaskFolder *iface, UINT *coun
static
HRESULT
WINAPI
TaskFolder_GetTypeInfo
(
ITaskFolder
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TaskFolder_GetIDsOfNames
(
ITaskFolder
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TaskFolder_Invoke
(
ITaskFolder
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -163,12 +163,12 @@ static HRESULT WINAPI TaskFolder_GetFolders(ITaskFolder *iface, LONG flags, ITas
{
TaskFolder
*
folder
=
impl_from_ITaskFolder
(
iface
);
TRACE
(
"%p,%x,%p: stub
\n
"
,
iface
,
flags
,
folders
);
TRACE
(
"%p,%
l
x,%p: stub
\n
"
,
iface
,
flags
,
folders
);
if
(
!
folders
)
return
E_POINTER
;
if
(
flags
)
FIXME
(
"unsupported flags %x
\n
"
,
flags
);
FIXME
(
"unsupported flags %
l
x
\n
"
,
flags
);
return
TaskFolderCollection_create
(
folder
->
path
,
folders
);
}
...
...
@@ -242,12 +242,12 @@ static HRESULT WINAPI TaskFolder_DeleteFolder(ITaskFolder *iface, BSTR name, LON
WCHAR
*
folder_path
;
HRESULT
hr
;
TRACE
(
"%p,%s,%x
\n
"
,
iface
,
debugstr_w
(
name
),
flags
);
TRACE
(
"%p,%s,%
l
x
\n
"
,
iface
,
debugstr_w
(
name
),
flags
);
if
(
!
name
||
!*
name
)
return
E_ACCESSDENIED
;
if
(
flags
)
FIXME
(
"unsupported flags %x
\n
"
,
flags
);
FIXME
(
"unsupported flags %
l
x
\n
"
,
flags
);
folder_path
=
get_full_path
(
folder
->
path
,
name
);
if
(
!
folder_path
)
return
E_OUTOFMEMORY
;
...
...
@@ -280,7 +280,7 @@ static HRESULT WINAPI TaskFolder_GetTasks(ITaskFolder *iface, LONG flags, IRegis
{
TaskFolder
*
folder
=
impl_from_ITaskFolder
(
iface
);
TRACE
(
"%p,%x,%p: stub
\n
"
,
iface
,
flags
,
tasks
);
TRACE
(
"%p,%
l
x,%p: stub
\n
"
,
iface
,
flags
,
tasks
);
if
(
!
tasks
)
return
E_POINTER
;
...
...
@@ -293,12 +293,12 @@ static HRESULT WINAPI TaskFolder_DeleteTask(ITaskFolder *iface, BSTR name, LONG
WCHAR
*
folder_path
;
HRESULT
hr
;
TRACE
(
"%p,%s,%x
\n
"
,
iface
,
debugstr_w
(
name
),
flags
);
TRACE
(
"%p,%s,%
l
x
\n
"
,
iface
,
debugstr_w
(
name
),
flags
);
if
(
!
name
||
!*
name
)
return
E_ACCESSDENIED
;
if
(
flags
)
FIXME
(
"unsupported flags %x
\n
"
,
flags
);
FIXME
(
"unsupported flags %
l
x
\n
"
,
flags
);
folder_path
=
get_full_path
(
folder
->
path
,
name
);
if
(
!
folder_path
)
return
E_OUTOFMEMORY
;
...
...
@@ -317,7 +317,7 @@ static HRESULT WINAPI TaskFolder_RegisterTask(ITaskFolder *iface, BSTR name, BST
ITaskDefinition
*
taskdef
;
HRESULT
hr
;
TRACE
(
"%p,%s,%s,%x,%s,%s,%d,%s,%p
\n
"
,
iface
,
debugstr_w
(
name
),
debugstr_w
(
xml
),
flags
,
TRACE
(
"%p,%s,%s,%
l
x,%s,%s,%d,%s,%p
\n
"
,
iface
,
debugstr_w
(
name
),
debugstr_w
(
xml
),
flags
,
debugstr_variant
(
&
user
),
debugstr_variant
(
&
password
),
logon
,
debugstr_variant
(
&
sddl
),
task
);
if
(
!
xml
)
return
HRESULT_FROM_WIN32
(
RPC_X_NULL_REF_POINTER
);
...
...
@@ -348,7 +348,7 @@ static HRESULT WINAPI TaskFolder_RegisterTaskDefinition(ITaskFolder *iface, BSTR
IRegisteredTask
*
regtask
=
NULL
;
HRESULT
hr
;
FIXME
(
"%p,%s,%p,%x,%s,%s,%d,%s,%p: stub
\n
"
,
iface
,
debugstr_w
(
name
),
definition
,
flags
,
FIXME
(
"%p,%s,%p,%
l
x,%s,%s,%d,%s,%p: stub
\n
"
,
iface
,
debugstr_w
(
name
),
definition
,
flags
,
debugstr_variant
(
&
user
),
debugstr_variant
(
&
password
),
logon
,
debugstr_variant
(
&
sddl
),
task
);
if
(
!
is_variant_null
(
&
sddl
))
...
...
@@ -372,13 +372,13 @@ static HRESULT WINAPI TaskFolder_RegisterTaskDefinition(ITaskFolder *iface, BSTR
static
HRESULT
WINAPI
TaskFolder_GetSecurityDescriptor
(
ITaskFolder
*
iface
,
LONG
info
,
BSTR
*
sddl
)
{
FIXME
(
"%p,%x,%p: stub
\n
"
,
iface
,
info
,
sddl
);
FIXME
(
"%p,%
l
x,%p: stub
\n
"
,
iface
,
info
,
sddl
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TaskFolder_SetSecurityDescriptor
(
ITaskFolder
*
iface
,
BSTR
sddl
,
LONG
flags
)
{
FIXME
(
"%p,%s,%x: stub
\n
"
,
iface
,
debugstr_w
(
sddl
),
flags
);
FIXME
(
"%p,%s,%
l
x: stub
\n
"
,
iface
,
debugstr_w
(
sddl
),
flags
);
return
E_NOTIMPL
;
}
...
...
dlls/taskschd/folder_collection.c
View file @
f925d0d8
...
...
@@ -107,21 +107,21 @@ static HRESULT WINAPI folders_GetTypeInfoCount(ITaskFolderCollection *iface, UIN
static
HRESULT
WINAPI
folders_GetTypeInfo
(
ITaskFolderCollection
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
folders_GetIDsOfNames
(
ITaskFolderCollection
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
folders_Invoke
(
ITaskFolderCollection
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -307,7 +307,7 @@ static HRESULT WINAPI enumvar_Next(IEnumVARIANT *iface, ULONG celt, VARIANT *var
EnumVARIANT
*
enumvar
=
impl_from_IEnumVARIANT
(
iface
);
LONG
i
;
TRACE
(
"%p,%u,%p,%p
\n
"
,
iface
,
celt
,
var
,
fetched
);
TRACE
(
"%p,%
l
u,%p,%p
\n
"
,
iface
,
celt
,
var
,
fetched
);
for
(
i
=
0
;
i
<
celt
&&
enumvar
->
pos
<
enumvar
->
folders
->
count
;
i
++
)
{
...
...
@@ -336,7 +336,7 @@ static HRESULT WINAPI enumvar_Skip(IEnumVARIANT *iface, ULONG celt)
{
EnumVARIANT
*
enumvar
=
impl_from_IEnumVARIANT
(
iface
);
TRACE
(
"%p,%u
\n
"
,
iface
,
celt
);
TRACE
(
"%p,%
l
u
\n
"
,
iface
,
celt
);
enumvar
->
pos
+=
celt
;
...
...
dlls/taskschd/regtask.c
View file @
f925d0d8
...
...
@@ -95,21 +95,21 @@ static HRESULT WINAPI regtask_GetTypeInfoCount(IRegisteredTask *iface, UINT *cou
static
HRESULT
WINAPI
regtask_GetTypeInfo
(
IRegisteredTask
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
regtask_GetIDsOfNames
(
IRegisteredTask
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
regtask_Invoke
(
IRegisteredTask
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -192,13 +192,13 @@ static HRESULT WINAPI regtask_Run(IRegisteredTask *iface, VARIANT params, IRunni
static
HRESULT
WINAPI
regtask_RunEx
(
IRegisteredTask
*
iface
,
VARIANT
params
,
LONG
flags
,
LONG
session_id
,
BSTR
user
,
IRunningTask
**
task
)
{
FIXME
(
"%p,%s,%
x,%
x,%s,%p: stub
\n
"
,
iface
,
debugstr_variant
(
&
params
),
flags
,
session_id
,
debugstr_w
(
user
),
task
);
FIXME
(
"%p,%s,%
lx,%l
x,%s,%p: stub
\n
"
,
iface
,
debugstr_variant
(
&
params
),
flags
,
session_id
,
debugstr_w
(
user
),
task
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
regtask_GetInstances
(
IRegisteredTask
*
iface
,
LONG
flags
,
IRunningTaskCollection
**
tasks
)
{
FIXME
(
"%p,%x,%p: stub
\n
"
,
iface
,
flags
,
tasks
);
FIXME
(
"%p,%
l
x,%p: stub
\n
"
,
iface
,
flags
,
tasks
);
return
E_NOTIMPL
;
}
...
...
@@ -253,19 +253,19 @@ static HRESULT WINAPI regtask_get_Xml(IRegisteredTask *iface, BSTR *xml)
static
HRESULT
WINAPI
regtask_GetSecurityDescriptor
(
IRegisteredTask
*
iface
,
LONG
info
,
BSTR
*
sddl
)
{
FIXME
(
"%p,%x,%p: stub
\n
"
,
iface
,
info
,
sddl
);
FIXME
(
"%p,%
l
x,%p: stub
\n
"
,
iface
,
info
,
sddl
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
regtask_SetSecurityDescriptor
(
IRegisteredTask
*
iface
,
BSTR
sddl
,
LONG
flags
)
{
FIXME
(
"%p,%s,%x: stub
\n
"
,
iface
,
debugstr_w
(
sddl
),
flags
);
FIXME
(
"%p,%s,%
l
x: stub
\n
"
,
iface
,
debugstr_w
(
sddl
),
flags
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
regtask_Stop
(
IRegisteredTask
*
iface
,
LONG
flags
)
{
FIXME
(
"%p,%x: stub
\n
"
,
iface
,
flags
);
FIXME
(
"%p,%
l
x: stub
\n
"
,
iface
,
flags
);
return
E_NOTIMPL
;
}
...
...
@@ -443,21 +443,21 @@ static HRESULT WINAPI regtasks_GetTypeInfoCount(IRegisteredTaskCollection *iface
static
HRESULT
WINAPI
regtasks_GetTypeInfo
(
IRegisteredTaskCollection
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
regtasks_GetIDsOfNames
(
IRegisteredTaskCollection
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
regtasks_Invoke
(
IRegisteredTaskCollection
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
dlls/taskschd/task.c
View file @
f925d0d8
...
...
@@ -76,7 +76,7 @@ static ULONG WINAPI DailyTrigger_AddRef(IDailyTrigger *iface)
DailyTrigger
*
This
=
impl_from_IDailyTrigger
(
iface
);
LONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -86,7 +86,7 @@ static ULONG WINAPI DailyTrigger_Release(IDailyTrigger *iface)
DailyTrigger
*
This
=
impl_from_IDailyTrigger
(
iface
);
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
if
(
!
ref
)
{
...
...
@@ -108,7 +108,7 @@ static HRESULT WINAPI DailyTrigger_GetTypeInfoCount(IDailyTrigger *iface, UINT *
static
HRESULT
WINAPI
DailyTrigger_GetTypeInfo
(
IDailyTrigger
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
DailyTrigger
*
This
=
impl_from_IDailyTrigger
(
iface
);
FIXME
(
"(%p)->(%u %u %p)
\n
"
,
This
,
index
,
lcid
,
info
);
FIXME
(
"(%p)->(%u %
l
u %p)
\n
"
,
This
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
...
...
@@ -116,7 +116,7 @@ static HRESULT WINAPI DailyTrigger_GetIDsOfNames(IDailyTrigger *iface, REFIID ri
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
DailyTrigger
*
This
=
impl_from_IDailyTrigger
(
iface
);
FIXME
(
"(%p)->(%s %p %u %u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"(%p)->(%s %p %u %
l
u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
...
...
@@ -124,7 +124,7 @@ static HRESULT WINAPI DailyTrigger_Invoke(IDailyTrigger *iface, DISPID dispid, R
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
DailyTrigger
*
This
=
impl_from_IDailyTrigger
(
iface
);
FIXME
(
"(%p)->(%
d %s %
x %x %p %p %p %p)
\n
"
,
This
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"(%p)->(%
ld %s %l
x %x %p %p %p %p)
\n
"
,
This
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -360,7 +360,7 @@ static ULONG WINAPI TriggerCollection_AddRef(ITriggerCollection *iface)
trigger_collection
*
This
=
impl_from_ITriggerCollection
(
iface
);
LONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -370,7 +370,7 @@ static ULONG WINAPI TriggerCollection_Release(ITriggerCollection *iface)
trigger_collection
*
This
=
impl_from_ITriggerCollection
(
iface
);
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%d
\n
"
,
This
,
ref
);
TRACE
(
"(%p) ref=%
l
d
\n
"
,
This
,
ref
);
if
(
!
ref
)
heap_free
(
This
);
...
...
@@ -388,7 +388,7 @@ static HRESULT WINAPI TriggerCollection_GetTypeInfoCount(ITriggerCollection *ifa
static
HRESULT
WINAPI
TriggerCollection_GetTypeInfo
(
ITriggerCollection
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
trigger_collection
*
This
=
impl_from_ITriggerCollection
(
iface
);
FIXME
(
"(%p)->(%u %u %p)
\n
"
,
This
,
index
,
lcid
,
info
);
FIXME
(
"(%p)->(%u %
l
u %p)
\n
"
,
This
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
...
...
@@ -396,7 +396,7 @@ static HRESULT WINAPI TriggerCollection_GetIDsOfNames(ITriggerCollection *iface,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
trigger_collection
*
This
=
impl_from_ITriggerCollection
(
iface
);
FIXME
(
"(%p)->(%s %p %u %u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"(%p)->(%s %p %u %
l
u %p)
\n
"
,
This
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
...
...
@@ -404,7 +404,7 @@ static HRESULT WINAPI TriggerCollection_Invoke(ITriggerCollection *iface, DISPID
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
trigger_collection
*
This
=
impl_from_ITriggerCollection
(
iface
);
FIXME
(
"(%p)->(%
d %s %
x %x %p %p %p %p)
\n
"
,
This
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"(%p)->(%
ld %s %l
x %x %p %p %p %p)
\n
"
,
This
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -419,7 +419,7 @@ static HRESULT WINAPI TriggerCollection_get_Count(ITriggerCollection *iface, LON
static
HRESULT
WINAPI
TriggerCollection_get_Item
(
ITriggerCollection
*
iface
,
LONG
index
,
ITrigger
**
trigger
)
{
trigger_collection
*
This
=
impl_from_ITriggerCollection
(
iface
);
FIXME
(
"(%p)->(%d %p)
\n
"
,
This
,
index
,
trigger
);
FIXME
(
"(%p)->(%
l
d %p)
\n
"
,
This
,
index
,
trigger
);
return
E_NOTIMPL
;
}
...
...
@@ -544,21 +544,21 @@ static HRESULT WINAPI RegistrationInfo_GetTypeInfoCount(IRegistrationInfo *iface
static
HRESULT
WINAPI
RegistrationInfo_GetTypeInfo
(
IRegistrationInfo
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
RegistrationInfo_GetIDsOfNames
(
IRegistrationInfo
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
RegistrationInfo_Invoke
(
IRegistrationInfo
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -900,21 +900,21 @@ static HRESULT WINAPI TaskSettings_GetTypeInfoCount(ITaskSettings *iface, UINT *
static
HRESULT
WINAPI
TaskSettings_GetTypeInfo
(
ITaskSettings
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TaskSettings_GetIDsOfNames
(
ITaskSettings
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TaskSettings_Invoke
(
ITaskSettings
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -1532,21 +1532,21 @@ static HRESULT WINAPI Principal_GetTypeInfoCount(IPrincipal *iface, UINT *count)
static
HRESULT
WINAPI
Principal_GetTypeInfo
(
IPrincipal
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
Principal_GetIDsOfNames
(
IPrincipal
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
Principal_Invoke
(
IPrincipal
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -1731,21 +1731,21 @@ static HRESULT WINAPI ExecAction_GetTypeInfoCount(IExecAction *iface, UINT *coun
static
HRESULT
WINAPI
ExecAction_GetTypeInfo
(
IExecAction
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ExecAction_GetIDsOfNames
(
IExecAction
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
ExecAction_Invoke
(
IExecAction
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -1973,21 +1973,21 @@ static HRESULT WINAPI Actions_GetTypeInfoCount(IActionCollection *iface, UINT *c
static
HRESULT
WINAPI
Actions_GetTypeInfo
(
IActionCollection
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
Actions_GetIDsOfNames
(
IActionCollection
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
Actions_Invoke
(
IActionCollection
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -2000,7 +2000,7 @@ static HRESULT WINAPI Actions_get_Count(IActionCollection *iface, LONG *count)
static
HRESULT
WINAPI
Actions_get_Item
(
IActionCollection
*
iface
,
LONG
index
,
IAction
**
action
)
{
FIXME
(
"%p,%d,%p: stub
\n
"
,
iface
,
index
,
action
);
FIXME
(
"%p,%
l
d,%p: stub
\n
"
,
iface
,
index
,
action
);
return
E_NOTIMPL
;
}
...
...
@@ -2175,21 +2175,21 @@ static HRESULT WINAPI TaskDefinition_GetTypeInfoCount(ITaskDefinition *iface, UI
static
HRESULT
WINAPI
TaskDefinition_GetTypeInfo
(
ITaskDefinition
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TaskDefinition_GetIDsOfNames
(
ITaskDefinition
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TaskDefinition_Invoke
(
ITaskDefinition
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -3637,21 +3637,21 @@ static HRESULT WINAPI TaskService_GetTypeInfoCount(ITaskService *iface, UINT *co
static
HRESULT
WINAPI
TaskService_GetTypeInfo
(
ITaskService
*
iface
,
UINT
index
,
LCID
lcid
,
ITypeInfo
**
info
)
{
FIXME
(
"%p,%u,%u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
FIXME
(
"%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
index
,
lcid
,
info
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TaskService_GetIDsOfNames
(
ITaskService
*
iface
,
REFIID
riid
,
LPOLESTR
*
names
,
UINT
count
,
LCID
lcid
,
DISPID
*
dispid
)
{
FIXME
(
"%p,%s,%p,%u,%u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
FIXME
(
"%p,%s,%p,%u,%
l
u,%p: stub
\n
"
,
iface
,
debugstr_guid
(
riid
),
names
,
count
,
lcid
,
dispid
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TaskService_Invoke
(
ITaskService
*
iface
,
DISPID
dispid
,
REFIID
riid
,
LCID
lcid
,
WORD
flags
,
DISPPARAMS
*
params
,
VARIANT
*
result
,
EXCEPINFO
*
excepinfo
,
UINT
*
argerr
)
{
FIXME
(
"%p,%
d,%s,%04
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
FIXME
(
"%p,%
ld,%s,%04l
x,%04x,%p,%p,%p,%p: stub
\n
"
,
iface
,
dispid
,
debugstr_guid
(
riid
),
lcid
,
flags
,
params
,
result
,
excepinfo
,
argerr
);
return
E_NOTIMPL
;
}
...
...
@@ -3672,18 +3672,18 @@ static HRESULT WINAPI TaskService_GetFolder(ITaskService *iface, BSTR path, ITas
static
HRESULT
WINAPI
TaskService_GetRunningTasks
(
ITaskService
*
iface
,
LONG
flags
,
IRunningTaskCollection
**
tasks
)
{
FIXME
(
"%p,%x,%p: stub
\n
"
,
iface
,
flags
,
tasks
);
FIXME
(
"%p,%
l
x,%p: stub
\n
"
,
iface
,
flags
,
tasks
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
TaskService_NewTask
(
ITaskService
*
iface
,
DWORD
flags
,
ITaskDefinition
**
definition
)
{
TRACE
(
"%p,%x,%p
\n
"
,
iface
,
flags
,
definition
);
TRACE
(
"%p,%
l
x,%p
\n
"
,
iface
,
flags
,
definition
);
if
(
!
definition
)
return
E_POINTER
;
if
(
flags
)
FIXME
(
"unsupported flags %x
\n
"
,
flags
);
FIXME
(
"unsupported flags %
l
x
\n
"
,
flags
);
return
TaskDefinition_create
(
definition
);
}
...
...
@@ -3718,7 +3718,7 @@ static HRESULT start_schedsvc(void)
if
(
!
QueryServiceStatusEx
(
service
,
SC_STATUS_PROCESS_INFO
,
(
BYTE
*
)
&
status
,
sizeof
(
status
),
&
dummy
))
{
WARN
(
"failed to query scheduler status (%u)
\n
"
,
GetLastError
());
WARN
(
"failed to query scheduler status (%
l
u)
\n
"
,
GetLastError
());
break
;
}
...
...
@@ -3734,15 +3734,15 @@ static HRESULT start_schedsvc(void)
}
while
(
status
.
dwCurrentState
==
SERVICE_START_PENDING
);
if
(
status
.
dwCurrentState
!=
SERVICE_RUNNING
)
WARN
(
"scheduler failed to start %u
\n
"
,
status
.
dwCurrentState
);
WARN
(
"scheduler failed to start %
l
u
\n
"
,
status
.
dwCurrentState
);
}
else
WARN
(
"failed to start scheduler service (%u)
\n
"
,
GetLastError
());
WARN
(
"failed to start scheduler service (%
l
u)
\n
"
,
GetLastError
());
CloseServiceHandle
(
service
);
}
else
WARN
(
"failed to open scheduler service (%u)
\n
"
,
GetLastError
());
WARN
(
"failed to open scheduler service (%
l
u)
\n
"
,
GetLastError
());
CloseServiceHandle
(
scm
);
return
hr
;
...
...
@@ -3803,7 +3803,7 @@ static HRESULT WINAPI TaskService_Connect(ITaskService *iface, VARIANT server, V
hr
=
SchRpcHighestVersion
(
&
task_svc
->
version
);
if
(
hr
!=
S_OK
)
return
hr
;
TRACE
(
"server version %#x
\n
"
,
task_svc
->
version
);
TRACE
(
"server version %#
l
x
\n
"
,
task_svc
->
version
);
lstrcpyW
(
task_svc
->
comp_name
,
comp_name
);
task_svc
->
connected
=
TRUE
;
...
...
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