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
bd51d5fc
Commit
bd51d5fc
authored
Dec 11, 2013
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Dec 11, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Add taskschd.idl.
parent
aaa0c692
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
187 additions
and
0 deletions
+187
-0
.gitignore
.gitignore
+1
-0
Makefile.in
include/Makefile.in
+1
-0
taskschd.idl
include/taskschd.idl
+185
-0
No files found.
.gitignore
View file @
bd51d5fc
...
...
@@ -244,6 +244,7 @@ include/stamp-h
include/stdole2.tlb
include/strmif.h
include/structuredquerycondition.h
include/taskschd.h
include/textstor.h
include/tlogstg.h
include/tom.h
...
...
include/Makefile.in
View file @
bd51d5fc
...
...
@@ -99,6 +99,7 @@ PUBLIC_IDL_H_SRCS = \
shtypes.idl
\
strmif.idl
\
structuredquerycondition.idl
\
taskschd.idl
\
textstor.idl
\
tlogstg.idl
\
tom.idl
\
...
...
include/taskschd.idl
0 → 100644
View file @
bd51d5fc
/*
*
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
*/
import
"oaidl.idl"
;
import
"ocidl.idl"
;
cpp_quote
(
"DEFINE_GUID(CLSID_TaskScheduler, 0xf87369f,0xa4e5,0x4cfc,0xbd,0x3e,0x73,0xe6,0x15,0x45,0x72,0xdd);"
)
typedef
enum
_TASK_STATE
{
TASK_STATE_UNKNOWN
,
TASK_STATE_DISABLED
,
TASK_STATE_QUEUED
,
TASK_STATE_READY
,
TASK_STATE_RUNNING
}
TASK_STATE
;
typedef
enum
_TASK_ENUM_FLAGS
{
TASK_ENUM_HIDDEN
=
0
x0001
}
TASK_ENUM_FLAGS
;
typedef
enum
_TASK_LOGON_TYPE
{
TASK_LOGON_NONE
,
TASK_LOGON_PASSWORD
,
TASK_LOGON_S4U
,
TASK_LOGON_INTERACTIVE_TOKEN
,
TASK_LOGON_GROUP
,
TASK_LOGON_SERVICE_ACCOUNT
,
TASK_LOGON_INTERACTIVE_TOKEN_OR_PASSWORD
}
TASK_LOGON_TYPE
;
typedef
enum
_TASK_RUNLEVEL
{
TASK_RUNLEVEL_LUA
,
TASK_RUNLEVEL_HIGHEST
}
TASK_RUNLEVEL_TYPE
;
interface
ITaskService
;
interface
IRegisteredTask
;
interface
IRegisteredTaskCollection
;
interface
ITaskFolder
;
interface
ITaskFolderCollection
;
interface
ITaskDefinition
;
interface
IRunningTask
;
interface
IRunningTaskCollection
;
[
object
,
oleautomation
,
uuid
(
2
faba4c7
-
4
da9
-
4013
-
9697
-
20
cc3fd40f85
)
]
interface
ITaskService
:
IDispatch
{
HRESULT
GetFolder
(
[
in
]
BSTR
path
,
[
out
,
retval
]
ITaskFolder
**
folder
)
;
HRESULT
GetRunningTasks
(
[
in
]
LONG
flags
,
[
out
,
retval
]
IRunningTaskCollection
**
tasks
)
;
HRESULT
NewTask
(
[
in
]
DWORD
flags
,
[
out
,
retval
]
ITaskDefinition
**
definition
)
;
HRESULT
Connect
(
[
in
,
optional
]
VARIANT
server
,
[
in
,
optional
]
VARIANT
user
,
[
in
,
optional
]
VARIANT
domain
,
[
in
,
optional
]
VARIANT
password
)
;
[
propget
]
HRESULT
Connected
(
[
out
,
retval
]
VARIANT_BOOL
*
connected
)
;
[
propget
]
HRESULT
TargetServer
(
[
out
,
retval
]
BSTR
*
server
)
;
[
propget
]
HRESULT
ConnectedUser
(
[
out
,
retval
]
BSTR
*
user
)
;
[
propget
]
HRESULT
ConnectedDomain
(
[
out
,
retval
]
BSTR
*
domain
)
;
[
propget
]
HRESULT
HighestVersion
(
[
out
,
retval
]
DWORD
*
version
)
;
}
[
object
,
oleautomation
,
uuid
(
9
c86f320
-
dee3
-
4
dd1
-
b972
-
a303f26b061e
)
]
interface
IRegisteredTask
:
IDispatch
{
[
propget
]
HRESULT
Name
(
[
out
,
retval
]
BSTR
*
name
)
;
[
propget
]
HRESULT
Path
(
[
out
,
retval
]
BSTR
*
path
)
;
[
propget
]
HRESULT
State
(
[
out
,
retval
]
TASK_STATE
*
state
)
;
[
propget
]
HRESULT
Enabled
(
[
out
,
retval
]
VARIANT_BOOL
*
enabled
)
;
[
propput
]
HRESULT
Enabled
(
VARIANT_BOOL
enabled
)
;
HRESULT
Run
(
[
in
]
VARIANT
params
,
[
out
,
retval
]
IRunningTask
**
task
)
;
HRESULT
RunEx
(
[
in
]
VARIANT
params
,
[
in
]
LONG
flags
,
[
in
]
LONG
sessionID
,
[
in
]
BSTR
user
,
[
out
,
retval
]
IRunningTask
**
task
)
;
HRESULT
GetInstances
(
[
in
]
LONG
flags
,
[
out
,
retval
]
IRunningTaskCollection
**
tasks
)
;
[
propget
]
HRESULT
LastRunTime
(
[
out
,
retval
]
DATE
*
date
)
;
[
propget
]
HRESULT
LastTaskResult
(
[
out
,
retval
]
LONG
*
result
)
;
[
propget
]
HRESULT
NumberOfMissedRuns
(
[
out
,
retval
]
LONG
*
runs
)
;
[
propget
]
HRESULT
NextRunTime
(
[
out
,
retval
]
DATE
*
date
)
;
[
propget
]
HRESULT
Definition
(
[
out
,
retval
]
ITaskDefinition
**
task
)
;
[
propget
]
HRESULT
Xml
(
[
out
,
retval
]
BSTR
*
xml
)
;
HRESULT
GetSecurityDescriptor
(
[
in
]
LONG
info
,
[
out
,
retval
]
BSTR
*
sddl
)
;
HRESULT
SetSecurityDescriptor
(
[
in
]
BSTR
sddl
,
[
in
]
LONG
flags
)
;
HRESULT
Stop
(
[
in
]
LONG
flags
)
;
HRESULT
GetRunTimes
(
[
in
]
const
LPSYSTEMTIME
start
,
[
in
]
const
LPSYSTEMTIME
end
,
[
in
,
out
]
DWORD
*
count
,
[
out
]
LPSYSTEMTIME
*
time
)
;
}
[
object
,
oleautomation
,
uuid
(
86627
eb4
-
42
a7
-
41
e4
-
a4d9
-
ac33a72f2d52
)
]
interface
IRegisteredTaskCollection
:
IDispatch
{
[
propget
]
HRESULT
Count
(
[
out
,
retval
]
LONG
*
count
)
;
[
propget
]
HRESULT
Item
(
[
in
]
VARIANT
index
,
[
out
,
retval
]
IRegisteredTask
**
task
)
;
[
propget
]
HRESULT
_NewEnum
(
[
out
,
retval
]
IUnknown
**
penum
)
;
}
[
object
,
oleautomation
,
uuid
(
8
cfac062
-
a080
-
4
c15
-
9
a88
-
aa7c2af80dfc
)
]
interface
ITaskFolder
:
IDispatch
{
[
propget
]
HRESULT
Name
(
[
out
,
retval
]
BSTR
*
name
)
;
[
propget
]
HRESULT
Path
(
[
out
,
retval
]
BSTR
*
path
)
;
HRESULT
GetFolder
(
[
in
]
BSTR
path
,
[
out
,
retval
]
ITaskFolder
**
folder
)
;
HRESULT
GetFolders
(
[
in
]
LONG
flags
,
[
out
,
retval
]
ITaskFolderCollection
**
folders
)
;
HRESULT
CreateFolder
(
[
in
]
BSTR
name
,
[
in
]
VARIANT
sddl
,
[
out
,
retval
]
ITaskFolder
**
folder
)
;
HRESULT
DeleteFolder
(
[
in
]
BSTR
name
,
[
in
]
LONG
flags
)
;
HRESULT
GetTask
(
[
in
]
BSTR
path
,
[
out
,
retval
]
IRegisteredTask
**
task
)
;
HRESULT
GetTasks
(
[
in
]
LONG
flags
,
[
out
,
retval
]
IRegisteredTaskCollection
**
tasks
)
;
HRESULT
DeleteTask
(
[
in
]
BSTR
name
,
[
in
]
LONG
flags
)
;
HRESULT
RegisterTask
(
[
in
]
BSTR
path
,
[
in
]
BSTR
xml
,
[
in
]
LONG
flags
,
[
in
]
VARIANT
user
,
[
in
]
VARIANT
password
,
[
in
]
TASK_LOGON_TYPE
logonType
,
[
in
]
VARIANT
sddl
,
[
out
,
retval
]
IRegisteredTask
**
task
)
;
HRESULT
RegisterTaskDefinition
(
[
in
]
BSTR
path
,
[
in
]
ITaskDefinition
*
definition
,
[
in
]
LONG
flags
,
[
in
]
VARIANT
user
,
[
in
]
VARIANT
password
,
[
in
]
TASK_LOGON_TYPE
logon
,
[
in
]
VARIANT
sddl
,
[
out
,
retval
]
IRegisteredTask
**
task
)
;
HRESULT
GetSecurityDescriptor
(
LONG
info
,
[
out
,
retval
]
BSTR
*
sddl
)
;
HRESULT
SetSecurityDescriptor
(
[
in
]
BSTR
sddl
,
[
in
]
LONG
flags
)
;
}
[
object
,
oleautomation
,
uuid
(
79184
a66
-
8664
-
423
f
-
97
f1
-
637356
a5d812
)
]
interface
ITaskFolderCollection
:
IDispatch
{
[
propget
]
HRESULT
Count
(
[
out
,
retval
]
LONG
*
count
)
;
[
propget
]
HRESULT
Item
(
[
in
]
VARIANT
index
,
[
out
,
retval
]
ITaskFolder
**
folder
)
;
[
propget
]
HRESULT
_NewEnum
(
[
out
,
retval
]
IUnknown
**
penum
)
;
}
[
object
,
oleautomation
,
uuid
(
653758
fb
-
7b9
a
-
4
f1e
-
a471
-
beeb8e9b834e
)
]
interface
IRunningTask
:
IDispatch
{
[
propget
]
HRESULT
Name
(
[
out
,
retval
]
BSTR
*
name
)
;
[
propget
]
HRESULT
InstanceGuid
(
[
out
,
retval
]
BSTR
*
guid
)
;
[
propget
]
HRESULT
Path
(
[
out
,
retval
]
BSTR
*
path
)
;
[
propget
]
HRESULT
State
(
[
out
,
retval
]
TASK_STATE
*
state
)
;
[
propget
]
HRESULT
CurrentAction
(
[
out
,
retval
]
BSTR
*
name
)
;
HRESULT
Stop
(
void
)
;
HRESULT
Refresh
(
void
)
;
[
propget
]
HRESULT
EnginePID
(
[
out
,
retval
]
DWORD
*
pid
)
;
}
[
object
,
oleautomation
,
uuid
(
6
a67614b
-
6828
-
4
fec
-
aa54
-
6
d52e8f1f2db
)
]
interface
IRunningTaskCollection
:
IDispatch
{
[
propget
]
HRESULT
Count
(
[
out
,
retval
]
LONG
*
count
)
;
[
propget
]
HRESULT
Item
(
[
in
]
VARIANT
index
,
[
out
,
retval
]
IRunningTask
**
task
)
;
[
propget
]
HRESULT
_NewEnum
(
[
out
,
retval
]
IUnknown
**
penum
)
;
}
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