mirror of
https://github.com/hakril/PythonForWindows
synced 2026-06-08 14:31:45 +00:00
Compare commits
353 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d3d6410276 | |||
| 9a0868da15 | |||
| 117ea557f7 | |||
| f92204a16f | |||
| d8b2770046 | |||
| e3bcde7d63 | |||
| 494317ee99 | |||
| 46daca9539 | |||
| 82d0c5cc5c | |||
| 0eb78f21bd | |||
| 0f501ab46d | |||
| f2ac6ea455 | |||
| 2828f496bd | |||
| f295a081b1 | |||
| 681fba942f | |||
| f4f9798d39 | |||
| 09fa7c49ec | |||
| c1aad71dd3 | |||
| 5d9e9a240f | |||
| 267ed1e85d | |||
| d7d2dacf33 | |||
| 3d7266ad50 | |||
| 63dd0130f1 | |||
| b8788058e5 | |||
| fdef64c57f | |||
| e156b05e0f | |||
| a7d547f994 | |||
| 5fa4ca6aae | |||
| ad59298015 | |||
| 59e2cefee0 | |||
| d23a9813e9 | |||
| 447069df32 | |||
| 77d90bc4fd | |||
| 82e3e0f3d0 | |||
| 350a11515f | |||
| 61e027a678 | |||
| f9df80ca20 | |||
| df44d38356 | |||
| 1ad2ecba0d | |||
| c4a40626b2 | |||
| fa0baf0f14 | |||
| 77dad71b7e | |||
| 735b18b369 | |||
| a814012574 | |||
| c2be36757f | |||
| 134bd844d6 | |||
| f45a997179 | |||
| 4d988d2668 | |||
| b8ceea8f22 | |||
| af7e64638c | |||
| 1de666c652 | |||
| e7789312fd | |||
| d4fd2ffdbc | |||
| 8b90c96c1a | |||
| 42fac92940 | |||
| acb66cfa78 | |||
| 522c92cb45 | |||
| 378ed31778 | |||
| 5a07f6a444 | |||
| fb9ff96a11 | |||
| 6552312275 | |||
| 5fdcbee121 | |||
| dfdad6edf0 | |||
| d68ff123b3 | |||
| 1f70bdd49a | |||
| 6fe784030f | |||
| 408fe8aaa4 | |||
| 1d128f43ab | |||
| c68dc4e29a | |||
| cd87544fc7 | |||
| 9549942e6f | |||
| 4f2e43ae6b | |||
| d05c067f65 | |||
| 015517cd71 | |||
| 4e67a5ac95 | |||
| 5052d99199 | |||
| 83ca54d182 | |||
| eab219610d | |||
| 83b02310e4 | |||
| 542eb33aa6 | |||
| 39d683ffeb | |||
| 3149961634 | |||
| 758f418965 | |||
| ca6ce73dcc | |||
| 86d02ee17d | |||
| 04cbbf3888 | |||
| caa8ef5f32 | |||
| 2cd9c287aa | |||
| 8d33e0143f | |||
| 7a368a1a23 | |||
| 8e257f9678 | |||
| 34254dfde2 | |||
| 0f49dff128 | |||
| 9bf2e61431 | |||
| 01a59a92c4 | |||
| e2ff50e6a2 | |||
| 47f3e64c84 | |||
| d8ac02e6a2 | |||
| 0fa8026c1b | |||
| e4c0f8645e | |||
| 2e48f9008a | |||
| aec35a46d5 | |||
| e70c97cbfc | |||
| 5b210b50cb | |||
| 2e7bfba3b9 | |||
| 027b7c1c64 | |||
| 3151155670 | |||
| 38aef8e497 | |||
| c666882105 | |||
| ffec0aa57e | |||
| eb131d2621 | |||
| 042e77acf1 | |||
| 654280c8a5 | |||
| 176066d917 | |||
| b59522e504 | |||
| 996487cc1f | |||
| 0ec8ae2fa6 | |||
| 78c205d248 | |||
| 6a7626eb2d | |||
| 1077541ec4 | |||
| f491c510eb | |||
| 5aed4305d6 | |||
| 97a1bb22e1 | |||
| ec0e97c075 | |||
| 7652f597f3 | |||
| 5aa181c4cf | |||
| 445c68537c | |||
| 0ee191c981 | |||
| e74089cda3 | |||
| ef580c675f | |||
| 6a5364ea1e | |||
| ed0099fd57 | |||
| bbf031e784 | |||
| 466d94c03c | |||
| 578b4d9193 | |||
| 9485ceef05 | |||
| f63f7f308a | |||
| c691d8eb84 | |||
| 91e6ef824c | |||
| 54f202731d | |||
| fefe9f397f | |||
| 546818f91b | |||
| fb23ad2838 | |||
| 7921e74647 | |||
| 5c3b0cda88 | |||
| 50f6b993de | |||
| d7c150b794 | |||
| 0cf6057b98 | |||
| 02b2ba13f9 | |||
| 92df7eaee0 | |||
| 9f69b1cefa | |||
| fe22a5ad0d | |||
| 66382b89f7 | |||
| 4dc71b0449 | |||
| 4d3b3e18ad | |||
| b27d161a6a | |||
| 80c6a747da | |||
| f403856e26 | |||
| 6a74c83670 | |||
| 889de363ca | |||
| bac3dcb55b | |||
| 2f778b69f9 | |||
| 2fddd82f00 | |||
| 46197e763a | |||
| a7175be425 | |||
| f2a6489463 | |||
| 2e1043ead4 | |||
| b490130585 | |||
| d20083c57c | |||
| fb2b63b66d | |||
| b971fa5faf | |||
| c5d8faaa4a | |||
| 5ae6fb2634 | |||
| c589a41902 | |||
| 7638080ee4 | |||
| 0ed859b95e | |||
| 6f55d2e48f | |||
| 5b55d4d693 | |||
| fbfe4344d4 | |||
| 215afaa418 | |||
| 91ef7da2e1 | |||
| 8a14fe9174 | |||
| 4f92323abf | |||
| 44d9d0dd35 | |||
| 6dd314659d | |||
| adb7d3b63a | |||
| b5371ddf33 | |||
| 4495eca6d0 | |||
| df28515b97 | |||
| 6374f91fef | |||
| 6125a1fb15 | |||
| bfeb2e6dec | |||
| 536a60c040 | |||
| 05ee89de81 | |||
| 80799fe411 | |||
| 265ef59011 | |||
| 30b05d25f1 | |||
| 6bd45e8503 | |||
| 1e42553112 | |||
| 168783af9d | |||
| b9fe4d19e5 | |||
| 6fcba46739 | |||
| 960838ae3c | |||
| 8a32e00f68 | |||
| 670bb713a2 | |||
| 032de6a848 | |||
| 7827a43d9a | |||
| b0fa864271 | |||
| 7c816acdda | |||
| 7f4ff75854 | |||
| 0697891026 | |||
| 15f399df6d | |||
| b628ca336b | |||
| b160935747 | |||
| 554a6b0572 | |||
| f9104141e5 | |||
| 5794a92168 | |||
| 578392ffde | |||
| 44e5a09564 | |||
| 4e8a765bd6 | |||
| f3de7b528b | |||
| 252f6f8efa | |||
| f53cd00bc4 | |||
| 3fe7ee2cce | |||
| 370210a610 | |||
| 288e87a0d3 | |||
| abded9944d | |||
| d9a43a4a8b | |||
| c2f2f4c0a5 | |||
| 771593f17d | |||
| a194f0be6b | |||
| 4f62434dfb | |||
| fb567c6a76 | |||
| 784e669597 | |||
| 21e259fa73 | |||
| db44087bba | |||
| f522f08e7f | |||
| a9a39bc53f | |||
| 45ace331cb | |||
| 79ff18e06f | |||
| 986664d01f | |||
| 8dc2d443d5 | |||
| e5f87e1453 | |||
| 6c4a5f7d65 | |||
| 5df8cc96dc | |||
| 460274d532 | |||
| 2a4bdd7e30 | |||
| d936942d28 | |||
| 24c5083633 | |||
| c3b85068e5 | |||
| fff2f37781 | |||
| b6f57b8342 | |||
| cf6c813002 | |||
| b167c6e70f | |||
| 267eddb5fe | |||
| a18c08ee53 | |||
| e46dc48c37 | |||
| 77fca8bb0f | |||
| bbde38ffe4 | |||
| 0e52272ddc | |||
| 91cbcce38f | |||
| 33ca0c9c34 | |||
| 272ad24f15 | |||
| 967c18d521 | |||
| 0125f78c67 | |||
| 570436120b | |||
| 1c21b77292 | |||
| 7a313f57c1 | |||
| b253bc5873 | |||
| 921f066fb8 | |||
| 2454bf815b | |||
| b3f1420d46 | |||
| 19095f0e2f | |||
| c228a0d5cb | |||
| c97d149630 | |||
| afccd0da30 | |||
| e53f7ef34b | |||
| e6a022f8be | |||
| a75de140d6 | |||
| d232928780 | |||
| c19241098a | |||
| eb3b13016f | |||
| c59af86910 | |||
| 041a354d17 | |||
| 525432fecd | |||
| 1ee9a8bc46 | |||
| 3dcd27a1ca | |||
| b223ed233e | |||
| 3d69ad3cb5 | |||
| a559c5c295 | |||
| 93bb9b6540 | |||
| 057d4e5408 | |||
| 2bea15ffe8 | |||
| 11e4afeef5 | |||
| 05e7b755b0 | |||
| 849d64378f | |||
| 8cc361b1f9 | |||
| e918d735a1 | |||
| 9e1400e4ad | |||
| 3565474693 | |||
| 83f4b0c48b | |||
| b88ce36acb | |||
| 4564be8488 | |||
| 34c2d94bc2 | |||
| 66852aae37 | |||
| 094979f7c0 | |||
| b2c3493f46 | |||
| 9ef71ad9e1 | |||
| e40b9fb2ff | |||
| af6943992a | |||
| babb743096 | |||
| 8840b9fdb9 | |||
| 03e252b53a | |||
| 1dc13b1a35 | |||
| d91bc1a45a | |||
| a057f8c130 | |||
| c20d443c29 | |||
| 262b80c8c3 | |||
| 805e735a88 | |||
| 4499080a77 | |||
| b2a72f11cc | |||
| f682fbd8c1 | |||
| 4251b18041 | |||
| 82e464d527 | |||
| 445de0b007 | |||
| 61ddb4821a | |||
| 65726e706f | |||
| 715a7fee95 | |||
| 48b6758f7f | |||
| f882bd1e35 | |||
| 4a75453a8b | |||
| 3490dc987f | |||
| 32de3cb824 | |||
| 23837a0713 | |||
| 8f7adb8da1 | |||
| f03bb89ae6 | |||
| 22224b52e2 | |||
| c135780ba9 | |||
| f54599568d | |||
| 5a5baa7bcd | |||
| d12bae6dbb | |||
| d3ca30b229 | |||
| a0ffea68b7 | |||
| 51bc3fdf7c | |||
| a6aa8b86ea | |||
| d9db5ba428 | |||
| be68ba8b15 | |||
| 7929a31bf7 | |||
| 4e5733c2c5 | |||
| 8ba325afd2 | |||
| 4efae2194d | |||
| 14b1cbcf75 | |||
| 5a79e15440 |
@@ -0,0 +1,70 @@
|
||||
# V0.1
|
||||
name: Pytest
|
||||
|
||||
on: [push, workflow_dispatch]
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: windows-latest
|
||||
timeout-minutes: 15
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: [2.7, 3.6, 3.11]
|
||||
python-architecture: [x86, x64]
|
||||
include:
|
||||
# Translate architecture to bitness for py.exe commandline
|
||||
- python-bitness-to-test: 32
|
||||
python-architecture: x86
|
||||
- python-bitness-to-test: 64
|
||||
python-architecture: x64
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
# Pfw testing need both 32b & 64b of tested python version for cross-bitness python injection tests
|
||||
|
||||
## Install the 32bits version of python3 asked
|
||||
- name: Set up Python3 ${{ matrix.python-version }} x86
|
||||
if: ${{ matrix.python-version != '2.7' }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version}}
|
||||
architecture: x86
|
||||
## Install the 64bits version of python3 asked
|
||||
- name: Set up Python3 ${{ matrix.python-version }} x64
|
||||
if: ${{ matrix.python-version != '2.7' }}
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: ${{ matrix.python-version}}
|
||||
architecture: x64
|
||||
|
||||
# Manually install python2.7 (both version at once)
|
||||
- name: Set up Python2.7 ${{ matrix.python-version }} x86 & x64
|
||||
shell: bash
|
||||
if: ${{ matrix.python-version == '2.7' }}
|
||||
run: |
|
||||
choco install python2 --version=2.7.18 -y --no-progress --params '"/InstallDir:C:\tools\python27"'
|
||||
choco install python2 --version=2.7.18 -y --no-progress -x86 --params '"/InstallDir:C:\tools\python2732"' --force
|
||||
|
||||
- name: Listing python versions availables
|
||||
run: py -0
|
||||
|
||||
# Install PythonForWindows for both bitness
|
||||
- name: Installing PythonForWindows for both bitness
|
||||
run: |
|
||||
py -${{ matrix.python-version}}-32 setup.py install
|
||||
py -${{ matrix.python-version}}-64 setup.py install
|
||||
|
||||
- name: Installing pytest & capstone-windows
|
||||
run: py -${{ matrix.python-version}}-${{ matrix.python-bitness-to-test}} -m pip install pytest capstone-windows
|
||||
|
||||
# Testing
|
||||
- name: Testing
|
||||
run: py -${{ matrix.python-version}}-${{ matrix.python-bitness-to-test}} -m pytest --junitxml=junit/test-results.xml -s -k "not known_to_fail" -v tests/
|
||||
|
||||
- name: Publish PyTest Results
|
||||
uses: EnricoMi/publish-unit-test-result-action/composite@v1
|
||||
if: always()
|
||||
with:
|
||||
files: junit/test-results.xml
|
||||
+6
-1
@@ -1,4 +1,9 @@
|
||||
*.pyc
|
||||
doctrees
|
||||
*.inv
|
||||
*.pickle
|
||||
*.pickle
|
||||
*.ignore
|
||||
|
||||
.vscode/
|
||||
.cache/
|
||||
dist/
|
||||
@@ -1,3 +1,47 @@
|
||||
Between 0.4 & 0.5:
|
||||
== New features ==
|
||||
- windows.security
|
||||
- SecurityDescriptor / ACL / ACE objects
|
||||
- Improved Token object
|
||||
- windows.debug
|
||||
- New callback Debugger.on_setup
|
||||
|
||||
== Change / Break ==
|
||||
- windows.winproxy
|
||||
- Kernel32Error replaced by WinproxyError
|
||||
- It seemed weird that ntdll/advapi32/etc raised Kernel32Error..
|
||||
- windows.wmi
|
||||
- Wmi API changed, most of them do not return dict anymore but WmiObject
|
||||
- It can be used like mapping
|
||||
- It offers improved feature
|
||||
- real error display handling :)
|
||||
|
||||
- windows.com
|
||||
- ImprovedVariant renamed Variant + new api variant
|
||||
- This is not documented yet
|
||||
|
||||
- windows.rpc.ndr
|
||||
- ndr strings add final \x00 when packing if not present
|
||||
- crypto
|
||||
- CertificateStore.find return None if certif is not found (was raising in the past)
|
||||
- removed ECRYPT_DATA_BLOB
|
||||
- new CRYPT_DATA_BLOB is an _extended_struct :)
|
||||
|
||||
|
||||
|
||||
Since 0.35:
|
||||
* WinProcess.get_mapped_filename can now raise on non-standard error (like: ERROR_TRANSACTION_NOT_ACTIVE)
|
||||
* WinProcess.get_mapped_filename now use GetMappedFilenameW (returning an unicode string)
|
||||
* CertificateContext is replace by Certificate
|
||||
* CertificateContext was a PPCERT_CONTEXT. Certificate is a CERT_CONTEXT (not a pointer anymore)
|
||||
* EHCERTSTORE renamed to CertificateStore
|
||||
* added windows.pipe
|
||||
|
||||
Since 0.3:
|
||||
|
||||
* Rewrote pe_parse to minimize closure (allowing the refcount to del all ref to WinProcess when the debugger detach it)
|
||||
* Fix debugger.detach / handling on exit_process
|
||||
|
||||
Since 0.2:
|
||||
|
||||
* NtStatusException is now a WindowsError
|
||||
@@ -26,7 +70,6 @@ Since 0.2:
|
||||
* Added Debugger.detach
|
||||
|
||||
|
||||
Since 0.3:
|
||||
|
||||
* Rewrote pe_parse to minimize closure (allowing the refcount to dell all ref to WinProcess when the debugger detach it)
|
||||
* Fix debugger.detach / handling on exit_process
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
# PythonForWindows
|
||||
|
||||
PythonForWindows is a base of code aimed to make interaction with `Windows` (on X86/X64) easier (for both 32 and 64 bits Python).
|
||||
[](https://gitter.im/PythonForWindows/general)
|
||||
[](https://github.com/hakril/PythonForWindows/actions/workflows/mypytest.yml)
|
||||
|
||||
PythonForWindows (PFW) is a base of code aimed to make interaction with `Windows` (on X86/X64) easier (for both 32 and 64 bits Python).
|
||||
Its goal is to offer abstractions around some of the OS features in a (I hope) pythonic way.
|
||||
It also tries to make the barrier between python and native execution thinner in both ways.
|
||||
There is no external dependencies but it relies heavily on the `ctypes` module.
|
||||
@@ -12,11 +15,34 @@ Let's say that the codebase evolves with my needs and my curiosity.
|
||||
Complete online documentation is available [here][ONLINE_DOC]
|
||||
You can find some examples of code in the [samples directory][SAMPLE_DIR] or [online][ONLINE_SAMPLE].
|
||||
|
||||
Parts of PythonForWindows are used in the [LKD project][LKD_GITHUB].
|
||||
PythonForWindows is principally known for its ALPC-RPC Client (see [samples](http://hakril.github.io/PythonForWindows/build/html/sample.html#windows-rpc)).
|
||||
|
||||
If you have any issue, question, suggestion do not hesitate to contact me.
|
||||
|
||||
If you have any issue, question or suggestion do not hesitate to join [the Gitter channel](https://gitter.im/PythonForWindows/general).
|
||||
I am always glad to have feedbacks from people using this project.
|
||||
|
||||
## Installation
|
||||
|
||||
|
||||
PythonForWindows is available on [Pypi](https://pypi.org/project/PythonForWindows/) an this can be installed with
|
||||
|
||||
``
|
||||
python -m pip install PythonForWindows
|
||||
``
|
||||
|
||||
You can also install PythonForWindows by cloning it and using the ``setup.py`` script:
|
||||
|
||||
``
|
||||
python setup.py install
|
||||
``
|
||||
|
||||
#### Python3
|
||||
|
||||
PythonForWindows support python3 and is currently tested for Python2.7, 3.6 & 3.11 via [Github Workflow](https://github.com/hakril/PythonForWindows/actions/workflows/mypytest.yml)
|
||||
Regarding the handling of encoding in the project it's currently a mix of Ascii & Unicode that may be awkward on Python3 as automatic encoding/decoding is not present.
|
||||
|
||||
The aim of passing the whole project under unicode is actvily ongoing.
|
||||
|
||||
## Overview
|
||||
|
||||
### Processes / Threads
|
||||
@@ -39,32 +65,32 @@ You can also make some operation on threads (suspend/resume/wait/get(or set) con
|
||||
>>> windows.current_process.bitness
|
||||
32
|
||||
>>> windows.current_process.token.integrity
|
||||
SECURITY_MANDATORY_MEDIUM_RID(0x2000L)
|
||||
>>> calc = [p for p in windows.system.processes if p.name == "calc.exe"][0]
|
||||
>>> calc
|
||||
<WinProcess "calc.exe" pid 6960 at 0x37391f0>
|
||||
>>> calc.bitness
|
||||
SECURITY_MANDATORY_MEDIUM_RID(0x2000)
|
||||
>>> proc = [p for p in windows.system.processes if p.name == "notepad.exe"][0]
|
||||
>>> proc
|
||||
<WinProcess "notepad.exe" pid 16520 at 0x544e410>
|
||||
>>> proc.bitness
|
||||
64
|
||||
>>> calc.peb.modules[:3]
|
||||
[<RemoteLoadedModule64 "calc.exe" at 0x3671e90>, <RemoteLoadedModule64 "ntdll.dll" at 0x3671030>, <RemoteLoadedModule64 "kernel32.dll" at 0x3671080>]
|
||||
>>> k32 = calc.peb.modules[2]
|
||||
>>> proc.peb.modules[:3]
|
||||
[<RemoteLoadedModule64 "notepad.exe" at 0x3671e90>, <RemoteLoadedModule64 "ntdll.dll" at 0x3671030>, <RemoteLoadedModule64 "kernel32.dll" at 0x3671080>]
|
||||
>>> k32 = proc.peb.modules[2]
|
||||
>>> hex(k32.pe.exports["CreateFileW"])
|
||||
'0x7ffee6761550L'
|
||||
>>> calc.threads[0]
|
||||
<WinThread 3932 owner "calc.exe" at 0x3646350>
|
||||
>>> hex(calc.threads[0].context.Rip)
|
||||
>>> proc.threads[0]
|
||||
<WinThread 17688 owner "notepad.exe" at 0x53b47f0>
|
||||
>>> hex(proc.threads[0].context.Rip)
|
||||
'0x7ffee68b54b0L'
|
||||
>>> calc.execute_python("import os")
|
||||
>>> proc.execute_python("import os")
|
||||
True
|
||||
>>> calc.execute_python("exit(os.getpid() + 1)")
|
||||
>>> proc.execute_python("exit(os.getpid() + 1)")
|
||||
# execute_python raise if process died
|
||||
Traceback (most recent call last):
|
||||
...
|
||||
WindowsError: <WinProcess "calc.exe" pid 6960 (DEAD) at 0x37391f0> died during execution of python command
|
||||
WindowsError: <WinProcess "notepad.exe" pid 16520 (DEAD) at 0x579f610> died during execution of python command
|
||||
>>> calc
|
||||
<WinProcess "calc.exe" pid 6960 (DEAD) at 0x37391f0>
|
||||
<WinProcess "notepad.exe" pid 16520 (DEAD) at 0x579f610>
|
||||
>>> calc.exit_code
|
||||
6961L
|
||||
16521L
|
||||
```
|
||||
|
||||
### System information
|
||||
@@ -79,7 +105,7 @@ Information about the Windows computer running the script are available through
|
||||
>>> windows.system.computer_name
|
||||
'DESKTOP-VKUGISR'
|
||||
>>> windows.system.product_type
|
||||
VER_NT_WORKSTATION(0x1L)
|
||||
VER_NT_WORKSTATION(0x1)
|
||||
>>> windows.system.version
|
||||
(10, 0)
|
||||
>>> windows.system.version_name
|
||||
@@ -94,6 +120,9 @@ VER_NT_WORKSTATION(0x1L)
|
||||
[<WinProcess "[System Process]" pid 0 at 0x433f7d0>, <WinProcess "System" pid 4 at 0x433fd30>]
|
||||
>>> windows.system.logicaldrives[0]
|
||||
<LogicalDrive "C:\" (DRIVE_FIXED)>
|
||||
>>> windows.system.services[23]
|
||||
<ServiceA "Appinfo" SERVICE_RUNNING(0x4)>
|
||||
|
||||
```
|
||||
|
||||
### IAT Hook
|
||||
@@ -113,7 +142,7 @@ but some have default values and the functions raise exception on call error (I
|
||||
# Help on function VirtualAlloc in module windows.winproxy:
|
||||
# VirtualAlloc(lpAddress=0, dwSize=NeededParameter, flAllocationType=MEM_COMMIT(0x1000L), flProtect=PAGE_EXECUTE_READWRITE(0x40L))
|
||||
# Errcheck:
|
||||
# raise Kernel32Error if result is 0
|
||||
# raise WinproxyError if result is 0
|
||||
|
||||
# Positional arguments
|
||||
>>> windows.winproxy.VirtualAlloc(0, 0x1000)
|
||||
@@ -145,8 +174,8 @@ File "windows\winproxy.py", line 264, in VirtualAlloc
|
||||
File "windows\winproxy.py", line 133, in perform_call
|
||||
return self._cprototyped(*args)
|
||||
File "windows\winproxy.py", line 59, in kernel32_error_check
|
||||
raise Kernel32Error(func_name)
|
||||
windows.winproxy.Kernel32Error: VirtualAlloc: [Error 8] Not enough storage is available to process this command.
|
||||
raise WinproxyError(func_name)
|
||||
windows.winproxy.error.WinproxyError: VirtualAlloc: [Error 87] The parameter is incorrect.
|
||||
"""
|
||||
```
|
||||
|
||||
@@ -169,6 +198,42 @@ a simple x86/x64 assembler.
|
||||
>>> f = windows.native_exec.create_function(code.get_code(), [ctypes.c_uint])
|
||||
>>> f()
|
||||
42L
|
||||
# Assemblers can also be used in a more standard way
|
||||
>>> x86.assemble("cmp edi, 0; jnz :end; mov eax, 1; label :end; ret")
|
||||
'\x81\xff\x00\x00\x00\x00u\x06\xc7\xc0\x01\x00\x00\x00\xc3'
|
||||
```
|
||||
|
||||
### Token / Security Descriptor
|
||||
|
||||
Objects easing access to some information about ``Token`` and ``SecurityDescriptor`` are also available.
|
||||
|
||||
```python
|
||||
>>> import windows.security
|
||||
>>> import windows.generated_def as gdef
|
||||
>>> tok = windows.current_process.token
|
||||
>>> tok
|
||||
<Token TokenId=0x6a2b4550 Type=TokenPrimary(0x1)>
|
||||
>>> tok.username
|
||||
u'hakril'
|
||||
>>> tok.type
|
||||
tagTOKEN_TYPE.TokenPrimary(0x1)
|
||||
>>> tok.integrity
|
||||
SECURITY_MANDATORY_MEDIUM_RID(0x2000)
|
||||
>>> tok.duplicate(type=gdef.TokenImpersonation, impersonation_level=gdef.SecurityIdentification)
|
||||
<Token TokenId=0x6a3532ce Type=TokenImpersonation(0x2) ImpersonationLevel=SecurityIdentification(0x1)>
|
||||
|
||||
# Security Descriptor
|
||||
>>> sd = windows.security.SecurityDescriptor.from_filename("c:\windows\system32\kernel32.dll")
|
||||
>>> sd
|
||||
<SecurityDescriptor object at 0x054E3DF0>
|
||||
>>> windows.utils.lookup_sid(sd.owner)
|
||||
(u'NT SERVICE', u'TrustedInstaller')
|
||||
>>> sd.dacl
|
||||
<Acl count=6>
|
||||
>>> list(sd.dacl)
|
||||
[<AccessAllowedACE mask=2032127>, <AccessAllowedACE mask=1179817>, <AccessAllowedACE mask=1179817>, <AccessAllowedACE mask=1179817>, <AccessAllowedACE mask=1179817>, <AccessAllowedACE mask=1179817>]
|
||||
>>> sd.dacl[1].sid
|
||||
<PSID "S-1-5-32-544">
|
||||
```
|
||||
|
||||
### Wintrust
|
||||
@@ -186,7 +251,7 @@ SignatureData(signed=True,
|
||||
catalog=u'C:\\Windows\\system32\\CatRoot\\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\\Package_35_for_KB3128650~31bf3856ad364e35~amd64~~6.3.1.2.cat',
|
||||
catalogsigned=True, additionalinfo=0L)
|
||||
>>> windows.wintrust.full_signature_information(r"C:\Windows\system32\python27.dll")
|
||||
SignatureData(signed=False, catalog=None, catalogsigned=False, additionalinfo=TRUST_E_NOSIGNATURE(0x800b0100L))
|
||||
SignatureData(signed=False, catalog=None, catalogsigned=False, additionalinfo=TRUST_E_NOSIGNATURE(0x800b0100))
|
||||
```
|
||||
|
||||
### WMI
|
||||
@@ -196,10 +261,11 @@ To extract/play with even more information about the system, PythonForWindows is
|
||||
```python
|
||||
>>> import windows
|
||||
>>> windows.system.wmi.select
|
||||
<bound method WmiRequester.select of <windows.winobject.wmi.WmiRequester object at 0x036BA590>>
|
||||
>>> windows.system.wmi.select("Win32_Process", ["Name", "Handle"])[:4]
|
||||
[{'Handle': u'0', 'Name': u'System Idle Process'}, {'Handle': u'4', 'Name': u'System'}, {'Handle': u'412', 'Name': u'smss.exe'}, {'Handle': u'528', 'Name': u'csrss.exe'}]
|
||||
# Get WMI data for current process
|
||||
<bound method WmiNamespace.select of <WmiNamespace "root\cimv2">>
|
||||
>>> windows.system.wmi.select("Win32_Process")[:3]
|
||||
[<WmiObject instance of "Win32_Process">, <WmiObject instance of "Win32_Process">, <WmiObject instance of "Win32_Process">]# Get WMI data for current process
|
||||
>>> windows.system.wmi.select("Win32_Process")[42]["Name"]
|
||||
u'svchost.exe'
|
||||
>>> wmi_cp = [p for p in windows.system.wmi.select("Win32_Process") if int(p["Handle"]) == windows.current_process.pid][0]
|
||||
>>> wmi_cp["CommandLine"], wmi_cp["HandleCount"]
|
||||
(u'"C:\\Python27\\python.exe"', 227)
|
||||
@@ -217,7 +283,7 @@ The project also contains some wrapping classes around `_winreg` for simpler use
|
||||
>>> cuuser_software
|
||||
<PyHKey "HKEY_CURRENT_USER\Software">
|
||||
>>> cuuser_software.sam
|
||||
KEY_READ(0x20019L)
|
||||
KEY_READ(0x20019)
|
||||
# Explore subkeys
|
||||
>>> cuuser_software.subkeys[:3]
|
||||
[<PyHKey "HKEY_CURRENT_USER\Software\7-Zip">, <PyHKey "HKEY_CURRENT_USER\Software\AppDataLow">, <PyHKey "HKEY_CURRENT_USER\Software\Audacity">]
|
||||
@@ -234,6 +300,86 @@ KeyValue(name='MYQWORD', value=123456789987654321L, type=11)
|
||||
[KeyValue(name='MYQWORD', value=123456789987654321L, type=11), KeyValue(name='VALUE', value=u'a_value_for_my_key', type=1)]
|
||||
```
|
||||
|
||||
### Object manager
|
||||
|
||||
PythonForWindows uses the native Windows NT API to display some information about the object in the Object Manager's name space.
|
||||
Just like the well-known tools ``winobj.exe``
|
||||
|
||||
```python
|
||||
>>> windows.system.object_manager.root
|
||||
<KernelObject "\" (type="Directory")>
|
||||
# The objects of type "Directory" can be acceded just like a dict
|
||||
>>> list(windows.system.object_manager.root)[:3]
|
||||
[u'PendingRenameMutex', u'ObjectTypes', u'storqosfltport']
|
||||
# Find an object by its path
|
||||
>>> windows.system.object_manager["KnownDLLs\\kernel32.dll"]
|
||||
<KernelObject "\KnownDLLs\kernel32.dll" (type="Section")>
|
||||
>>> k32 = windows.system.object_manager["KnownDLLs\\kernel32.dll"]
|
||||
>>> k32.name, k32.fullname, k32.type
|
||||
('kernel32.dll', '\\KnownDLLs\\kernel32.dll', u'Section')
|
||||
# Follow SymbolicLink object
|
||||
>>> windows.system.object_manager["\\KnownDLLs\\KnownDLLPath"]
|
||||
<KernelObject "\KnownDLLs\KnownDLLPath" (type="SymbolicLink")>
|
||||
>>> windows.system.object_manager["\\KnownDLLs\\KnownDLLPath"].target
|
||||
u'C:\\WINDOWS\\System32'
|
||||
```
|
||||
|
||||
### Scheduled Task
|
||||
|
||||
The ``windows.system.task_scheduler`` object allows to query and create scheduled task.
|
||||
|
||||
**This part is still in developpement and the API may evolve**
|
||||
|
||||
```python
|
||||
>>> windows.system.task_scheduler
|
||||
<TaskService at 0x4774670>
|
||||
>>> windows.system.task_scheduler.root
|
||||
<TaskFolder "\" at 0x4774710>
|
||||
>>> task = windows.system.task_scheduler.root.tasks[2]
|
||||
>>> task
|
||||
<Task "DemoTask" at 0x47748f0>
|
||||
>>> task.name
|
||||
u'DemoTask'
|
||||
# Explore task actions
|
||||
>>> task.definition.actions[1]
|
||||
<ExecAction at 0x4774800>
|
||||
>>> task.definition.actions[1].path
|
||||
u'c:\\windows\\python\\python.exe'
|
||||
>>> task.definition.actions[1].arguments
|
||||
u'yolo.py --test'
|
||||
```
|
||||
|
||||
### Event logs
|
||||
|
||||
The ``windows.system.event_log`` object allows to query event logs.
|
||||
|
||||
**This part is still in developpement and the API may evolve**
|
||||
|
||||
```python
|
||||
>>> windows.system.event_log
|
||||
<windows.winobject.event_log.EvtlogManager object at 0x04A78270>
|
||||
# Find a channel by its name
|
||||
>>> chan = windows.system.event_log["Microsoft-Windows-Windows Firewall With Advanced Security/Firewall"]
|
||||
>>> chan
|
||||
<EvtChannel "Microsoft-Windows-Windows Firewall With Advanced Security/Firewall">
|
||||
# Open .evtx files
|
||||
>>> windows.system.event_log["test.evtx"]
|
||||
<EvtFile "test.evtx">
|
||||
# Query a channel for all events
|
||||
>>> chan.query().all()[:2]
|
||||
[<EvtEvent id="2004" time="2018-07-12 07:44:08.081504">, <EvtEvent id="2006" time="2018-07-12 07:57:59.806938">]
|
||||
# Query a channel for some ids
|
||||
>>> chan.query(ids=2004).all()[:2]
|
||||
[<EvtEvent id="2004" time="2018-07-12 07:44:08.081504">, <EvtEvent id="2004" time="2018-07-12 07:57:59.815156">]
|
||||
# Query a channel via XPATH
|
||||
>>> evt = chan.query("Event/EventData[Data='Netflix']").all()[0]
|
||||
# Explore event information
|
||||
>>> evt
|
||||
<EvtEvent id="2006" time="2018-07-17 10:32:39.160423">
|
||||
>>> evt.data
|
||||
{u'ModifyingUser': 69828304, u'RuleName': u'Netflix', u'ModifyingApplication': ...}
|
||||
```
|
||||
|
||||
### ALPC-RPC
|
||||
|
||||
#### ALPC
|
||||
@@ -292,28 +438,28 @@ import windows
|
||||
import windows.debug
|
||||
import windows.test
|
||||
import windows.native_exec.simple_x86 as x86
|
||||
import windows.generated_def as gdef
|
||||
|
||||
from windows.test import pop_calc_32
|
||||
from windows.generated_def import EXCEPTION_ACCESS_VIOLATION
|
||||
from windows.test import pop_proc_32
|
||||
|
||||
class MyDebugger(windows.debug.Debugger):
|
||||
def on_exception(self, exception):
|
||||
code = exception.ExceptionRecord.ExceptionCode
|
||||
addr = exception.ExceptionRecord.ExceptionAddress
|
||||
print("Got exception {0} at 0x{1:x}".format(code, addr))
|
||||
if code == EXCEPTION_ACCESS_VIOLATION:
|
||||
if code == gdef.EXCEPTION_ACCESS_VIOLATION:
|
||||
print("Access Violation: kill target process")
|
||||
self.current_process.exit()
|
||||
|
||||
calc = windows.test.pop_calc_32(dwCreationFlags=DEBUG_PROCESS)
|
||||
calc = windows.test.pop_proc_32(dwCreationFlags=gdef.DEBUG_PROCESS)
|
||||
d = MyDebugger(calc)
|
||||
calc.execute(x86.assemble("int3; mov [0x42424242], EAX; ret"))
|
||||
d.loop()
|
||||
|
||||
## Ouput ##
|
||||
Got exception EXCEPTION_BREAKPOINT(0x80000003L) at 0x77e13c7d
|
||||
Got exception EXCEPTION_BREAKPOINT(0x80000003L) at 0x230000
|
||||
Got exception EXCEPTION_ACCESS_VIOLATION(0xc0000005L) at 0x230001
|
||||
Got exception EXCEPTION_BREAKPOINT(0x80000003) at 0x77e13c7d
|
||||
Got exception EXCEPTION_BREAKPOINT(0x80000003) at 0x230000
|
||||
Got exception EXCEPTION_ACCESS_VIOLATION(0xc0000005) at 0x230001
|
||||
Access Violation: kill target process
|
||||
```
|
||||
|
||||
@@ -372,10 +518,10 @@ print("Done!")
|
||||
|
||||
Code addr = 0x6a0002
|
||||
GOT AN HXBP at 0x6a0002
|
||||
EXCEPTION !!!! Got a EXCEPTION_SINGLE_STEP(0x80000004L) at 0x6a0003
|
||||
EXCEPTION !!!! Got a EXCEPTION_SINGLE_STEP(0x80000004L) at 0x6a0004
|
||||
EXCEPTION !!!! Got a EXCEPTION_SINGLE_STEP(0x80000004L) at 0x6a0005
|
||||
EXCEPTION !!!! Got a EXCEPTION_SINGLE_STEP(0x80000004L) at 0x770c7c04
|
||||
EXCEPTION !!!! Got a EXCEPTION_SINGLE_STEP(0x80000004) at 0x6a0003
|
||||
EXCEPTION !!!! Got a EXCEPTION_SINGLE_STEP(0x80000004) at 0x6a0004
|
||||
EXCEPTION !!!! Got a EXCEPTION_SINGLE_STEP(0x80000004) at 0x6a0005
|
||||
EXCEPTION !!!! Got a EXCEPTION_SINGLE_STEP(0x80000004) at 0x770c7c04
|
||||
Done!
|
||||
|
||||
```
|
||||
@@ -388,9 +534,12 @@ The local debugger handles
|
||||
### Other stuff (see doc / samples)
|
||||
|
||||
- Network
|
||||
- Services
|
||||
- COM
|
||||
|
||||
## Acknowledgments
|
||||
|
||||
* clmntb for his initial work on ``windows.security``
|
||||
|
||||
|
||||
[LKD_GITHUB]: https://github.com/sogeti-esec-lab/LKD/
|
||||
[SAMPLE_DIR]: https://github.com/hakril/PythonForWindows/tree/master/samples
|
||||
|
||||
@@ -1,11 +1,20 @@
|
||||
TODO:
|
||||
|
||||
- Better WMI interface
|
||||
-- CRITICAL BEFORE 0.6 ? --
|
||||
|
||||
- Process:
|
||||
- set/get WinProcess.priority
|
||||
- Document / fix / release:
|
||||
- windows.bits
|
||||
- window
|
||||
- Ndr:
|
||||
- Handle les struct conformant imbriquees
|
||||
- Handle le packing de struct specifique
|
||||
|
||||
======
|
||||
|
||||
- DBG
|
||||
- FIX BP API !!
|
||||
- add_bp(target=XXX) vs del_bp(targets=XXX) ....
|
||||
|
||||
- Verif multiple bp at same place..
|
||||
- Verif multiple pending at same place
|
||||
- Test !! (bp, BP_HX, bp on only on process, bp_hx on only one thread..)
|
||||
@@ -24,21 +33,37 @@ TODO:
|
||||
- Ecrire un test et fix..
|
||||
|
||||
|
||||
- windows.alpc | windows.rpc
|
||||
- Clean + doc + samples
|
||||
|
||||
|
||||
- remotectypes
|
||||
- pretty sur I can get rid of PointerToStruct64/PointerToStruct32
|
||||
|
||||
- Some test/doc on windows.system.handles
|
||||
|
||||
- winutils
|
||||
- some stuff in winutils.py are not documented.
|
||||
- Fix/test/refactor API + doc
|
||||
|
||||
- winobject\exception.py
|
||||
- large part could be rewritten with ctypes-generation extended-def
|
||||
|
||||
- add winobject/window.py
|
||||
- Some test/doc
|
||||
|
||||
- wintrust doc:
|
||||
add : https://blogs.msdn.microsoft.com/winsdk/2016/01/05/why-cryptcatadmincalchashfromfilehandle-fails-with-a-seemingly-unexpected-error-code/
|
||||
|
||||
- COM:
|
||||
- test https://msdn.microsoft.com/en-us/library/vs/alm/hh846255(v=vs.85).aspx
|
||||
|
||||
- Hook
|
||||
- Probleme with enabled hook + gc
|
||||
- Prevent GC of enabled hook ?
|
||||
- Raise on deletion of enabled hook ?
|
||||
- if I implem __del__ -> we have a __del__ cycle -> no gc (gc.garbage instead..)
|
||||
|
||||
|
||||
Documentation
|
||||
* verif samples
|
||||
* windows.bits
|
||||
- Document change in CurrentProcess read/write memory behavior ?
|
||||
|
||||
RESSOURCE
|
||||
* read http://www.codeproject.com/Articles/18975/Listing-Used-Files
|
||||
@@ -1,4 +1,3 @@
|
||||
import StringIO
|
||||
from collections import namedtuple
|
||||
|
||||
import dummy_wintypes
|
||||
@@ -7,64 +6,19 @@ from winstruct import WinStruct, WinUnion, WinStructType, Ptr, WinEnum
|
||||
from simpleparser import *
|
||||
|
||||
|
||||
def initial_processing( data):
|
||||
# https://gcc.gnu.org/onlinedocs/cpp/Initial-processing.html#Initial-processing
|
||||
# Step 1 -> use correct end of line + add last \n if not existing
|
||||
data = data.replace("\r\n", "\n")
|
||||
if not data.endswith("\n"):
|
||||
data = data + "\n"
|
||||
# Step 2: Trigraph : fuck it
|
||||
pass
|
||||
# Step 3: Line merge !
|
||||
data = data.replace("\\\n", "")
|
||||
# Step 4 Remove comments:
|
||||
|
||||
ins = StringIO.StringIO(data)
|
||||
outs = StringIO.StringIO()
|
||||
|
||||
in_str = False
|
||||
res = []
|
||||
while ins.tell() != len(data):
|
||||
c = ins.read(1)
|
||||
if ins.tell() == len(data):
|
||||
outs.write(c)
|
||||
break
|
||||
if not in_str and c == "/":
|
||||
nc = ins.read(1)
|
||||
if nc == "/":
|
||||
while c != "\n":
|
||||
c = ins.read(1)
|
||||
outs.write(c)
|
||||
continue
|
||||
elif nc == "*":
|
||||
while c != "*" or nc != "/":
|
||||
c = nc
|
||||
nc = ins.read(1)
|
||||
if not nc:
|
||||
raise ValueError("Unmatched */")
|
||||
outs.write(" ")
|
||||
continue
|
||||
else:
|
||||
outs.write(c)
|
||||
ins.seek(ins.tell() - 1)
|
||||
continue
|
||||
# TODO: escape in str
|
||||
elif c == '"':
|
||||
in_str = not in_str
|
||||
outs.write(c)
|
||||
outs.seek(0)
|
||||
return outs.read()
|
||||
|
||||
class WinComParser(Parser):
|
||||
PARAM_INFO = ["__RPC__deref_out", "__RPC__in", "__RPC__deref_out_opt", "__RPC__out", "__RPC__in_opt",
|
||||
"__RPC__deref_opt_inout_opt", "__in", "__out", "__out_opt", "__in_opt", "__inout",
|
||||
"__reserved", "__RPC__in_opt_string", "__RPC__inout_opt"]
|
||||
"__reserved", "__RPC__in_opt_string", "__RPC__inout_opt", "__RPC__in_string", "__deref_out_opt", "__RPC__inout",
|
||||
"__RPC__deref_out_opt_string", "_COM_Outptr_", "_In_", "_In_opt_", "_Out_"]
|
||||
PARAM_INFO_WITH_VALUE = ["__RPC__in_ecount", "__RPC__out_ecount_part", "__RPC__in_ecount_full",
|
||||
"__RPC__in_range", "__RPC__out_ecount_full", "__out_ecount_opt", "__out_ecount", "__in_ecount_opt",
|
||||
"__in_ecount", "__out_bcount_opt", "__out_bcount", "__in_bcount", "__in_bcount_opt"]
|
||||
"__in_ecount", "__out_bcount_opt", "__out_bcount", "__in_bcount", "__in_bcount_opt", "__RPC__out_ecount_full_string",
|
||||
"__RPC__deref_out_ecount_full_opt", "__out_ecount_part", "__deref_out_range", "__out_bcount_part",
|
||||
"_Outptr_result_buffer_"]
|
||||
|
||||
def __init__(self, data):
|
||||
data = initial_processing(data)
|
||||
# data = self.initial_processing(data)
|
||||
#print(data)
|
||||
super(WinComParser, self).__init__(data)
|
||||
|
||||
@@ -83,9 +37,13 @@ class WinComParser(Parser):
|
||||
if ign.value in self.PARAM_INFO_WITH_VALUE:
|
||||
# pass __RPC__in_ecount(cNames)
|
||||
self.assert_token_type(OpenParenthesisToken)
|
||||
while type(self.peek()) != CloseParenthesisToken:
|
||||
self.next_token()
|
||||
self.next_token()
|
||||
depth = 1
|
||||
while depth:
|
||||
ntok = self.next_token()
|
||||
if type(ntok) == CloseParenthesisToken:
|
||||
depth -= 1
|
||||
elif type(ntok) == OpenParenthesisToken:
|
||||
depth +=1
|
||||
if self.peek() == KeywordToken("const"):
|
||||
self.next_token()
|
||||
type_name = self.assert_token_type(NameToken)
|
||||
@@ -117,14 +75,16 @@ class WinComParser(Parser):
|
||||
args = []
|
||||
self.assert_token_type(OpenParenthesisToken)
|
||||
while type(self.peek()) != CloseParenthesisToken:
|
||||
# TODO: handle call with VARGS ?
|
||||
if self.peek().value == "...":
|
||||
if self.peek().value == "...": #TODO: '...' token ?
|
||||
self.next_token()
|
||||
# '...' should be last token before ')'
|
||||
args.append("...") # Put a type ?
|
||||
assert type(self.peek()) == CloseParenthesisToken
|
||||
continue
|
||||
args.append(self.parse_argument())
|
||||
#print("Pass <{0}>".format(p))
|
||||
self.next_token()
|
||||
self.assert_token_type(ColonToken)
|
||||
self.assert_token_type(SemiColonToken)
|
||||
return ret_type.value, method_name.value, args
|
||||
|
||||
def parse(self):
|
||||
@@ -160,13 +120,13 @@ class WinComParser(Parser):
|
||||
self.next_token()
|
||||
self.assert_token_type(StarToken)
|
||||
typedefptr = self.assert_token_type(NameToken).value
|
||||
self.assert_token_type(ColonToken)
|
||||
self.assert_token_type(SemiColonToken)
|
||||
res.typedefptr = typedefptr
|
||||
return res
|
||||
|
||||
#print(self.data)
|
||||
|
||||
Method = namedtuple("Method", ["ret_type", "name", "args"])
|
||||
Method = namedtuple("Method", ["ret_type", "name", "args", 'functype'])
|
||||
MethodArg = namedtuple("MethodArg", ["type", "byreflevel", "name"])
|
||||
class WinCOMVTABLE(object):
|
||||
def __init__(self, vtbl_name):
|
||||
@@ -178,6 +138,11 @@ class WinCOMVTABLE(object):
|
||||
|
||||
def add_method(self, ret_type, method_name, args):
|
||||
new_args = []
|
||||
functype = 'stdcall'
|
||||
if args[-1] == "...":
|
||||
print("{0}.{1} is a cdecl COM method".format(self.name, method_name))
|
||||
args = args[:-1]
|
||||
functype = 'cdecl'
|
||||
for type, byreflevel, name in args:
|
||||
if type in ["long", "int"]:
|
||||
type = type.upper()
|
||||
@@ -185,7 +150,7 @@ class WinCOMVTABLE(object):
|
||||
|
||||
if ret_type in ["long", "int"]:
|
||||
ret_type = ret_type.upper()
|
||||
self.methods.append(Method(ret_type, method_name, new_args))
|
||||
self.methods.append(Method(ret_type, method_name, new_args, functype))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
@@ -7,12 +7,13 @@ class WinDef(object):
|
||||
def __init__(self, name, code):
|
||||
self.name = name
|
||||
self.code = code
|
||||
|
||||
|
||||
def generate_ctypes(self):
|
||||
if self.code[-1] == "L" and self.code[0].isdigit():
|
||||
self.code = self.code[:-1]
|
||||
return """{0} = make_flag("{0}", {1})""".format(self.name, self.code)
|
||||
|
||||
class WinDefParser(Parser):
|
||||
|
||||
def parse_define(self):
|
||||
self.assert_token_type(SharpToken)
|
||||
define = self.assert_token_type(NameToken)
|
||||
@@ -26,9 +27,26 @@ class WinDefParser(Parser):
|
||||
v = v[:-1]
|
||||
define_value.append(v)
|
||||
return WinDef(define_name.value, " ".join(define_value))
|
||||
|
||||
|
||||
def parse(self):
|
||||
res = []
|
||||
while self.peek() is not None:
|
||||
res.append(self.parse_define())
|
||||
return res
|
||||
return res
|
||||
|
||||
# A simple Fake parser for NTSTATUS
|
||||
class NtStatusParser(object):
|
||||
def __init__(self, data):
|
||||
self.input = data
|
||||
|
||||
def parse(self):
|
||||
nt_status_defs = []
|
||||
for line in self.input.split("\n"):
|
||||
if not line:
|
||||
continue
|
||||
code, name, descr = line.split("|", 2)
|
||||
code = int(code, 0)
|
||||
descr = re.sub(" +", " ", descr[:-1]) # remove \n
|
||||
descr = descr.replace('"', "'")
|
||||
nt_status_defs.append((code, name, descr))
|
||||
return nt_status_defs
|
||||
@@ -0,0 +1,39 @@
|
||||
typedef struct IBackgroundCopyFile2Vtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IBackgroundCopyFile2 * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IBackgroundCopyFile2 * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IBackgroundCopyFile2 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetRemoteName )(
|
||||
__RPC__in IBackgroundCopyFile2 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetLocalName )(
|
||||
__RPC__in IBackgroundCopyFile2 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetProgress )(
|
||||
__RPC__in IBackgroundCopyFile2 * This,
|
||||
/* [out] */ __RPC__out BG_FILE_PROGRESS *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetFileRanges )(
|
||||
__RPC__in IBackgroundCopyFile2 * This,
|
||||
/* [unique][out][in] */ __RPC__inout_opt DWORD *RangeCount,
|
||||
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*RangeCount) BG_FILE_RANGE **Ranges);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetRemoteName )(
|
||||
__RPC__in IBackgroundCopyFile2 * This,
|
||||
__RPC__in LPCWSTR Val);
|
||||
|
||||
END_INTERFACE
|
||||
} IBackgroundCopyFile2Vtbl;
|
||||
@@ -0,0 +1,55 @@
|
||||
typedef struct IBackgroundCopyFile3Vtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IBackgroundCopyFile3 * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IBackgroundCopyFile3 * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IBackgroundCopyFile3 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetRemoteName )(
|
||||
__RPC__in IBackgroundCopyFile3 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetLocalName )(
|
||||
__RPC__in IBackgroundCopyFile3 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetProgress )(
|
||||
__RPC__in IBackgroundCopyFile3 * This,
|
||||
/* [out] */ __RPC__out BG_FILE_PROGRESS *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetFileRanges )(
|
||||
__RPC__in IBackgroundCopyFile3 * This,
|
||||
/* [unique][out][in] */ __RPC__inout_opt DWORD *RangeCount,
|
||||
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*RangeCount) BG_FILE_RANGE **Ranges);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetRemoteName )(
|
||||
__RPC__in IBackgroundCopyFile3 * This,
|
||||
__RPC__in LPCWSTR Val);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTemporaryName )(
|
||||
__RPC__in IBackgroundCopyFile3 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pFilename);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetValidationState )(
|
||||
__RPC__in IBackgroundCopyFile3 * This,
|
||||
/* [in] */ BOOL state);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetValidationState )(
|
||||
__RPC__in IBackgroundCopyFile3 * This,
|
||||
/* [out] */ __RPC__out BOOL *pState);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *IsDownloadedFromPeer )(
|
||||
__RPC__in IBackgroundCopyFile3 * This,
|
||||
/* [out] */ __RPC__out BOOL *pVal);
|
||||
|
||||
END_INTERFACE
|
||||
} IBackgroundCopyFile3Vtbl;
|
||||
@@ -0,0 +1,183 @@
|
||||
typedef struct IBackgroundCopyJob2Vtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IBackgroundCopyJob2 * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IBackgroundCopyJob2 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *AddFileSet )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [in] */ ULONG cFileCount,
|
||||
/* [size_is][in] */ __RPC__in_ecount_full(cFileCount) BG_FILE_INFO *pFileSet);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *AddFile )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [in] */ __RPC__in LPCWSTR RemoteUrl,
|
||||
/* [in] */ __RPC__in LPCWSTR LocalName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *EnumFiles )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__deref_out_opt IEnumBackgroundCopyFiles **pEnum);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Suspend )(
|
||||
__RPC__in IBackgroundCopyJob2 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Resume )(
|
||||
__RPC__in IBackgroundCopyJob2 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Cancel )(
|
||||
__RPC__in IBackgroundCopyJob2 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Complete )(
|
||||
__RPC__in IBackgroundCopyJob2 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetId )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__out GUID *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetType )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_TYPE *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetProgress )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_PROGRESS *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTimes )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_TIMES *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetState )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_STATE *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetError )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__deref_out_opt IBackgroundCopyError **ppError);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetOwner )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetDisplayName )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [in] */ __RPC__in LPCWSTR Val);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetDescription )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [in] */ __RPC__in LPCWSTR Val);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetDescription )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetPriority )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [in] */ BG_JOB_PRIORITY Val);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetPriority )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_PRIORITY *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetNotifyFlags )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [in] */ ULONG Val);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetNotifyFlags )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__out ULONG *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetNotifyInterface )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [in] */ __RPC__in_opt IUnknown *Val);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetNotifyInterface )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__deref_out_opt IUnknown **pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetMinimumRetryDelay )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [in] */ ULONG Seconds);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetMinimumRetryDelay )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__out ULONG *Seconds);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetNoProgressTimeout )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [in] */ ULONG Seconds);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetNoProgressTimeout )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__out ULONG *Seconds);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetErrorCount )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__out ULONG *Errors);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetProxySettings )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [in] */ BG_JOB_PROXY_USAGE ProxyUsage,
|
||||
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *ProxyList,
|
||||
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *ProxyBypassList);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetProxySettings )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_PROXY_USAGE *pProxyUsage,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pProxyList,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pProxyBypassList);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
|
||||
__RPC__in IBackgroundCopyJob2 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetNotifyCmdLine )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [unique][in] */ __RPC__in_opt LPCWSTR Program,
|
||||
/* [unique][in] */ __RPC__in_opt LPCWSTR Parameters);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetNotifyCmdLine )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pProgram,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pParameters);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetReplyProgress )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out][in] */ __RPC__inout BG_JOB_REPLY_PROGRESS *pProgress);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetReplyData )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(( unsigned long )*pLength) BYTE **ppBuffer,
|
||||
/* [unique][out][in] */ __RPC__inout_opt UINT64 *pLength);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetReplyFileName )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [unique][in] */ __RPC__in_opt LPCWSTR ReplyFileName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetReplyFileName )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pReplyFileName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetCredentials )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
__RPC__in BG_AUTH_CREDENTIALS *credentials);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *RemoveCredentials )(
|
||||
__RPC__in IBackgroundCopyJob2 * This,
|
||||
BG_AUTH_TARGET Target,
|
||||
BG_AUTH_SCHEME Scheme);
|
||||
|
||||
END_INTERFACE
|
||||
} IBackgroundCopyJob2Vtbl;
|
||||
@@ -0,0 +1,203 @@
|
||||
typedef struct IBackgroundCopyJob3Vtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IBackgroundCopyJob3 * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IBackgroundCopyJob3 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *AddFileSet )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ ULONG cFileCount,
|
||||
/* [size_is][in] */ __RPC__in_ecount_full(cFileCount) BG_FILE_INFO *pFileSet);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *AddFile )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ __RPC__in LPCWSTR RemoteUrl,
|
||||
/* [in] */ __RPC__in LPCWSTR LocalName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *EnumFiles )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__deref_out_opt IEnumBackgroundCopyFiles **pEnum);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Suspend )(
|
||||
__RPC__in IBackgroundCopyJob3 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Resume )(
|
||||
__RPC__in IBackgroundCopyJob3 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Cancel )(
|
||||
__RPC__in IBackgroundCopyJob3 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Complete )(
|
||||
__RPC__in IBackgroundCopyJob3 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetId )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__out GUID *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetType )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_TYPE *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetProgress )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_PROGRESS *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTimes )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_TIMES *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetState )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_STATE *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetError )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__deref_out_opt IBackgroundCopyError **ppError);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetOwner )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetDisplayName )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ __RPC__in LPCWSTR Val);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetDescription )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ __RPC__in LPCWSTR Val);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetDescription )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetPriority )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ BG_JOB_PRIORITY Val);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetPriority )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_PRIORITY *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetNotifyFlags )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ ULONG Val);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetNotifyFlags )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__out ULONG *pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetNotifyInterface )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ __RPC__in_opt IUnknown *Val);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetNotifyInterface )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__deref_out_opt IUnknown **pVal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetMinimumRetryDelay )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ ULONG Seconds);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetMinimumRetryDelay )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__out ULONG *Seconds);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetNoProgressTimeout )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ ULONG Seconds);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetNoProgressTimeout )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__out ULONG *Seconds);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetErrorCount )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__out ULONG *Errors);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetProxySettings )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ BG_JOB_PROXY_USAGE ProxyUsage,
|
||||
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *ProxyList,
|
||||
/* [unique][string][in] */ __RPC__in_opt_string const WCHAR *ProxyBypassList);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetProxySettings )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__out BG_JOB_PROXY_USAGE *pProxyUsage,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pProxyList,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pProxyBypassList);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *TakeOwnership )(
|
||||
__RPC__in IBackgroundCopyJob3 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetNotifyCmdLine )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [unique][in] */ __RPC__in_opt LPCWSTR Program,
|
||||
/* [unique][in] */ __RPC__in_opt LPCWSTR Parameters);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetNotifyCmdLine )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pProgram,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pParameters);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetReplyProgress )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out][in] */ __RPC__inout BG_JOB_REPLY_PROGRESS *pProgress);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetReplyData )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(( unsigned long )*pLength) byte **ppBuffer,
|
||||
/* [unique][out][in] */ __RPC__inout_opt UINT64 *pLength);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetReplyFileName )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [unique][in] */ __RPC__in_opt LPCWSTR ReplyFileName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetReplyFileName )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPWSTR *pReplyFileName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetCredentials )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
__RPC__in BG_AUTH_CREDENTIALS *credentials);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *RemoveCredentials )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
BG_AUTH_TARGET Target,
|
||||
BG_AUTH_SCHEME Scheme);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *ReplaceRemotePrefix )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ __RPC__in LPCWSTR OldPrefix,
|
||||
/* [in] */ __RPC__in LPCWSTR NewPrefix);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *AddFileWithRanges )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ __RPC__in LPCWSTR RemoteUrl,
|
||||
/* [in] */ __RPC__in LPCWSTR LocalName,
|
||||
/* [in] */ DWORD RangeCount,
|
||||
/* [size_is][in] */ __RPC__in_ecount_full(RangeCount) BG_FILE_RANGE *Ranges);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetFileACLFlags )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [in] */ DWORD Flags);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetFileACLFlags )(
|
||||
__RPC__in IBackgroundCopyJob3 * This,
|
||||
/* [ref][out] */ __RPC__out DWORD *Flags);
|
||||
|
||||
END_INTERFACE
|
||||
} IBackgroundCopyJob3Vtbl;
|
||||
@@ -0,0 +1,59 @@
|
||||
typedef struct IBindCtxVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IBindCtx * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IBindCtx * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IBindCtx * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *RegisterObjectBound )(
|
||||
__RPC__in IBindCtx * This,
|
||||
/* [unique][in] */ __RPC__in_opt IUnknown *punk);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *RevokeObjectBound )(
|
||||
__RPC__in IBindCtx * This,
|
||||
/* [unique][in] */ __RPC__in_opt IUnknown *punk);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *ReleaseBoundObjects )(
|
||||
__RPC__in IBindCtx * This);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *SetBindOptions )(
|
||||
IBindCtx * This,
|
||||
/* [in] */ BIND_OPTS *pbindopts);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetBindOptions )(
|
||||
IBindCtx * This,
|
||||
/* [out][in] */ BIND_OPTS *pbindopts);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetRunningObjectTable )(
|
||||
__RPC__in IBindCtx * This,
|
||||
/* [out] */ __RPC__deref_out_opt IRunningObjectTable **pprot);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *RegisterObjectParam )(
|
||||
__RPC__in IBindCtx * This,
|
||||
/* [in] */ __RPC__in LPOLESTR pszKey,
|
||||
/* [unique][in] */ __RPC__in_opt IUnknown *punk);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetObjectParam )(
|
||||
__RPC__in IBindCtx * This,
|
||||
/* [in] */ __RPC__in LPOLESTR pszKey,
|
||||
/* [out] */ __RPC__deref_out_opt IUnknown **ppunk);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *EnumObjectParam )(
|
||||
__RPC__in IBindCtx * This,
|
||||
/* [out] */ __RPC__deref_out_opt IEnumString **ppenum);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *RevokeObjectParam )(
|
||||
__RPC__in IBindCtx * This,
|
||||
/* [in] */ __RPC__in LPOLESTR pszKey);
|
||||
|
||||
END_INTERFACE
|
||||
} IBindCtxVtbl;
|
||||
@@ -0,0 +1,38 @@
|
||||
typedef struct IEnumExplorerCommandVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IEnumExplorerCommand * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IEnumExplorerCommand * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IEnumExplorerCommand * This);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
|
||||
IEnumExplorerCommand * This,
|
||||
/* [annotation][in] */
|
||||
__in ULONG celt,
|
||||
/* [annotation][length_is][size_is][out] */
|
||||
__out_ecount_part(celt, *pceltFetched) IExplorerCommand **pUICommand,
|
||||
/* [annotation][out] */
|
||||
__out_opt __deref_out_range(0, celt) ULONG *pceltFetched);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Skip )(
|
||||
__RPC__in IEnumExplorerCommand * This,
|
||||
/* [in] */ ULONG celt);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Reset )(
|
||||
__RPC__in IEnumExplorerCommand * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Clone )(
|
||||
__RPC__in IEnumExplorerCommand * This,
|
||||
/* [out] */ __RPC__deref_out_opt IEnumExplorerCommand **ppenum);
|
||||
|
||||
END_INTERFACE
|
||||
} IEnumExplorerCommandVtbl;
|
||||
@@ -0,0 +1,37 @@
|
||||
typedef struct IEnumMonikerVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IEnumMoniker * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IEnumMoniker * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IEnumMoniker * This);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
|
||||
IEnumMoniker * This,
|
||||
/* [in] */ ULONG celt,
|
||||
/* [annotation] */
|
||||
__out_ecount_part(celt,*pceltFetched) IMoniker **rgelt,
|
||||
/* [annotation] */
|
||||
__out_opt ULONG *pceltFetched);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Skip )(
|
||||
__RPC__in IEnumMoniker * This,
|
||||
/* [in] */ ULONG celt);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Reset )(
|
||||
__RPC__in IEnumMoniker * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Clone )(
|
||||
__RPC__in IEnumMoniker * This,
|
||||
/* [out] */ __RPC__deref_out_opt IEnumMoniker **ppenum);
|
||||
|
||||
END_INTERFACE
|
||||
} IEnumMonikerVtbl;
|
||||
@@ -0,0 +1,38 @@
|
||||
typedef struct IEnumShellItemsVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IEnumShellItems * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IEnumShellItems * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IEnumShellItems * This);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
|
||||
IEnumShellItems * This,
|
||||
/* [annotation][in] */
|
||||
__in ULONG celt,
|
||||
/* [annotation][length_is][size_is][out] */
|
||||
__out_ecount_part(celt, *pceltFetched) IShellItem **rgelt,
|
||||
/* [annotation][out] */
|
||||
__out_opt __deref_out_range(0, celt) ULONG *pceltFetched);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Skip )(
|
||||
__RPC__in IEnumShellItems * This,
|
||||
/* [in] */ ULONG celt);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Reset )(
|
||||
__RPC__in IEnumShellItems * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Clone )(
|
||||
__RPC__in IEnumShellItems * This,
|
||||
/* [out] */ __RPC__deref_out_opt IEnumShellItems **ppenum);
|
||||
|
||||
END_INTERFACE
|
||||
} IEnumShellItemsVtbl;
|
||||
@@ -0,0 +1,37 @@
|
||||
typedef struct IEnumStringVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IEnumString * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IEnumString * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IEnumString * This);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Next )(
|
||||
IEnumString * This,
|
||||
/* [in] */ ULONG celt,
|
||||
/* [annotation] */
|
||||
__RPC__out_ecount_part(celt,*pceltFetched) LPOLESTR *rgelt,
|
||||
/* [annotation] */
|
||||
__out_opt ULONG *pceltFetched);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Skip )(
|
||||
__RPC__in IEnumString * This,
|
||||
/* [in] */ ULONG celt);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Reset )(
|
||||
__RPC__in IEnumString * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Clone )(
|
||||
__RPC__in IEnumString * This,
|
||||
/* [out] */ __RPC__deref_out_opt IEnumString **ppenum);
|
||||
|
||||
END_INTERFACE
|
||||
} IEnumStringVtbl;
|
||||
@@ -0,0 +1,56 @@
|
||||
typedef struct IExplorerCommandVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IExplorerCommand * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IExplorerCommand * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IExplorerCommand * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTitle )(
|
||||
__RPC__in IExplorerCommand * This,
|
||||
/* [unique][in] */ __RPC__in_opt IShellItemArray *psiItemArray,
|
||||
/* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIcon )(
|
||||
__RPC__in IExplorerCommand * This,
|
||||
/* [unique][in] */ __RPC__in_opt IShellItemArray *psiItemArray,
|
||||
/* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszIcon);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetToolTip )(
|
||||
__RPC__in IExplorerCommand * This,
|
||||
/* [unique][in] */ __RPC__in_opt IShellItemArray *psiItemArray,
|
||||
/* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszInfotip);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetCanonicalName )(
|
||||
__RPC__in IExplorerCommand * This,
|
||||
/* [out] */ __RPC__out GUID *pguidCommandName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetState )(
|
||||
__RPC__in IExplorerCommand * This,
|
||||
/* [in] */ __RPC__in_opt IShellItemArray *psiItemArray,
|
||||
/* [in] */ BOOL fOkToBeSlow,
|
||||
/* [out] */ __RPC__out EXPCMDSTATE *pCmdState);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
__RPC__in IExplorerCommand * This,
|
||||
/* [in] */ __RPC__in_opt IShellItemArray *psiItemArray,
|
||||
/* [unique][in] */ __RPC__in_opt IBindCtx *pbc);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetFlags )(
|
||||
__RPC__in IExplorerCommand * This,
|
||||
/* [out] */ __RPC__out EXPCMDFLAGS *pFlags);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *EnumSubCommands )(
|
||||
__RPC__in IExplorerCommand * This,
|
||||
/* [out] */ __RPC__deref_out_opt IEnumExplorerCommand **ppEnum);
|
||||
|
||||
END_INTERFACE
|
||||
} IExplorerCommandVtbl;
|
||||
@@ -0,0 +1,122 @@
|
||||
typedef struct IMonikerVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IMoniker * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IMoniker * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetClassID )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [out] */ __RPC__out CLSID *pClassID);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *IsDirty )(
|
||||
__RPC__in IMoniker * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Load )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [unique][in] */ __RPC__in_opt IStream *pStm);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Save )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [unique][in] */ __RPC__in_opt IStream *pStm,
|
||||
/* [in] */ BOOL fClearDirty);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetSizeMax )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [out] */ __RPC__out ULARGE_INTEGER *pcbSize);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *BindToObject )(
|
||||
IMoniker * This,
|
||||
/* [unique][in] */ IBindCtx *pbc,
|
||||
/* [unique][in] */ IMoniker *pmkToLeft,
|
||||
/* [in] */ REFIID riidResult,
|
||||
/* [iid_is][out] */ void **ppvResult);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *BindToStorage )(
|
||||
IMoniker * This,
|
||||
/* [unique][in] */ IBindCtx *pbc,
|
||||
/* [unique][in] */ IMoniker *pmkToLeft,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [iid_is][out] */ void **ppvObj);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Reduce )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [unique][in] */ __RPC__in_opt IBindCtx *pbc,
|
||||
/* [in] */ DWORD dwReduceHowFar,
|
||||
/* [unique][out][in] */ __RPC__deref_opt_inout_opt IMoniker **ppmkToLeft,
|
||||
/* [out] */ __RPC__deref_out_opt IMoniker **ppmkReduced);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *ComposeWith )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkRight,
|
||||
/* [in] */ BOOL fOnlyIfNotGeneric,
|
||||
/* [out] */ __RPC__deref_out_opt IMoniker **ppmkComposite);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Enum )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [in] */ BOOL fForward,
|
||||
/* [out] */ __RPC__deref_out_opt IEnumMoniker **ppenumMoniker);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *IsEqual )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkOtherMoniker);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Hash )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [out] */ __RPC__out DWORD *pdwHash);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *IsRunning )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [unique][in] */ __RPC__in_opt IBindCtx *pbc,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkToLeft,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkNewlyRunning);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTimeOfLastChange )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [unique][in] */ __RPC__in_opt IBindCtx *pbc,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkToLeft,
|
||||
/* [out] */ __RPC__out FILETIME *pFileTime);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Inverse )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [out] */ __RPC__deref_out_opt IMoniker **ppmk);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *CommonPrefixWith )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkOther,
|
||||
/* [out] */ __RPC__deref_out_opt IMoniker **ppmkPrefix);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *RelativePathTo )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkOther,
|
||||
/* [out] */ __RPC__deref_out_opt IMoniker **ppmkRelPath);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [unique][in] */ __RPC__in_opt IBindCtx *pbc,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkToLeft,
|
||||
/* [out] */ __RPC__deref_out_opt LPOLESTR *ppszDisplayName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *ParseDisplayName )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [unique][in] */ __RPC__in_opt IBindCtx *pbc,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkToLeft,
|
||||
/* [in] */ __RPC__in LPOLESTR pszDisplayName,
|
||||
/* [out] */ __RPC__out ULONG *pchEaten,
|
||||
/* [out] */ __RPC__deref_out_opt IMoniker **ppmkOut);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *IsSystemMoniker )(
|
||||
__RPC__in IMoniker * This,
|
||||
/* [out] */ __RPC__out DWORD *pdwMksys);
|
||||
|
||||
END_INTERFACE
|
||||
} IMonikerVtbl;
|
||||
@@ -0,0 +1,52 @@
|
||||
typedef struct IRunningObjectTableVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IRunningObjectTable * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IRunningObjectTable * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IRunningObjectTable * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Register )(
|
||||
__RPC__in IRunningObjectTable * This,
|
||||
/* [in] */ DWORD grfFlags,
|
||||
/* [unique][in] */ __RPC__in_opt IUnknown *punkObject,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkObjectName,
|
||||
/* [out] */ __RPC__out DWORD *pdwRegister);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Revoke )(
|
||||
__RPC__in IRunningObjectTable * This,
|
||||
/* [in] */ DWORD dwRegister);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *IsRunning )(
|
||||
__RPC__in IRunningObjectTable * This,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkObjectName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetObject )(
|
||||
__RPC__in IRunningObjectTable * This,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkObjectName,
|
||||
/* [out] */ __RPC__deref_out_opt IUnknown **ppunkObject);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *NoteChangeTime )(
|
||||
__RPC__in IRunningObjectTable * This,
|
||||
/* [in] */ DWORD dwRegister,
|
||||
/* [in] */ __RPC__in FILETIME *pfiletime);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTimeOfLastChange )(
|
||||
__RPC__in IRunningObjectTable * This,
|
||||
/* [unique][in] */ __RPC__in_opt IMoniker *pmkObjectName,
|
||||
/* [out] */ __RPC__out FILETIME *pfiletime);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *EnumRunning )(
|
||||
__RPC__in IRunningObjectTable * This,
|
||||
/* [out] */ __RPC__deref_out_opt IEnumMoniker **ppenumMoniker);
|
||||
|
||||
END_INTERFACE
|
||||
} IRunningObjectTableVtbl;
|
||||
@@ -0,0 +1,45 @@
|
||||
typedef struct IShellItemVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IShellItem * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IShellItem * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IShellItem * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *BindToHandler )(
|
||||
__RPC__in IShellItem * This,
|
||||
/* [unique][in] */ __RPC__in_opt IBindCtx *pbc,
|
||||
/* [in] */ __RPC__in REFGUID bhid,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [iid_is][out] */ __RPC__deref_out_opt void **ppv);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetParent )(
|
||||
__RPC__in IShellItem * This,
|
||||
/* [out] */ __RPC__deref_out_opt IShellItem **ppsi);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetDisplayName )(
|
||||
__RPC__in IShellItem * This,
|
||||
/* [in] */ SIGDN sigdnName,
|
||||
/* [string][out] */ __RPC__deref_out_opt_string LPWSTR *ppszName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetAttributes )(
|
||||
__RPC__in IShellItem * This,
|
||||
/* [in] */ SFGAOF sfgaoMask,
|
||||
/* [out] */ __RPC__out SFGAOF *psfgaoAttribs);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Compare )(
|
||||
__RPC__in IShellItem * This,
|
||||
/* [in] */ __RPC__in_opt IShellItem *psi,
|
||||
/* [in] */ SICHINTF hint,
|
||||
/* [out] */ __RPC__out int *piOrder);
|
||||
|
||||
END_INTERFACE
|
||||
} IShellItemVtbl;
|
||||
@@ -0,0 +1,56 @@
|
||||
typedef struct IShellItemArrayVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IShellItemArray * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IShellItemArray * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IShellItemArray * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *BindToHandler )(
|
||||
__RPC__in IShellItemArray * This,
|
||||
/* [unique][in] */ __RPC__in_opt IBindCtx *pbc,
|
||||
/* [in] */ __RPC__in REFGUID bhid,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [iid_is][out] */ __RPC__deref_out_opt void **ppvOut);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetPropertyStore )(
|
||||
__RPC__in IShellItemArray * This,
|
||||
/* [in] */ GETPROPERTYSTOREFLAGS flags,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [iid_is][out] */ __RPC__deref_out_opt void **ppv);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetPropertyDescriptionList )(
|
||||
__RPC__in IShellItemArray * This,
|
||||
/* [in] */ __RPC__in REFPROPERTYKEY keyType,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [iid_is][out] */ __RPC__deref_out_opt void **ppv);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetAttributes )(
|
||||
__RPC__in IShellItemArray * This,
|
||||
/* [in] */ SIATTRIBFLAGS AttribFlags,
|
||||
/* [in] */ SFGAOF sfgaoMask,
|
||||
/* [out] */ __RPC__out SFGAOF *psfgaoAttribs);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetCount )(
|
||||
__RPC__in IShellItemArray * This,
|
||||
/* [out] */ __RPC__out DWORD *pdwNumItems);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetItemAt )(
|
||||
__RPC__in IShellItemArray * This,
|
||||
/* [in] */ DWORD dwIndex,
|
||||
/* [out] */ __RPC__deref_out_opt IShellItem **ppsi);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *EnumItems )(
|
||||
__RPC__in IShellItemArray * This,
|
||||
/* [out] */ __RPC__deref_out_opt IEnumShellItems **ppenumShellItems);
|
||||
|
||||
END_INTERFACE
|
||||
} IShellItemArrayVtbl;
|
||||
@@ -0,0 +1,82 @@
|
||||
typedef struct IStreamVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IStream * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IStream * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IStream * This);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Read )(
|
||||
IStream * This,
|
||||
/* [annotation] */
|
||||
__out_bcount_part(cb, *pcbRead) void *pv,
|
||||
/* [in] */ ULONG cb,
|
||||
/* [annotation] */
|
||||
__out_opt ULONG *pcbRead);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Write )(
|
||||
IStream * This,
|
||||
/* [annotation] */
|
||||
__in_bcount(cb) const void *pv,
|
||||
/* [in] */ ULONG cb,
|
||||
/* [annotation] */
|
||||
__out_opt ULONG *pcbWritten);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Seek )(
|
||||
IStream * This,
|
||||
/* [in] */ LARGE_INTEGER dlibMove,
|
||||
/* [in] */ DWORD dwOrigin,
|
||||
/* [annotation] */
|
||||
__out_opt ULARGE_INTEGER *plibNewPosition);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetSize )(
|
||||
__RPC__in IStream * This,
|
||||
/* [in] */ ULARGE_INTEGER libNewSize);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *CopyTo )(
|
||||
IStream * This,
|
||||
/* [unique][in] */ IStream *pstm,
|
||||
/* [in] */ ULARGE_INTEGER cb,
|
||||
/* [annotation] */
|
||||
__out_opt ULARGE_INTEGER *pcbRead,
|
||||
/* [annotation] */
|
||||
__out_opt ULARGE_INTEGER *pcbWritten);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Commit )(
|
||||
__RPC__in IStream * This,
|
||||
/* [in] */ DWORD grfCommitFlags);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Revert )(
|
||||
__RPC__in IStream * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *LockRegion )(
|
||||
__RPC__in IStream * This,
|
||||
/* [in] */ ULARGE_INTEGER libOffset,
|
||||
/* [in] */ ULARGE_INTEGER cb,
|
||||
/* [in] */ DWORD dwLockType);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *UnlockRegion )(
|
||||
__RPC__in IStream * This,
|
||||
/* [in] */ ULARGE_INTEGER libOffset,
|
||||
/* [in] */ ULARGE_INTEGER cb,
|
||||
/* [in] */ DWORD dwLockType);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Stat )(
|
||||
__RPC__in IStream * This,
|
||||
/* [out] */ __RPC__out STATSTG *pstatstg,
|
||||
/* [in] */ DWORD grfStatFlag);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Clone )(
|
||||
__RPC__in IStream * This,
|
||||
/* [out] */ __RPC__deref_out_opt IStream **ppstm);
|
||||
|
||||
END_INTERFACE
|
||||
} IStreamVtbl;
|
||||
@@ -0,0 +1,127 @@
|
||||
typedef struct ICallFrameVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ICallFrame * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ICallFrame * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetInfo )(
|
||||
ICallFrame * This,
|
||||
/* [out] */ CALLFRAMEINFO *pInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIIDAndMethod )(
|
||||
ICallFrame * This,
|
||||
/* [out] */ IID *pIID,
|
||||
/* [out] */ ULONG *piMethod);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetNames )(
|
||||
ICallFrame * This,
|
||||
/* [annotation][out] */
|
||||
__deref_out_opt LPWSTR *pwszInterface,
|
||||
/* [annotation][out] */
|
||||
__deref_out_opt LPWSTR *pwszMethod);
|
||||
|
||||
PVOID ( STDMETHODCALLTYPE *GetStackLocation )(
|
||||
ICallFrame * This);
|
||||
|
||||
VOID ( STDMETHODCALLTYPE *SetStackLocation )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ PVOID pvStack);
|
||||
|
||||
VOID ( STDMETHODCALLTYPE *SetReturnValue )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ HRESULT hr);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetReturnValue )(
|
||||
ICallFrame * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetParamInfo )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ ULONG iparam,
|
||||
/* [out] */ CALLFRAMEPARAMINFO *pInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetParam )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ ULONG iparam,
|
||||
/* [in] */ VARIANT *pvar);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetParam )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ ULONG iparam,
|
||||
/* [out] */ VARIANT *pvar);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Copy )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ CALLFRAME_COPY copyControl,
|
||||
/* [in] */ ICallFrameWalker *pWalker,
|
||||
/* [out] */ ICallFrame **ppFrame);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Free )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ ICallFrame *pframeArgsDest,
|
||||
/* [in] */ ICallFrameWalker *pWalkerDestFree,
|
||||
/* [in] */ ICallFrameWalker *pWalkerCopy,
|
||||
/* [in] */ DWORD freeFlags,
|
||||
/* [in] */ ICallFrameWalker *pWalkerFree,
|
||||
/* [in] */ DWORD nullFlags);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *FreeParam )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ ULONG iparam,
|
||||
/* [in] */ DWORD freeFlags,
|
||||
/* [in] */ ICallFrameWalker *pWalkerFree,
|
||||
/* [in] */ DWORD nullFlags);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *WalkFrame )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ DWORD walkWhat,
|
||||
/* [in] */ ICallFrameWalker *pWalker);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetMarshalSizeMax )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ CALLFRAME_MARSHALCONTEXT *pmshlContext,
|
||||
/* [in] */ MSHLFLAGS mshlflags,
|
||||
/* [out] */ ULONG *pcbBufferNeeded);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Marshal )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ CALLFRAME_MARSHALCONTEXT *pmshlContext,
|
||||
/* [in] */ MSHLFLAGS mshlflags,
|
||||
/* [size_is][in] */ PVOID pBuffer,
|
||||
/* [in] */ ULONG cbBuffer,
|
||||
/* [out] */ ULONG *pcbBufferUsed,
|
||||
/* [out] */ RPCOLEDATAREP *pdataRep,
|
||||
/* [out] */ ULONG *prpcFlags);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Unmarshal )(
|
||||
ICallFrame * This,
|
||||
/* [size_is][in] */ PVOID pBuffer,
|
||||
/* [in] */ ULONG cbBuffer,
|
||||
/* [in] */ RPCOLEDATAREP dataRep,
|
||||
/* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext,
|
||||
/* [out] */ ULONG *pcbUnmarshalled);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *ReleaseMarshalData )(
|
||||
ICallFrame * This,
|
||||
/* [size_is][in] */ PVOID pBuffer,
|
||||
/* [in] */ ULONG cbBuffer,
|
||||
/* [in] */ ULONG ibFirstRelease,
|
||||
/* [in] */ RPCOLEDATAREP dataRep,
|
||||
/* [in] */ CALLFRAME_MARSHALCONTEXT *pcontext);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ICallFrame * This,
|
||||
/* [in] */ void *pvReceiver,
|
||||
...);
|
||||
|
||||
END_INTERFACE
|
||||
} ICallFrameVtbl;
|
||||
@@ -0,0 +1,22 @@
|
||||
typedef struct ICallFrameEventsVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ICallFrameEvents * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ICallFrameEvents * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ICallFrameEvents * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *OnCall )(
|
||||
ICallFrameEvents * This,
|
||||
/* [in] */ ICallFrame *pFrame);
|
||||
|
||||
END_INTERFACE
|
||||
} ICallFrameEventsVtbl;
|
||||
@@ -0,0 +1,25 @@
|
||||
typedef struct ICallFrameWalkerVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ICallFrameWalker * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ICallFrameWalker * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ICallFrameWalker * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *OnWalkInterface )(
|
||||
ICallFrameWalker * This,
|
||||
/* [in] */ REFIID iid,
|
||||
/* [in] */ PVOID *ppvInterface,
|
||||
/* [in] */ BOOL fIn,
|
||||
/* [in] */ BOOL fOut);
|
||||
|
||||
END_INTERFACE
|
||||
} ICallFrameWalkerVtbl;
|
||||
@@ -0,0 +1,56 @@
|
||||
typedef struct ICallInterceptorVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ICallInterceptor * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ICallInterceptor * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ICallInterceptor * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *CallIndirect )(
|
||||
ICallInterceptor * This,
|
||||
/* [out] */ HRESULT *phrReturn,
|
||||
/* [in] */ ULONG iMethod,
|
||||
/* [in] */ void *pvArgs,
|
||||
/* [out] */ ULONG *cbArgs);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetMethodInfo )(
|
||||
ICallInterceptor * This,
|
||||
/* [in] */ ULONG iMethod,
|
||||
/* [out] */ CALLFRAMEINFO *pInfo,
|
||||
/* [annotation][out] */
|
||||
__deref_out_opt LPWSTR *pwszMethod);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetStackSize )(
|
||||
ICallInterceptor * This,
|
||||
/* [in] */ ULONG iMethod,
|
||||
/* [out] */ ULONG *cbArgs);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIID )(
|
||||
ICallInterceptor * This,
|
||||
/* [annotation][out] */
|
||||
__out_opt IID *piid,
|
||||
/* [annotation][out] */
|
||||
__out_opt BOOL *pfDerivesFromIDispatch,
|
||||
/* [annotation][out] */
|
||||
__out_opt ULONG *pcMethod,
|
||||
/* [annotation][out] */
|
||||
__deref_out_opt LPWSTR *pwszInterface);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *RegisterSink )(
|
||||
ICallInterceptor * This,
|
||||
/* [in] */ ICallFrameEvents *psink);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetRegisteredSink )(
|
||||
ICallInterceptor * This,
|
||||
/* [out] */ ICallFrameEvents **ppsink);
|
||||
|
||||
END_INTERFACE
|
||||
} ICallInterceptorVtbl;
|
||||
@@ -0,0 +1,22 @@
|
||||
typedef struct IPersistVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IPersist * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IPersist * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IPersist * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetClassID )(
|
||||
__RPC__in IPersist * This,
|
||||
/* [out] */ __RPC__out CLSID *pClassID);
|
||||
|
||||
END_INTERFACE
|
||||
} IPersistVtbl;
|
||||
@@ -0,0 +1,43 @@
|
||||
typedef struct IPersistFileVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IPersistFile * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IPersistFile * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IPersistFile * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetClassID )(
|
||||
__RPC__in IPersistFile * This,
|
||||
/* [out] */ __RPC__out CLSID *pClassID);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *IsDirty )(
|
||||
__RPC__in IPersistFile * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Load )(
|
||||
__RPC__in IPersistFile * This,
|
||||
/* [in] */ __RPC__in LPCOLESTR pszFileName,
|
||||
/* [in] */ DWORD dwMode);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Save )(
|
||||
__RPC__in IPersistFile * This,
|
||||
/* [unique][in] */ __RPC__in_opt LPCOLESTR pszFileName,
|
||||
/* [in] */ BOOL fRemember);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SaveCompleted )(
|
||||
__RPC__in IPersistFile * This,
|
||||
/* [unique][in] */ __RPC__in_opt LPCOLESTR pszFileName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetCurFile )(
|
||||
__RPC__in IPersistFile * This,
|
||||
/* [out] */ __RPC__deref_out_opt LPOLESTR *ppszFileName);
|
||||
|
||||
END_INTERFACE
|
||||
} IPersistFileVtbl;
|
||||
@@ -0,0 +1,101 @@
|
||||
typedef struct IShellLinkAVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IShellLinkA * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IShellLinkA * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetPath )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [size_is][string][out] */ __RPC__out_ecount_full_string(cch) LPSTR pszFile,
|
||||
/* [in] */ int cch,
|
||||
/* [unique][out][in] */ __RPC__inout_opt WIN32_FIND_DATAA *pfd,
|
||||
/* [in] */ DWORD fFlags);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDList )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [out] */ __RPC__deref_out_opt PIDLIST_ABSOLUTE *ppidl);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetIDList )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [in] */ __RPC__in PCIDLIST_ABSOLUTE pidl);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetDescription )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [size_is][string][out] */ __RPC__out_ecount_full_string(cch) LPSTR pszName,
|
||||
/* [in] */ int cch);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetDescription )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [string][in] */ __RPC__in_string LPCSTR pszName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetWorkingDirectory )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [size_is][string][out] */ __RPC__out_ecount_full_string(cch) LPSTR pszDir,
|
||||
/* [in] */ int cch);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetWorkingDirectory )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [string][in] */ __RPC__in_string LPCSTR pszDir);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetArguments )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [size_is][string][out] */ __RPC__out_ecount_full_string(cch) LPSTR pszArgs,
|
||||
/* [in] */ int cch);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetArguments )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [string][in] */ __RPC__in_string LPCSTR pszArgs);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetHotkey )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [out] */ __RPC__out WORD *pwHotkey);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetHotkey )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [in] */ WORD wHotkey);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetShowCmd )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [out] */ __RPC__out int *piShowCmd);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetShowCmd )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [in] */ int iShowCmd);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIconLocation )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [size_is][string][out] */ __RPC__out_ecount_full_string(cch) LPSTR pszIconPath,
|
||||
/* [in] */ int cch,
|
||||
/* [out] */ __RPC__out int *piIcon);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetIconLocation )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [string][in] */ __RPC__in_string LPCSTR pszIconPath,
|
||||
/* [in] */ int iIcon);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetRelativePath )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [string][in] */ __RPC__in_string LPCSTR pszPathRel,
|
||||
/* [in] */ DWORD dwReserved);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Resolve )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [unique][in] */ __RPC__in_opt HWND hwnd,
|
||||
/* [in] */ DWORD fFlags);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetPath )(
|
||||
__RPC__in IShellLinkA * This,
|
||||
/* [string][in] */ __RPC__in_string LPCSTR pszFile);
|
||||
|
||||
END_INTERFACE
|
||||
} IShellLinkAVtbl;
|
||||
@@ -0,0 +1,101 @@
|
||||
typedef struct IShellLinkWVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IShellLinkW * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IShellLinkW * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetPath )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [size_is][string][out] */ __RPC__out_ecount_full_string(cch) LPWSTR pszFile,
|
||||
/* [in] */ int cch,
|
||||
/* [unique][out][in] */ __RPC__inout_opt WIN32_FIND_DATAW *pfd,
|
||||
/* [in] */ DWORD fFlags);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDList )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [out] */ __RPC__deref_out_opt PIDLIST_ABSOLUTE *ppidl);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetIDList )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [unique][in] */ __RPC__in_opt PCIDLIST_ABSOLUTE pidl);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetDescription )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [size_is][string][out] */ __RPC__out_ecount_full_string(cch) LPWSTR pszName,
|
||||
int cch);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetDescription )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [string][in] */ __RPC__in_string LPCWSTR pszName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetWorkingDirectory )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [size_is][string][out] */ __RPC__out_ecount_full_string(cch) LPWSTR pszDir,
|
||||
int cch);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetWorkingDirectory )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [string][in] */ __RPC__in_string LPCWSTR pszDir);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetArguments )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [size_is][string][out] */ __RPC__out_ecount_full_string(cch) LPWSTR pszArgs,
|
||||
/* [in] */ int cch);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetArguments )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [string][in] */ __RPC__in_string LPCWSTR pszArgs);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetHotkey )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [out] */ __RPC__out WORD *pwHotkey);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetHotkey )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [in] */ WORD wHotkey);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetShowCmd )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [out] */ __RPC__out int *piShowCmd);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetShowCmd )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [in] */ int iShowCmd);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIconLocation )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [size_is][string][out] */ __RPC__out_ecount_full_string(cch) LPWSTR pszIconPath,
|
||||
/* [in] */ int cch,
|
||||
/* [out] */ __RPC__out int *piIcon);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetIconLocation )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [string][in] */ __RPC__in_string LPCWSTR pszIconPath,
|
||||
/* [in] */ int iIcon);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetRelativePath )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [string][in] */ __RPC__in_string LPCWSTR pszPathRel,
|
||||
/* [in] */ DWORD dwReserved);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Resolve )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [unique][in] */ __RPC__in_opt HWND hwnd,
|
||||
/* [in] */ DWORD fFlags);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetPath )(
|
||||
__RPC__in IShellLinkW * This,
|
||||
/* [string][in] */ __RPC__in_string LPCWSTR pszFile);
|
||||
|
||||
END_INTERFACE
|
||||
} IShellLinkWVtbl;
|
||||
@@ -0,0 +1,36 @@
|
||||
typedef struct ITypeCompVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in ITypeComp * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out PVOID *ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in ITypeComp * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in ITypeComp * This);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Bind )(
|
||||
ITypeComp * This,
|
||||
/* [annotation][in] */
|
||||
__RPC__in LPOLESTR szName,
|
||||
/* [in] */ ULONG lHashVal,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out] */ ITypeInfo **ppTInfo,
|
||||
/* [out] */ DESCKIND *pDescKind,
|
||||
/* [out] */ BINDPTR *pBindPtr);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *BindType )(
|
||||
ITypeComp * This,
|
||||
/* [annotation][in] */
|
||||
__RPC__in LPOLESTR szName,
|
||||
/* [in] */ ULONG lHashVal,
|
||||
/* [out] */ ITypeInfo **ppTInfo,
|
||||
/* [out] */ ITypeComp **ppTComp);
|
||||
|
||||
END_INTERFACE
|
||||
} ITypeCompVtbl;
|
||||
@@ -0,0 +1,125 @@
|
||||
typedef struct ITypeInfoVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in ITypeInfo * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in ITypeInfo * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in ITypeInfo * This);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetTypeAttr )(
|
||||
ITypeInfo * This,
|
||||
/* [out] */ TYPEATTR **ppTypeAttr);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeComp )(
|
||||
__RPC__in ITypeInfo * This,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeComp **ppTComp);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetFuncDesc )(
|
||||
ITypeInfo * This,
|
||||
/* [in] */ UINT index,
|
||||
/* [out] */ FUNCDESC **ppFuncDesc);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetVarDesc )(
|
||||
ITypeInfo * This,
|
||||
/* [in] */ UINT index,
|
||||
/* [out] */ VARDESC **ppVarDesc);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetNames )(
|
||||
ITypeInfo * This,
|
||||
/* [in] */ MEMBERID memid,
|
||||
/* [length_is][size_is][out] */ BSTR *rgBstrNames,
|
||||
/* [in] */ UINT cMaxNames,
|
||||
/* [out] */ UINT *pcNames);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetRefTypeOfImplType )(
|
||||
__RPC__in ITypeInfo * This,
|
||||
/* [in] */ UINT index,
|
||||
/* [out] */ __RPC__out HREFTYPE *pRefType);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetImplTypeFlags )(
|
||||
__RPC__in ITypeInfo * This,
|
||||
/* [in] */ UINT index,
|
||||
/* [out] */ __RPC__out INT *pImplTypeFlags);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
ITypeInfo * This,
|
||||
/* [annotation][size_is][in] */
|
||||
__RPC__in_ecount(cNames) LPOLESTR *rgszNames,
|
||||
/* [in] */ UINT cNames,
|
||||
/* [size_is][out] */ MEMBERID *pMemId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ITypeInfo * This,
|
||||
/* [in] */ PVOID pvInstance,
|
||||
/* [in] */ MEMBERID memid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetDocumentation )(
|
||||
ITypeInfo * This,
|
||||
/* [in] */ MEMBERID memid,
|
||||
/* [out] */ BSTR *pBstrName,
|
||||
/* [out] */ BSTR *pBstrDocString,
|
||||
/* [out] */ DWORD *pdwHelpContext,
|
||||
/* [out] */ BSTR *pBstrHelpFile);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetDllEntry )(
|
||||
ITypeInfo * This,
|
||||
/* [in] */ MEMBERID memid,
|
||||
/* [in] */ INVOKEKIND invKind,
|
||||
/* [out] */ BSTR *pBstrDllName,
|
||||
/* [out] */ BSTR *pBstrName,
|
||||
/* [out] */ WORD *pwOrdinal);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetRefTypeInfo )(
|
||||
__RPC__in ITypeInfo * This,
|
||||
/* [in] */ HREFTYPE hRefType,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *AddressOfMember )(
|
||||
ITypeInfo * This,
|
||||
/* [in] */ MEMBERID memid,
|
||||
/* [in] */ INVOKEKIND invKind,
|
||||
/* [out] */ PVOID *ppv);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *CreateInstance )(
|
||||
ITypeInfo * This,
|
||||
/* [in] */ IUnknown *pUnkOuter,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [iid_is][out] */ PVOID *ppvObj);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetMops )(
|
||||
__RPC__in ITypeInfo * This,
|
||||
/* [in] */ MEMBERID memid,
|
||||
/* [out] */ __RPC__deref_out_opt BSTR *pBstrMops);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetContainingTypeLib )(
|
||||
ITypeInfo * This,
|
||||
/* [out] */ ITypeLib **ppTLib,
|
||||
/* [out] */ UINT *pIndex);
|
||||
|
||||
/* [local] */ DWORD /*void*/ ( STDMETHODCALLTYPE *ReleaseTypeAttr )(
|
||||
ITypeInfo * This,
|
||||
/* [in] */ TYPEATTR *pTypeAttr);
|
||||
|
||||
/* [local] */ DWORD ( STDMETHODCALLTYPE *ReleaseFuncDesc )(
|
||||
ITypeInfo * This,
|
||||
/* [in] */ FUNCDESC *pFuncDesc);
|
||||
|
||||
/* [local] */ DWORD ( STDMETHODCALLTYPE *ReleaseVarDesc )(
|
||||
ITypeInfo * This,
|
||||
/* [in] */ VARDESC *pVarDesc);
|
||||
|
||||
END_INTERFACE
|
||||
} ITypeInfoVtbl;
|
||||
@@ -0,0 +1,72 @@
|
||||
typedef struct ITypeLibVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in ITypeLib * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in ITypeLib * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in ITypeLib * This);
|
||||
|
||||
/* [local] */ UINT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
ITypeLib * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
__RPC__in ITypeLib * This,
|
||||
/* [in] */ UINT index,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoType )(
|
||||
__RPC__in ITypeLib * This,
|
||||
/* [in] */ UINT index,
|
||||
/* [out] */ __RPC__out TYPEKIND *pTKind);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoOfGuid )(
|
||||
__RPC__in ITypeLib * This,
|
||||
/* [in] */ __RPC__in REFGUID guid,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTinfo);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetLibAttr )(
|
||||
ITypeLib * This,
|
||||
/* [out] */ TLIBATTR **ppTLibAttr);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeComp )(
|
||||
__RPC__in ITypeLib * This,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeComp **ppTComp);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *GetDocumentation )(
|
||||
ITypeLib * This,
|
||||
/* [in] */ INT index,
|
||||
/* [out] */ BSTR *pBstrName,
|
||||
/* [out] */ BSTR *pBstrDocString,
|
||||
/* [out] */ DWORD *pdwHelpContext,
|
||||
/* [out] */ BSTR *pBstrHelpFile);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *IsName )(
|
||||
ITypeLib * This,
|
||||
/* [annotation][out][in] */
|
||||
__RPC__inout LPOLESTR szNameBuf,
|
||||
/* [in] */ ULONG lHashVal,
|
||||
/* [out] */ BOOL *pfName);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *FindName )(
|
||||
ITypeLib * This,
|
||||
/* [annotation][out][in] */
|
||||
__RPC__inout LPOLESTR szNameBuf,
|
||||
/* [in] */ ULONG lHashVal,
|
||||
/* [length_is][size_is][out] */ ITypeInfo **ppTInfo,
|
||||
/* [length_is][size_is][out] */ MEMBERID *rgMemId,
|
||||
/* [out][in] */ USHORT *pcFound);
|
||||
|
||||
/* [local] */ DWORD /* void */ ( STDMETHODCALLTYPE *ReleaseTLibAttr )(
|
||||
ITypeLib * This,
|
||||
/* [in] */ TLIBATTR *pTLibAttr);
|
||||
|
||||
END_INTERFACE
|
||||
} ITypeLibVtbl;
|
||||
@@ -0,0 +1,28 @@
|
||||
typedef struct MyClsVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
MyCls * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
MyCls * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
MyCls * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *add )(
|
||||
MyCls * This,
|
||||
/* [in] */ UINT x,
|
||||
/* [in] */ UINT y,
|
||||
/* [out] */ UINT *res);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *print_state )(
|
||||
MyCls * This);
|
||||
|
||||
END_INTERFACE
|
||||
} MyClsVtbl;
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
typedef struct IActionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IAction * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IAction * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IAction * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
IAction * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
IAction * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
IAction * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IAction * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
|
||||
IAction * This,
|
||||
/* [retval][out] */ BSTR *pId);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Id )(
|
||||
IAction * This,
|
||||
/* [in] */ BSTR Id);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
|
||||
IAction * This,
|
||||
/* [retval][out] */ TASK_ACTION_TYPE *pType);
|
||||
|
||||
END_INTERFACE
|
||||
} IActionVtbl;
|
||||
@@ -0,0 +1,88 @@
|
||||
typedef struct IActionCollectionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IActionCollection * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IActionCollection * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IActionCollection * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
IActionCollection * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
IActionCollection * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
IActionCollection * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IActionCollection * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
|
||||
IActionCollection * This,
|
||||
/* [retval][out] */ long *pCount);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
|
||||
IActionCollection * This,
|
||||
/* [in] */ long index,
|
||||
/* [retval][out] */ IAction **ppAction);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
|
||||
IActionCollection * This,
|
||||
/* [retval][out] */ IUnknown **ppEnum);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_XmlText )(
|
||||
IActionCollection * This,
|
||||
/* [retval][out] */ BSTR *pText);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_XmlText )(
|
||||
IActionCollection * This,
|
||||
/* [in] */ BSTR text);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Create )(
|
||||
IActionCollection * This,
|
||||
/* [in] */ TASK_ACTION_TYPE type,
|
||||
/* [retval][out] */ IAction **ppAction);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
|
||||
IActionCollection * This,
|
||||
/* [in] */ VARIANT index);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
|
||||
IActionCollection * This);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Context )(
|
||||
IActionCollection * This,
|
||||
/* [retval][out] */ BSTR *pContext);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Context )(
|
||||
IActionCollection * This,
|
||||
/* [in] */ BSTR context);
|
||||
|
||||
END_INTERFACE
|
||||
} IActionCollectionVtbl;
|
||||
@@ -0,0 +1,75 @@
|
||||
typedef struct IComHandlerActionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IComHandlerAction * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IComHandlerAction * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IComHandlerAction * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
IComHandlerAction * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
IComHandlerAction * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
IComHandlerAction * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IComHandlerAction * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
|
||||
IComHandlerAction * This,
|
||||
/* [retval][out] */ BSTR *pId);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Id )(
|
||||
IComHandlerAction * This,
|
||||
/* [in] */ BSTR Id);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
|
||||
IComHandlerAction * This,
|
||||
/* [retval][out] */ TASK_ACTION_TYPE *pType);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ClassId )(
|
||||
IComHandlerAction * This,
|
||||
/* [retval][out] */ BSTR *pClsid);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ClassId )(
|
||||
IComHandlerAction * This,
|
||||
/* [in] */ BSTR clsid);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Data )(
|
||||
IComHandlerAction * This,
|
||||
/* [retval][out] */ BSTR *pData);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Data )(
|
||||
IComHandlerAction * This,
|
||||
/* [in] */ BSTR data);
|
||||
|
||||
END_INTERFACE
|
||||
} IComHandlerActionVtbl;
|
||||
@@ -0,0 +1,139 @@
|
||||
typedef struct IEmailActionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IEmailAction * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IEmailAction * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
IEmailAction * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ BSTR *pId);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Id )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ BSTR Id);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ TASK_ACTION_TYPE *pType);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Server )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ BSTR *pServer);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Server )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ BSTR server);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Subject )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ BSTR *pSubject);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Subject )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ BSTR subject);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_To )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ BSTR *pTo);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_To )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ BSTR to);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Cc )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ BSTR *pCc);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Cc )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ BSTR cc);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Bcc )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ BSTR *pBcc);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Bcc )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ BSTR bcc);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ReplyTo )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ BSTR *pReplyTo);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ReplyTo )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ BSTR replyTo);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_From )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ BSTR *pFrom);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_From )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ BSTR from);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HeaderFields )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ ITaskNamedValueCollection **ppHeaderFields);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_HeaderFields )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ ITaskNamedValueCollection *pHeaderFields);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Body )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ BSTR *pBody);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Body )(
|
||||
IEmailAction * This,
|
||||
/* [in] */ BSTR body);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Attachments )(
|
||||
IEmailAction * This,
|
||||
/* [retval][out] */ SAFEARRAY * *pAttachements);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Attachments )(
|
||||
IEmailAction * This,
|
||||
/* [max_is][in] */ SAFEARRAY * pAttachements);
|
||||
|
||||
END_INTERFACE
|
||||
} IEmailActionVtbl;
|
||||
@@ -0,0 +1,83 @@
|
||||
typedef struct IExecActionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IExecAction * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IExecAction * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IExecAction * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
IExecAction * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
IExecAction * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
IExecAction * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IExecAction * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
|
||||
IExecAction * This,
|
||||
/* [retval][out] */ BSTR *pId);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Id )(
|
||||
IExecAction * This,
|
||||
/* [in] */ BSTR Id);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
|
||||
IExecAction * This,
|
||||
/* [retval][out] */ TASK_ACTION_TYPE *pType);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Path )(
|
||||
IExecAction * This,
|
||||
/* [retval][out] */ BSTR *pPath);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Path )(
|
||||
IExecAction * This,
|
||||
/* [in] */ BSTR path);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Arguments )(
|
||||
IExecAction * This,
|
||||
/* [retval][out] */ BSTR *pArgument);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Arguments )(
|
||||
IExecAction * This,
|
||||
/* [in] */ BSTR argument);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_WorkingDirectory )(
|
||||
IExecAction * This,
|
||||
/* [retval][out] */ BSTR *pWorkingDirectory);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_WorkingDirectory )(
|
||||
IExecAction * This,
|
||||
/* [in] */ BSTR workingDirectory);
|
||||
|
||||
END_INTERFACE
|
||||
} IExecActionVtbl;
|
||||
@@ -0,0 +1,79 @@
|
||||
typedef struct IIdleSettingsVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IIdleSettings * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IIdleSettings * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IIdleSettings * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
IIdleSettings * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
IIdleSettings * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
IIdleSettings * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IIdleSettings * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IdleDuration )(
|
||||
IIdleSettings * This,
|
||||
/* [retval][out] */ BSTR *pDelay);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_IdleDuration )(
|
||||
IIdleSettings * This,
|
||||
/* [in] */ BSTR delay);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_WaitTimeout )(
|
||||
IIdleSettings * This,
|
||||
/* [retval][out] */ BSTR *pTimeout);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_WaitTimeout )(
|
||||
IIdleSettings * This,
|
||||
/* [in] */ BSTR timeout);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StopOnIdleEnd )(
|
||||
IIdleSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pStop);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StopOnIdleEnd )(
|
||||
IIdleSettings * This,
|
||||
/* [in] */ VARIANT_BOOL stop);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RestartOnIdle )(
|
||||
IIdleSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pRestart);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RestartOnIdle )(
|
||||
IIdleSettings * This,
|
||||
/* [in] */ VARIANT_BOOL restart);
|
||||
|
||||
END_INTERFACE
|
||||
} IIdleSettingsVtbl;
|
||||
@@ -0,0 +1,63 @@
|
||||
typedef struct INetworkSettingsVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
INetworkSettings * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
INetworkSettings * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
INetworkSettings * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
INetworkSettings * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
INetworkSettings * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
INetworkSettings * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
INetworkSettings * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
|
||||
INetworkSettings * This,
|
||||
/* [retval][out] */ BSTR *pName);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
|
||||
INetworkSettings * This,
|
||||
/* [in] */ BSTR name);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
|
||||
INetworkSettings * This,
|
||||
/* [retval][out] */ BSTR *pId);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Id )(
|
||||
INetworkSettings * This,
|
||||
/* [in] */ BSTR id);
|
||||
|
||||
END_INTERFACE
|
||||
} INetworkSettingsVtbl;
|
||||
@@ -0,0 +1,95 @@
|
||||
typedef struct IPrincipalVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IPrincipal * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IPrincipal * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IPrincipal * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
IPrincipal * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
IPrincipal * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
IPrincipal * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IPrincipal * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
|
||||
IPrincipal * This,
|
||||
/* [retval][out] */ BSTR *pId);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Id )(
|
||||
IPrincipal * This,
|
||||
/* [in] */ BSTR Id);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DisplayName )(
|
||||
IPrincipal * This,
|
||||
/* [retval][out] */ BSTR *pName);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DisplayName )(
|
||||
IPrincipal * This,
|
||||
/* [in] */ BSTR name);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_UserId )(
|
||||
IPrincipal * This,
|
||||
/* [retval][out] */ BSTR *pUser);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_UserId )(
|
||||
IPrincipal * This,
|
||||
/* [in] */ BSTR user);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LogonType )(
|
||||
IPrincipal * This,
|
||||
/* [retval][out] */ TASK_LOGON_TYPE *pLogon);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_LogonType )(
|
||||
IPrincipal * This,
|
||||
/* [in] */ TASK_LOGON_TYPE logon);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_GroupId )(
|
||||
IPrincipal * This,
|
||||
/* [retval][out] */ BSTR *pGroup);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_GroupId )(
|
||||
IPrincipal * This,
|
||||
/* [in] */ BSTR group);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RunLevel )(
|
||||
IPrincipal * This,
|
||||
/* [retval][out] */ TASK_RUNLEVEL_TYPE *pRunLevel);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RunLevel )(
|
||||
IPrincipal * This,
|
||||
/* [in] */ TASK_RUNLEVEL_TYPE runLevel);
|
||||
|
||||
END_INTERFACE
|
||||
} IPrincipalVtbl;
|
||||
@@ -0,0 +1,130 @@
|
||||
typedef struct IRegisteredTaskVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IRegisteredTask * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IRegisteredTask * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [out] */ __RPC__out UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames,
|
||||
/* [range][in] */ __RPC__in_range(0,16384) UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IRegisteredTask * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pName);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Path )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pPath);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [retval][out] */ __RPC__out TASK_STATE *pState);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pEnabled);
|
||||
|
||||
/* [helpstring][id][propput] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
VARIANT_BOOL enabled);
|
||||
|
||||
/* [id] */ HRESULT ( STDMETHODCALLTYPE *Run )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [in] */ VARIANT params,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IRunningTask **ppRunningTask);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RunEx )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [in] */ VARIANT params,
|
||||
/* [in] */ LONG flags,
|
||||
/* [in] */ LONG sessionID,
|
||||
/* [in] */ __RPC__in BSTR user,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IRunningTask **ppRunningTask);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetInstances )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [in] */ LONG flags,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IRunningTaskCollection **ppRunningTasks);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastRunTime )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [retval][out] */ __RPC__out DATE *pLastRunTime);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_LastTaskResult )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [retval][out] */ __RPC__out LONG *pLastTaskResult);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NumberOfMissedRuns )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [retval][out] */ __RPC__out LONG *pNumberOfMissedRuns);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_NextRunTime )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [retval][out] */ __RPC__out DATE *pNextRunTime);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Definition )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt ITaskDefinition **ppDefinition);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Xml )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pXml);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSecurityDescriptor )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [in] */ LONG securityInformation,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pSddl);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetSecurityDescriptor )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [in] */ __RPC__in BSTR sddl,
|
||||
/* [in] */ LONG flags);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Stop )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [in] */ LONG flags);
|
||||
|
||||
/* [helpstring][hidden][restricted] */ HRESULT ( STDMETHODCALLTYPE *GetRunTimes )(
|
||||
__RPC__in IRegisteredTask * This,
|
||||
/* [in] */ __RPC__in const LPSYSTEMTIME pstStart,
|
||||
/* [in] */ __RPC__in const LPSYSTEMTIME pstEnd,
|
||||
/* [out][in] */ __RPC__inout DWORD *pCount,
|
||||
/* [out] */ __RPC__deref_out_opt LPSYSTEMTIME *pRunTimes);
|
||||
|
||||
END_INTERFACE
|
||||
} IRegisteredTaskVtbl;
|
||||
@@ -0,0 +1,60 @@
|
||||
typedef struct IRegisteredTaskCollectionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IRegisteredTaskCollection * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IRegisteredTaskCollection * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IRegisteredTaskCollection * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
__RPC__in IRegisteredTaskCollection * This,
|
||||
/* [out] */ __RPC__out UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
__RPC__in IRegisteredTaskCollection * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
__RPC__in IRegisteredTaskCollection * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames,
|
||||
/* [range][in] */ __RPC__in_range(0,16384) UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IRegisteredTaskCollection * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
|
||||
__RPC__in IRegisteredTaskCollection * This,
|
||||
/* [retval][out] */ __RPC__out LONG *pCount);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
|
||||
__RPC__in IRegisteredTaskCollection * This,
|
||||
/* [in] */ VARIANT index,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IRegisteredTask **ppRegisteredTask);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
|
||||
__RPC__in IRegisteredTaskCollection * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IUnknown **ppEnum);
|
||||
|
||||
END_INTERFACE
|
||||
} IRegisteredTaskCollectionVtbl;
|
||||
@@ -0,0 +1,119 @@
|
||||
typedef struct IRegistrationInfoVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IRegistrationInfo * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IRegistrationInfo * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
IRegistrationInfo * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Description )(
|
||||
IRegistrationInfo * This,
|
||||
/* [retval][out] */ BSTR *pDescription);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Description )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ BSTR description);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Author )(
|
||||
IRegistrationInfo * This,
|
||||
/* [retval][out] */ BSTR *pAuthor);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Author )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ BSTR author);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Version )(
|
||||
IRegistrationInfo * This,
|
||||
/* [retval][out] */ BSTR *pVersion);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Version )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ BSTR version);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Date )(
|
||||
IRegistrationInfo * This,
|
||||
/* [retval][out] */ BSTR *pDate);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Date )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ BSTR date);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Documentation )(
|
||||
IRegistrationInfo * This,
|
||||
/* [retval][out] */ BSTR *pDocumentation);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Documentation )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ BSTR documentation);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_XmlText )(
|
||||
IRegistrationInfo * This,
|
||||
/* [retval][out] */ BSTR *pText);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_XmlText )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ BSTR text);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_URI )(
|
||||
IRegistrationInfo * This,
|
||||
/* [retval][out] */ BSTR *pUri);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_URI )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ BSTR uri);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_SecurityDescriptor )(
|
||||
IRegistrationInfo * This,
|
||||
/* [retval][out] */ VARIANT *pSddl);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_SecurityDescriptor )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ VARIANT sddl);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Source )(
|
||||
IRegistrationInfo * This,
|
||||
/* [retval][out] */ BSTR *pSource);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Source )(
|
||||
IRegistrationInfo * This,
|
||||
/* [in] */ BSTR source);
|
||||
|
||||
END_INTERFACE
|
||||
} IRegistrationInfoVtbl;
|
||||
@@ -0,0 +1,71 @@
|
||||
typedef struct IRepetitionPatternVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IRepetitionPattern * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IRepetitionPattern * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IRepetitionPattern * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
IRepetitionPattern * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
IRepetitionPattern * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
IRepetitionPattern * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IRepetitionPattern * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Interval )(
|
||||
IRepetitionPattern * This,
|
||||
/* [retval][out] */ BSTR *pInterval);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Interval )(
|
||||
IRepetitionPattern * This,
|
||||
/* [in] */ BSTR interval);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Duration )(
|
||||
IRepetitionPattern * This,
|
||||
/* [retval][out] */ BSTR *pDuration);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Duration )(
|
||||
IRepetitionPattern * This,
|
||||
/* [in] */ BSTR duration);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StopAtDurationEnd )(
|
||||
IRepetitionPattern * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pStop);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StopAtDurationEnd )(
|
||||
IRepetitionPattern * This,
|
||||
/* [in] */ VARIANT_BOOL stop);
|
||||
|
||||
END_INTERFACE
|
||||
} IRepetitionPatternVtbl;
|
||||
@@ -0,0 +1,77 @@
|
||||
typedef struct IRunningTaskVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IRunningTask * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IRunningTask * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IRunningTask * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
__RPC__in IRunningTask * This,
|
||||
/* [out] */ __RPC__out UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
__RPC__in IRunningTask * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
__RPC__in IRunningTask * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames,
|
||||
/* [range][in] */ __RPC__in_range(0,16384) UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IRunningTask * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
|
||||
__RPC__in IRunningTask * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pName);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_InstanceGuid )(
|
||||
__RPC__in IRunningTask * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pGuid);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Path )(
|
||||
__RPC__in IRunningTask * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pPath);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_State )(
|
||||
__RPC__in IRunningTask * This,
|
||||
/* [retval][out] */ __RPC__out TASK_STATE *pState);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_CurrentAction )(
|
||||
__RPC__in IRunningTask * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pName);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Stop )(
|
||||
__RPC__in IRunningTask * This);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
|
||||
__RPC__in IRunningTask * This);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_EnginePID )(
|
||||
__RPC__in IRunningTask * This,
|
||||
/* [retval][out] */ __RPC__out DWORD *pPID);
|
||||
|
||||
END_INTERFACE
|
||||
} IRunningTaskVtbl;
|
||||
@@ -0,0 +1,60 @@
|
||||
typedef struct IRunningTaskCollectionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IRunningTaskCollection * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IRunningTaskCollection * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IRunningTaskCollection * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
__RPC__in IRunningTaskCollection * This,
|
||||
/* [out] */ __RPC__out UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
__RPC__in IRunningTaskCollection * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
__RPC__in IRunningTaskCollection * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames,
|
||||
/* [range][in] */ __RPC__in_range(0,16384) UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IRunningTaskCollection * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
|
||||
__RPC__in IRunningTaskCollection * This,
|
||||
/* [retval][out] */ __RPC__out LONG *pCount);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
|
||||
__RPC__in IRunningTaskCollection * This,
|
||||
/* [in] */ VARIANT index,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IRunningTask **ppRunningTask);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
|
||||
__RPC__in IRunningTaskCollection * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IUnknown **ppEnum);
|
||||
|
||||
END_INTERFACE
|
||||
} IRunningTaskCollectionVtbl;
|
||||
@@ -0,0 +1,75 @@
|
||||
typedef struct IShowMessageActionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IShowMessageAction * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IShowMessageAction * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IShowMessageAction * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
IShowMessageAction * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
IShowMessageAction * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
IShowMessageAction * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IShowMessageAction * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
|
||||
IShowMessageAction * This,
|
||||
/* [retval][out] */ BSTR *pId);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Id )(
|
||||
IShowMessageAction * This,
|
||||
/* [in] */ BSTR Id);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
|
||||
IShowMessageAction * This,
|
||||
/* [retval][out] */ TASK_ACTION_TYPE *pType);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Title )(
|
||||
IShowMessageAction * This,
|
||||
/* [retval][out] */ BSTR *pTitle);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Title )(
|
||||
IShowMessageAction * This,
|
||||
/* [in] */ BSTR title);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MessageBody )(
|
||||
IShowMessageAction * This,
|
||||
/* [retval][out] */ BSTR *pMessageBody);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MessageBody )(
|
||||
IShowMessageAction * This,
|
||||
/* [in] */ BSTR messageBody);
|
||||
|
||||
END_INTERFACE
|
||||
} IShowMessageActionVtbl;
|
||||
@@ -0,0 +1,103 @@
|
||||
typedef struct ITaskDefinitionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ITaskDefinition * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ITaskDefinition * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ITaskDefinition * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
ITaskDefinition * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
ITaskDefinition * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
ITaskDefinition * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ITaskDefinition * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RegistrationInfo )(
|
||||
ITaskDefinition * This,
|
||||
/* [retval][out] */ IRegistrationInfo **ppRegistrationInfo);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RegistrationInfo )(
|
||||
ITaskDefinition * This,
|
||||
/* [in] */ IRegistrationInfo *pRegistrationInfo);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Triggers )(
|
||||
ITaskDefinition * This,
|
||||
/* [retval][out] */ ITriggerCollection **ppTriggers);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Triggers )(
|
||||
ITaskDefinition * This,
|
||||
/* [in] */ ITriggerCollection *pTriggers);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Settings )(
|
||||
ITaskDefinition * This,
|
||||
/* [retval][out] */ ITaskSettings **ppSettings);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Settings )(
|
||||
ITaskDefinition * This,
|
||||
/* [in] */ ITaskSettings *pSettings);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Data )(
|
||||
ITaskDefinition * This,
|
||||
/* [retval][out] */ BSTR *pData);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Data )(
|
||||
ITaskDefinition * This,
|
||||
/* [in] */ BSTR data);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Principal )(
|
||||
ITaskDefinition * This,
|
||||
/* [retval][out] */ IPrincipal **ppPrincipal);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Principal )(
|
||||
ITaskDefinition * This,
|
||||
/* [in] */ IPrincipal *pPrincipal);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Actions )(
|
||||
ITaskDefinition * This,
|
||||
/* [retval][out] */ IActionCollection **ppActions);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Actions )(
|
||||
ITaskDefinition * This,
|
||||
/* [in] */ IActionCollection *pActions);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_XmlText )(
|
||||
ITaskDefinition * This,
|
||||
/* [retval][out] */ BSTR *pXml);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_XmlText )(
|
||||
ITaskDefinition * This,
|
||||
/* [in] */ BSTR xml);
|
||||
|
||||
END_INTERFACE
|
||||
} ITaskDefinitionVtbl;
|
||||
@@ -0,0 +1,123 @@
|
||||
typedef struct ITaskFolderVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in ITaskFolder * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in ITaskFolder * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [out] */ __RPC__out UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames,
|
||||
/* [range][in] */ __RPC__in_range(0,16384) UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ITaskFolder * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pName);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Path )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pPath);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFolder )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
__RPC__in BSTR path,
|
||||
/* [retval][out] */ __RPC__deref_out_opt ITaskFolder **ppFolder);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFolders )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [in] */ LONG flags,
|
||||
/* [retval][out] */ __RPC__deref_out_opt ITaskFolderCollection **ppFolders);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *CreateFolder )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [in] */ __RPC__in BSTR subFolderName,
|
||||
/* [optional][in] */ VARIANT sddl,
|
||||
/* [retval][out] */ __RPC__deref_out_opt ITaskFolder **ppFolder);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteFolder )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
__RPC__in BSTR subFolderName,
|
||||
/* [in] */ LONG flags);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetTask )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [in] */ __RPC__in BSTR path,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IRegisteredTask **ppTask);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetTasks )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [in] */ LONG flags,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IRegisteredTaskCollection **ppTasks);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *DeleteTask )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [in] */ __RPC__in BSTR name,
|
||||
/* [in] */ LONG flags);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RegisterTask )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [in] */ __RPC__in BSTR path,
|
||||
/* [in] */ __RPC__in BSTR xmlText,
|
||||
/* [in] */ LONG flags,
|
||||
/* [in] */ VARIANT userId,
|
||||
/* [in] */ VARIANT password,
|
||||
/* [in] */ TASK_LOGON_TYPE logonType,
|
||||
/* [optional][in] */ VARIANT sddl,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IRegisteredTask **ppTask);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *RegisterTaskDefinition )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [in] */ __RPC__in BSTR path,
|
||||
/* [in] */ __RPC__in_opt ITaskDefinition *pDefinition,
|
||||
/* [in] */ LONG flags,
|
||||
/* [in] */ VARIANT userId,
|
||||
/* [in] */ VARIANT password,
|
||||
/* [in] */ TASK_LOGON_TYPE logonType,
|
||||
/* [optional][in] */ VARIANT sddl,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IRegisteredTask **ppTask);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetSecurityDescriptor )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
LONG securityInformation,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pSddl);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *SetSecurityDescriptor )(
|
||||
__RPC__in ITaskFolder * This,
|
||||
/* [in] */ __RPC__in BSTR sddl,
|
||||
/* [in] */ LONG flags);
|
||||
|
||||
END_INTERFACE
|
||||
} ITaskFolderVtbl;
|
||||
@@ -0,0 +1,60 @@
|
||||
typedef struct ITaskFolderCollectionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in ITaskFolderCollection * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in ITaskFolderCollection * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in ITaskFolderCollection * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
__RPC__in ITaskFolderCollection * This,
|
||||
/* [out] */ __RPC__out UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
__RPC__in ITaskFolderCollection * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
__RPC__in ITaskFolderCollection * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames,
|
||||
/* [range][in] */ __RPC__in_range(0,16384) UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ITaskFolderCollection * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
|
||||
__RPC__in ITaskFolderCollection * This,
|
||||
/* [retval][out] */ __RPC__out LONG *pCount);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
|
||||
__RPC__in ITaskFolderCollection * This,
|
||||
/* [in] */ VARIANT index,
|
||||
/* [retval][out] */ __RPC__deref_out_opt ITaskFolder **ppFolder);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
|
||||
__RPC__in ITaskFolderCollection * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IUnknown **ppEnum);
|
||||
|
||||
END_INTERFACE
|
||||
} ITaskFolderCollectionVtbl;
|
||||
@@ -0,0 +1,73 @@
|
||||
typedef struct ITaskNamedValueCollectionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ITaskNamedValueCollection * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ITaskNamedValueCollection * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ITaskNamedValueCollection * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
ITaskNamedValueCollection * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
ITaskNamedValueCollection * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
ITaskNamedValueCollection * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ITaskNamedValueCollection * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
|
||||
ITaskNamedValueCollection * This,
|
||||
/* [retval][out] */ long *pCount);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
|
||||
ITaskNamedValueCollection * This,
|
||||
/* [in] */ LONG index,
|
||||
/* [retval][out] */ ITaskNamedValuePair **ppPair);
|
||||
|
||||
/* [id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
|
||||
ITaskNamedValueCollection * This,
|
||||
/* [retval][out] */ IUnknown **ppEnum);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Create )(
|
||||
ITaskNamedValueCollection * This,
|
||||
/* [in] */ BSTR name,
|
||||
/* [in] */ BSTR value,
|
||||
/* [retval][out] */ ITaskNamedValuePair **ppPair);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
|
||||
ITaskNamedValueCollection * This,
|
||||
/* [in] */ LONG index);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
|
||||
ITaskNamedValueCollection * This);
|
||||
|
||||
END_INTERFACE
|
||||
} ITaskNamedValueCollectionVtbl;
|
||||
@@ -0,0 +1,63 @@
|
||||
typedef struct ITaskNamedValuePairVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ITaskNamedValuePair * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ITaskNamedValuePair * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ITaskNamedValuePair * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
ITaskNamedValuePair * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
ITaskNamedValuePair * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
ITaskNamedValuePair * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ITaskNamedValuePair * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
|
||||
ITaskNamedValuePair * This,
|
||||
/* [retval][out] */ BSTR *pName);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Name )(
|
||||
ITaskNamedValuePair * This,
|
||||
/* [in] */ BSTR name);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Value )(
|
||||
ITaskNamedValuePair * This,
|
||||
/* [retval][out] */ BSTR *pValue);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Value )(
|
||||
ITaskNamedValuePair * This,
|
||||
/* [in] */ BSTR value);
|
||||
|
||||
END_INTERFACE
|
||||
} ITaskNamedValuePairVtbl;
|
||||
@@ -0,0 +1,89 @@
|
||||
typedef struct ITaskServiceVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in ITaskService * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in ITaskService * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [out] */ __RPC__out UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames,
|
||||
/* [range][in] */ __RPC__in_range(0,16384) UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ITaskService * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetFolder )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [in] */ __RPC__in BSTR path,
|
||||
/* [retval][out] */ __RPC__deref_out_opt ITaskFolder **ppFolder);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetRunningTasks )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [in] */ LONG flags,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IRunningTaskCollection **ppRunningTasks);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *NewTask )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [in] */ DWORD flags,
|
||||
/* [retval][out] */ __RPC__deref_out_opt ITaskDefinition **ppDefinition);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Connect )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [optional][in] */ VARIANT serverName,
|
||||
/* [optional][in] */ VARIANT user,
|
||||
/* [optional][in] */ VARIANT domain,
|
||||
/* [optional][in] */ VARIANT password);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Connected )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pConnected);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_TargetServer )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pServer);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectedUser )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pUser);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_ConnectedDomain )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *pDomain);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_HighestVersion )(
|
||||
__RPC__in ITaskService * This,
|
||||
/* [retval][out] */ __RPC__out DWORD *pVersion);
|
||||
|
||||
END_INTERFACE
|
||||
} ITaskServiceVtbl;
|
||||
@@ -0,0 +1,207 @@
|
||||
typedef struct ITaskSettingsVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ITaskSettings * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ITaskSettings * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
ITaskSettings * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowDemandStart )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pAllowDemandStart);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowDemandStart )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ VARIANT_BOOL allowDemandStart);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RestartInterval )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ BSTR *pRestartInterval);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RestartInterval )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ BSTR restartInterval);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RestartCount )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ int *pRestartCount);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RestartCount )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ int restartCount);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MultipleInstances )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ TASK_INSTANCES_POLICY *pPolicy);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MultipleInstances )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ TASK_INSTANCES_POLICY policy);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StopIfGoingOnBatteries )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pStopIfOnBatteries);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StopIfGoingOnBatteries )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ VARIANT_BOOL stopIfOnBatteries);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DisallowStartIfOnBatteries )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pDisallowStart);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DisallowStartIfOnBatteries )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ VARIANT_BOOL disallowStart);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AllowHardTerminate )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pAllowHardTerminate);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AllowHardTerminate )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ VARIANT_BOOL allowHardTerminate);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StartWhenAvailable )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pStartWhenAvailable);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StartWhenAvailable )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ VARIANT_BOOL startWhenAvailable);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_XmlText )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ BSTR *pText);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_XmlText )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ BSTR text);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RunOnlyIfNetworkAvailable )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pRunOnlyIfNetworkAvailable);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RunOnlyIfNetworkAvailable )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ VARIANT_BOOL runOnlyIfNetworkAvailable);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ExecutionTimeLimit )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ BSTR *pExecutionTimeLimit);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ExecutionTimeLimit )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ BSTR executionTimeLimit);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pEnabled);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ VARIANT_BOOL enabled);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_DeleteExpiredTaskAfter )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ BSTR *pExpirationDelay);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_DeleteExpiredTaskAfter )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ BSTR expirationDelay);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Priority )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ int *pPriority);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Priority )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ int priority);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Compatibility )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ TASK_COMPATIBILITY *pCompatLevel);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Compatibility )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ TASK_COMPATIBILITY compatLevel);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Hidden )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pHidden);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Hidden )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ VARIANT_BOOL hidden);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_IdleSettings )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ IIdleSettings **ppIdleSettings);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_IdleSettings )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ IIdleSettings *pIdleSettings);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RunOnlyIfIdle )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pRunOnlyIfIdle);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RunOnlyIfIdle )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ VARIANT_BOOL runOnlyIfIdle);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_WakeToRun )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pWake);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_WakeToRun )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ VARIANT_BOOL wake);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_NetworkSettings )(
|
||||
ITaskSettings * This,
|
||||
/* [retval][out] */ INetworkSettings **ppNetworkSettings);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_NetworkSettings )(
|
||||
ITaskSettings * This,
|
||||
/* [in] */ INetworkSettings *pNetworkSettings);
|
||||
|
||||
END_INTERFACE
|
||||
} ITaskSettingsVtbl;
|
||||
@@ -0,0 +1,99 @@
|
||||
typedef struct ITriggerVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ITrigger * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ITrigger * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ITrigger * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
ITrigger * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
ITrigger * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
ITrigger * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ITrigger * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
|
||||
ITrigger * This,
|
||||
/* [retval][out] */ TASK_TRIGGER_TYPE2 *pType);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Id )(
|
||||
ITrigger * This,
|
||||
/* [retval][out] */ BSTR *pId);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Id )(
|
||||
ITrigger * This,
|
||||
/* [in] */ BSTR id);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Repetition )(
|
||||
ITrigger * This,
|
||||
/* [retval][out] */ IRepetitionPattern **ppRepeat);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Repetition )(
|
||||
ITrigger * This,
|
||||
/* [in] */ IRepetitionPattern *pRepeat);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ExecutionTimeLimit )(
|
||||
ITrigger * This,
|
||||
/* [retval][out] */ BSTR *pTimeLimit);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ExecutionTimeLimit )(
|
||||
ITrigger * This,
|
||||
/* [in] */ BSTR timelimit);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StartBoundary )(
|
||||
ITrigger * This,
|
||||
/* [retval][out] */ BSTR *pStart);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StartBoundary )(
|
||||
ITrigger * This,
|
||||
/* [in] */ BSTR start);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_EndBoundary )(
|
||||
ITrigger * This,
|
||||
/* [retval][out] */ BSTR *pEnd);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_EndBoundary )(
|
||||
ITrigger * This,
|
||||
/* [in] */ BSTR end);
|
||||
|
||||
/* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Enabled )(
|
||||
ITrigger * This,
|
||||
/* [retval][out] */ VARIANT_BOOL *pEnabled);
|
||||
|
||||
/* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Enabled )(
|
||||
ITrigger * This,
|
||||
/* [in] */ VARIANT_BOOL enabled);
|
||||
|
||||
END_INTERFACE
|
||||
} ITriggerVtbl;
|
||||
@@ -0,0 +1,72 @@
|
||||
typedef struct ITriggerCollectionVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
ITriggerCollection * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
__RPC__deref_out void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
ITriggerCollection * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
ITriggerCollection * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
ITriggerCollection * This,
|
||||
/* [out] */ UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
ITriggerCollection * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
ITriggerCollection * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [size_is][in] */ LPOLESTR *rgszNames,
|
||||
/* [range][in] */ UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
ITriggerCollection * This,
|
||||
/* [in] */ DISPID dispIdMember,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [in] */ WORD wFlags,
|
||||
/* [out][in] */ DISPPARAMS *pDispParams,
|
||||
/* [out] */ VARIANT *pVarResult,
|
||||
/* [out] */ EXCEPINFO *pExcepInfo,
|
||||
/* [out] */ UINT *puArgErr);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Count )(
|
||||
ITriggerCollection * This,
|
||||
/* [retval][out] */ long *pCount);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get_Item )(
|
||||
ITriggerCollection * This,
|
||||
/* [in] */ long index,
|
||||
/* [retval][out] */ ITrigger **ppTrigger);
|
||||
|
||||
/* [helpstring][id][propget] */ HRESULT ( STDMETHODCALLTYPE *get__NewEnum )(
|
||||
ITriggerCollection * This,
|
||||
/* [retval][out] */ IUnknown **ppEnum);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Create )(
|
||||
ITriggerCollection * This,
|
||||
/* [in] */ TASK_TRIGGER_TYPE2 type,
|
||||
/* [retval][out] */ ITrigger **ppTrigger);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Remove )(
|
||||
ITriggerCollection * This,
|
||||
/* [in] */ VARIANT index);
|
||||
|
||||
/* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Clear )(
|
||||
ITriggerCollection * This);
|
||||
|
||||
END_INTERFACE
|
||||
} ITriggerCollectionVtbl;
|
||||
@@ -0,0 +1,33 @@
|
||||
typedef struct IWbemObjectTextSrcVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IWbemObjectTextSrc * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [iid_is][out] */ void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IWbemObjectTextSrc * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IWbemObjectTextSrc * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetText )(
|
||||
IWbemObjectTextSrc * This,
|
||||
/* [in] */ long lFlags,
|
||||
/* [in] */ IWbemClassObject *pObj,
|
||||
/* [in] */ ULONG uObjTextFormat,
|
||||
/* [in] */ IWbemContext *pCtx,
|
||||
/* [out] */ BSTR *strText);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *CreateFromText )(
|
||||
IWbemObjectTextSrc * This,
|
||||
/* [in] */ long lFlags,
|
||||
/* [in] */ BSTR strText,
|
||||
/* [in] */ ULONG uObjTextFormat,
|
||||
/* [in] */ IWbemContext *pCtx,
|
||||
/* [out] */ IWbemClassObject **pNewObj);
|
||||
|
||||
END_INTERFACE
|
||||
} IWbemObjectTextSrcVtbl;
|
||||
@@ -0,0 +1,321 @@
|
||||
typedef struct IWebBrowser2Vtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IWebBrowser2 * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IWebBrowser2 * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfoCount )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [out] */ __RPC__out UINT *pctinfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetTypeInfo )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ UINT iTInfo,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [out] */ __RPC__deref_out_opt ITypeInfo **ppTInfo);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetIDsOfNames )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [size_is][in] */ __RPC__in_ecount_full(cNames) LPOLESTR *rgszNames,
|
||||
/* [range][in] */ __RPC__in_range(0,16384) UINT cNames,
|
||||
/* [in] */ LCID lcid,
|
||||
/* [size_is][out] */ __RPC__out_ecount_full(cNames) DISPID *rgDispId);
|
||||
|
||||
/* [local] */ HRESULT ( STDMETHODCALLTYPE *Invoke )(
|
||||
IWebBrowser2 * This,
|
||||
/* [annotation][in] */
|
||||
DISPID dispIdMember,
|
||||
/* [annotation][in] */
|
||||
REFIID riid,
|
||||
/* [annotation][in] */
|
||||
LCID lcid,
|
||||
/* [annotation][in] */
|
||||
WORD wFlags,
|
||||
/* [annotation][out][in] */
|
||||
DISPPARAMS *pDispParams,
|
||||
/* [annotation][out] */
|
||||
VARIANT *pVarResult,
|
||||
/* [annotation][out] */
|
||||
EXCEPINFO *pExcepInfo,
|
||||
/* [annotation][out] */
|
||||
UINT *puArgErr);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoBack )(
|
||||
__RPC__in IWebBrowser2 * This);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoForward )(
|
||||
__RPC__in IWebBrowser2 * This);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoHome )(
|
||||
__RPC__in IWebBrowser2 * This);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GoSearch )(
|
||||
__RPC__in IWebBrowser2 * This);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Navigate )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ __RPC__in BSTR URL,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *Flags,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *TargetFrameName,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *PostData,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *Headers);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh )(
|
||||
__RPC__in IWebBrowser2 * This);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Refresh2 )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *Level);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Stop )(
|
||||
__RPC__in IWebBrowser2 * This);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Application )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Parent )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Container )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Document )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt IDispatch **ppDisp);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_TopLevelContainer )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pBool);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Type )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *Type);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Left )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out long *pl);
|
||||
|
||||
/* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Left )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ long Left);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Top )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out long *pl);
|
||||
|
||||
/* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Top )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ long Top);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Width )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out long *pl);
|
||||
|
||||
/* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Width )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ long Width);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Height )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out long *pl);
|
||||
|
||||
/* [propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Height )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ long Height);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LocationName )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *LocationName);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_LocationURL )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *LocationURL);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Busy )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pBool);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Quit )(
|
||||
__RPC__in IWebBrowser2 * This);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ClientToWindow )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [out][in] */ __RPC__inout int *pcx,
|
||||
/* [out][in] */ __RPC__inout int *pcy);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *PutProperty )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ __RPC__in BSTR Property,
|
||||
/* [in] */ VARIANT vtValue);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *GetProperty )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ __RPC__in BSTR Property,
|
||||
/* [retval][out] */ __RPC__out VARIANT *pvtValue);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Name )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *Name);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_HWND )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out PVOID *pHWND);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_FullName )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *FullName);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Path )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *Path);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Visible )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pBool);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Visible )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ VARIANT_BOOL Value);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StatusBar )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pBool);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StatusBar )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ VARIANT_BOOL Value);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_StatusText )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__deref_out_opt BSTR *StatusText);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_StatusText )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ __RPC__in BSTR StatusText);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ToolBar )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out int *Value);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_ToolBar )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ int Value);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_MenuBar )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *Value);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_MenuBar )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ VARIANT_BOOL Value);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_FullScreen )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pbFullScreen);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_FullScreen )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ VARIANT_BOOL bFullScreen);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *Navigate2 )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ __RPC__in VARIANT *URL,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *Flags,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *TargetFrameName,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *PostData,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *Headers);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *QueryStatusWB )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ DWORD cmdID,
|
||||
/* [retval][out] */ __RPC__out DWORD *pcmdf);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ExecWB )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ DWORD cmdID,
|
||||
/* [in] */ DWORD cmdexecopt,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *pvaIn,
|
||||
/* [unique][optional][out][in] */ __RPC__inout_opt VARIANT *pvaOut);
|
||||
|
||||
/* [helpcontext][helpstring][id] */ HRESULT ( STDMETHODCALLTYPE *ShowBrowserBar )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ __RPC__in VARIANT *pvaClsid,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarShow,
|
||||
/* [unique][optional][in] */ __RPC__in_opt VARIANT *pvarSize);
|
||||
|
||||
/* [bindable][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_ReadyState )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [out][retval] */ __RPC__out DWORD *plReadyState);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Offline )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pbOffline);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Offline )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ VARIANT_BOOL bOffline);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Silent )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pbSilent);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Silent )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ VARIANT_BOOL bSilent);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RegisterAsBrowser )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pbRegister);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RegisterAsBrowser )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ VARIANT_BOOL bRegister);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_RegisterAsDropTarget )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pbRegister);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_RegisterAsDropTarget )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ VARIANT_BOOL bRegister);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_TheaterMode )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *pbRegister);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_TheaterMode )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ VARIANT_BOOL bRegister);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_AddressBar )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *Value);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_AddressBar )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ VARIANT_BOOL Value);
|
||||
|
||||
/* [helpcontext][helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE *get_Resizable )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [retval][out] */ __RPC__out VARIANT_BOOL *Value);
|
||||
|
||||
/* [helpcontext][helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE *put_Resizable )(
|
||||
__RPC__in IWebBrowser2 * This,
|
||||
/* [in] */ VARIANT_BOOL Value);
|
||||
|
||||
END_INTERFACE
|
||||
} IWebBrowser2Vtbl;
|
||||
@@ -0,0 +1,38 @@
|
||||
typedef struct IApplicationActivationManagerVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IApplicationActivationManager * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
_COM_Outptr_ void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IApplicationActivationManager * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IApplicationActivationManager * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *ActivateApplication )(
|
||||
__RPC__in IApplicationActivationManager * This,
|
||||
/* [in] */ __RPC__in LPCWSTR appUserModelId,
|
||||
/* [unique][in] */ __RPC__in_opt LPCWSTR arguments,
|
||||
/* [in] */ ACTIVATEOPTIONS options,
|
||||
/* [out] */ __RPC__out DWORD *processId);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *ActivateForFile )(
|
||||
__RPC__in IApplicationActivationManager * This,
|
||||
/* [in] */ __RPC__in LPCWSTR appUserModelId,
|
||||
/* [in] */ __RPC__in_opt IShellItemArray *itemArray,
|
||||
/* [unique][in] */ __RPC__in_opt LPCWSTR verb,
|
||||
/* [out] */ __RPC__out DWORD *processId);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *ActivateForProtocol )(
|
||||
__RPC__in IApplicationActivationManager * This,
|
||||
/* [in] */ __RPC__in LPCWSTR appUserModelId,
|
||||
/* [in] */ __RPC__in_opt IShellItemArray *itemArray,
|
||||
/* [out] */ __RPC__out DWORD *processId);
|
||||
|
||||
END_INTERFACE
|
||||
} IApplicationActivationManagerVtbl;
|
||||
@@ -0,0 +1,111 @@
|
||||
typedef struct IPackageDebugSettingsVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [in] */ REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
_COM_Outptr_ void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
IPackageDebugSettings * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
IPackageDebugSettings * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *EnableDebugging )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName,
|
||||
/* [annotation][in] */
|
||||
_In_opt_ LPCWSTR debuggerCommandLine,
|
||||
/* [annotation][in] */
|
||||
_In_opt_ PZZWSTR environment);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *DisableDebugging )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Suspend )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *Resume )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *TerminateAllProcesses )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *SetTargetSessionId )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ ULONG sessionId);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *EnumerateBackgroundTasks )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName,
|
||||
/* [annotation][out] */
|
||||
_Out_ ULONG *taskCount,
|
||||
/* [annotation][size_is][size_is][out] */
|
||||
_Outptr_result_buffer_(*taskCount) LPCGUID *taskIds,
|
||||
/* [annotation][size_is][size_is][out] */
|
||||
_Outptr_result_buffer_(*taskCount) LPCWSTR **taskNames);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *ActivateBackgroundTask )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCGUID taskId);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *StartServicing )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *StopServicing )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *StartSessionRedirection )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName,
|
||||
/* [annotation][in] */
|
||||
_In_ ULONG sessionId);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *StopSessionRedirection )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *GetPackageExecutionState )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName,
|
||||
/* [annotation][out] */
|
||||
_Out_ PACKAGE_EXECUTION_STATE *packageExecutionState);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *RegisterForPackageStateChanges )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ LPCWSTR packageFullName,
|
||||
/* [annotation][in] */
|
||||
_In_ IPackageExecutionStateChangeNotification *pPackageExecutionStateChangeNotification,
|
||||
/* [annotation][out] */
|
||||
_Out_ DWORD *pdwCookie);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *UnregisterForPackageStateChanges )(
|
||||
IPackageDebugSettings * This,
|
||||
/* [annotation][in] */
|
||||
_In_ DWORD dwCookie);
|
||||
|
||||
END_INTERFACE
|
||||
} IPackageDebugSettingsVtbl;
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
typedef struct IPackageExecutionStateChangeNotificationVtbl
|
||||
{
|
||||
BEGIN_INTERFACE
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *QueryInterface )(
|
||||
__RPC__in IPackageExecutionStateChangeNotification * This,
|
||||
/* [in] */ __RPC__in REFIID riid,
|
||||
/* [annotation][iid_is][out] */
|
||||
_COM_Outptr_ void **ppvObject);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *AddRef )(
|
||||
__RPC__in IPackageExecutionStateChangeNotification * This);
|
||||
|
||||
ULONG ( STDMETHODCALLTYPE *Release )(
|
||||
__RPC__in IPackageExecutionStateChangeNotification * This);
|
||||
|
||||
HRESULT ( STDMETHODCALLTYPE *OnStateChanged )(
|
||||
__RPC__in IPackageExecutionStateChangeNotification * This,
|
||||
/* [string][in] */ __RPC__in_string LPCWSTR pszPackageFullName,
|
||||
/* [in] */ PACKAGE_EXECUTION_STATE pesNewState);
|
||||
|
||||
END_INTERFACE
|
||||
} IPackageExecutionStateChangeNotificationVtbl;
|
||||
@@ -0,0 +1,58 @@
|
||||
import functools
|
||||
import ctypes
|
||||
|
||||
|
||||
generate_IID = IID.from_raw
|
||||
|
||||
|
||||
class COMHRESULT(HRESULT):
|
||||
_type_ = HRESULT._type_
|
||||
def _check_retval_(self):
|
||||
# We CAN NOT try to adapt the self.value and transform it with flags
|
||||
# here, we need to do it with the errcheck
|
||||
# So we have the peer-interface callback system on errcheck :)
|
||||
return self.value # The value will be send to errcheck :)
|
||||
|
||||
class COMInterface(ctypes.c_void_p):
|
||||
_functions_ = {
|
||||
}
|
||||
|
||||
# So COMInterface completely bypass the HRESULT
|
||||
# return value check on restype by setting the restype to COMHRESULT
|
||||
# But we add the 'errcheck' callbakc capacity for all COMInterface and subclasses
|
||||
# So the default implem of the callbakc must have the same behavior as
|
||||
# standard HRESULT restype.
|
||||
# This is why default errcheck callback call ctypes._check_HRESULT
|
||||
def _default_errcheck(self, result, func, args):
|
||||
ctypes._check_HRESULT(result)
|
||||
return args
|
||||
|
||||
def __getattr__(self, name):
|
||||
if name in self._functions_:
|
||||
winfunc = self._functions_[name]
|
||||
# Hacking the HRESULT _check_retval_ and
|
||||
# letting COMInterface.errcheck do the work of validating / raising
|
||||
winfunc.restype = COMHRESULT
|
||||
effective_errcheck = getattr(self, "errcheck", self._default_errcheck)
|
||||
winfunc.errcheck = effective_errcheck
|
||||
return functools.partial(winfunc, self)
|
||||
return super(COMInterface, self).__getattribute__(name)
|
||||
|
||||
def __repr__(self):
|
||||
description = "<NULL>" if not self.value else ""
|
||||
return "<{0}{1} at {2:#x}>".format(type(self).__name__, description, id(self))
|
||||
|
||||
# Simplified API for QueryInterface for interface embeding there IID
|
||||
def query(self, interfacetype):
|
||||
interface = interfacetype()
|
||||
self.QueryInterface(interface.IID, interface)
|
||||
return interface
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
#define BG_JOB_ENUM_ALL_USERS 0x0001
|
||||
|
||||
#define BG_NOTIFY_JOB_TRANSFERRED 0x0001
|
||||
#define BG_NOTIFY_JOB_ERROR 0x0002
|
||||
#define BG_NOTIFY_DISABLE 0x0004
|
||||
#define BG_NOTIFY_JOB_MODIFICATION 0x0008
|
||||
#define BG_NOTIFY_FILE_TRANSFERRED 0x0010
|
||||
@@ -0,0 +1,145 @@
|
||||
#define MAX_DEVICE_ID_LEN 200
|
||||
#define MAX_DEVNODE_ID_LEN MAX_DEVICE_ID_LEN
|
||||
|
||||
#define MAX_GUID_STRING_LEN 39 // 38 chars + terminator null
|
||||
#define MAX_CLASS_NAME_LEN 32
|
||||
#define MAX_PROFILE_LEN 80
|
||||
|
||||
#define MAX_CONFIG_VALUE 9999
|
||||
#define MAX_INSTANCE_VALUE 9999
|
||||
|
||||
#define MAX_MEM_REGISTERS 9 // Win95 compatibility--not applicable to 32-bit ConfigMgr
|
||||
#define MAX_IO_PORTS 20 // Win95 compatibility--not applicable to 32-bit ConfigMgr
|
||||
#define MAX_IRQS 7 // Win95 compatibility--not applicable to 32-bit ConfigMgr
|
||||
#define MAX_DMA_CHANNELS 7 // Win95 compatibility--not applicable to 32-bit ConfigMgr
|
||||
|
||||
#define DWORD_MAX 0xffffffff
|
||||
#define DWORDLONG_MAX 0xffffffffffffffff
|
||||
|
||||
|
||||
|
||||
#define CM_DEVCAP_LOCKSUPPORTED (0x00000001)
|
||||
#define CM_DEVCAP_EJECTSUPPORTED (0x00000002)
|
||||
#define CM_DEVCAP_REMOVABLE (0x00000004)
|
||||
#define CM_DEVCAP_DOCKDEVICE (0x00000008)
|
||||
#define CM_DEVCAP_UNIQUEID (0x00000010)
|
||||
#define CM_DEVCAP_SILENTINSTALL (0x00000020)
|
||||
#define CM_DEVCAP_RAWDEVICEOK (0x00000040)
|
||||
#define CM_DEVCAP_SURPRISEREMOVALOK (0x00000080)
|
||||
#define CM_DEVCAP_HARDWAREDISABLED (0x00000100)
|
||||
#define CM_DEVCAP_NONDYNAMIC (0x00000200)
|
||||
|
||||
|
||||
//
|
||||
// Resource types
|
||||
//
|
||||
#define ResType_All (0x00000000) // Return all resource types
|
||||
#define ResType_None (0x00000000) // Arbitration always succeeded
|
||||
#define ResType_Mem (0x00000001) // Physical address resource
|
||||
#define ResType_IO (0x00000002) // Physical I/O address resource
|
||||
#define ResType_DMA (0x00000003) // DMA channels resource
|
||||
#define ResType_IRQ (0x00000004) // IRQ resource
|
||||
#define ResType_DoNotUse (0x00000005) // Used as spacer to sync subsequent ResTypes w/NT
|
||||
#define ResType_BusNumber (0x00000006) // bus number resource
|
||||
#define ResType_MemLarge (0x00000007) // Memory resources >= 4GB
|
||||
#define ResType_MAX (0x00000007) // Maximum known (arbitrated) ResType
|
||||
|
||||
#define ResType_Ignored_Bit (0x00008000) // Ignore this resource
|
||||
#define ResType_ClassSpecific (0x0000FFFF) // class-specific resource
|
||||
#define ResType_Reserved (0x00008000) // reserved for internal use
|
||||
#define ResType_DevicePrivate (0x00008001) // device private data
|
||||
#define ResType_PcCardConfig (0x00008002) // PC Card configuration data
|
||||
#define ResType_MfCardConfig (0x00008003) // MF Card configuration data
|
||||
#define ResType_Connection (0x00008004) // Connection (Resource Hub) resource
|
||||
|
||||
|
||||
//
|
||||
// Logical Config Flags (specified in call to CM_Get_First_Log_Conf
|
||||
//
|
||||
#define BASIC_LOG_CONF 0x00000000 // Specifies the req list.
|
||||
#define FILTERED_LOG_CONF 0x00000001 // Specifies the filtered req list.
|
||||
#define ALLOC_LOG_CONF 0x00000002 // Specifies the Alloc Element.
|
||||
#define BOOT_LOG_CONF 0x00000003 // Specifies the RM Alloc Element.
|
||||
#define FORCED_LOG_CONF 0x00000004 // Specifies the Forced Log Conf
|
||||
#define OVERRIDE_LOG_CONF 0x00000005 // Specifies the Override req list.
|
||||
#define NUM_LOG_CONF 0x00000006 // Number of Log Conf type
|
||||
#define LOG_CONF_BITS 0x00000007 // The bits of the log conf type.
|
||||
|
||||
#define PRIORITY_EQUAL_FIRST (0x00000008) // Same priority, new one first
|
||||
#define PRIORITY_EQUAL_LAST (0x00000000) // Same priority, new one last
|
||||
#define PRIORITY_BIT (0x00000008)
|
||||
|
||||
|
||||
//
|
||||
// Configuration Manager CONFIGRET return status codes
|
||||
//
|
||||
|
||||
#define CR_SUCCESS (0x00000000)
|
||||
#define CR_DEFAULT (0x00000001)
|
||||
#define CR_OUT_OF_MEMORY (0x00000002)
|
||||
#define CR_INVALID_POINTER (0x00000003)
|
||||
#define CR_INVALID_FLAG (0x00000004)
|
||||
#define CR_INVALID_DEVNODE (0x00000005)
|
||||
#define CR_INVALID_DEVINST CR_INVALID_DEVNODE
|
||||
#define CR_INVALID_RES_DES (0x00000006)
|
||||
#define CR_INVALID_LOG_CONF (0x00000007)
|
||||
#define CR_INVALID_ARBITRATOR (0x00000008)
|
||||
#define CR_INVALID_NODELIST (0x00000009)
|
||||
#define CR_DEVNODE_HAS_REQS (0x0000000A)
|
||||
#define CR_DEVINST_HAS_REQS CR_DEVNODE_HAS_REQS
|
||||
#define CR_INVALID_RESOURCEID (0x0000000B)
|
||||
#define CR_DLVXD_NOT_FOUND (0x0000000C) // WIN 95 ONLY
|
||||
#define CR_NO_SUCH_DEVNODE (0x0000000D)
|
||||
#define CR_NO_SUCH_DEVINST CR_NO_SUCH_DEVNODE
|
||||
#define CR_NO_MORE_LOG_CONF (0x0000000E)
|
||||
#define CR_NO_MORE_RES_DES (0x0000000F)
|
||||
#define CR_ALREADY_SUCH_DEVNODE (0x00000010)
|
||||
#define CR_ALREADY_SUCH_DEVINST CR_ALREADY_SUCH_DEVNODE
|
||||
#define CR_INVALID_RANGE_LIST (0x00000011)
|
||||
#define CR_INVALID_RANGE (0x00000012)
|
||||
#define CR_FAILURE (0x00000013)
|
||||
#define CR_NO_SUCH_LOGICAL_DEV (0x00000014)
|
||||
#define CR_CREATE_BLOCKED (0x00000015)
|
||||
#define CR_NOT_SYSTEM_VM (0x00000016) // WIN 95 ONLY
|
||||
#define CR_REMOVE_VETOED (0x00000017)
|
||||
#define CR_APM_VETOED (0x00000018)
|
||||
#define CR_INVALID_LOAD_TYPE (0x00000019)
|
||||
#define CR_BUFFER_SMALL (0x0000001A)
|
||||
#define CR_NO_ARBITRATOR (0x0000001B)
|
||||
#define CR_NO_REGISTRY_HANDLE (0x0000001C)
|
||||
#define CR_REGISTRY_ERROR (0x0000001D)
|
||||
#define CR_INVALID_DEVICE_ID (0x0000001E)
|
||||
#define CR_INVALID_DATA (0x0000001F)
|
||||
#define CR_INVALID_API (0x00000020)
|
||||
#define CR_DEVLOADER_NOT_READY (0x00000021)
|
||||
#define CR_NEED_RESTART (0x00000022)
|
||||
#define CR_NO_MORE_HW_PROFILES (0x00000023)
|
||||
#define CR_DEVICE_NOT_THERE (0x00000024)
|
||||
#define CR_NO_SUCH_VALUE (0x00000025)
|
||||
#define CR_WRONG_TYPE (0x00000026)
|
||||
#define CR_INVALID_PRIORITY (0x00000027)
|
||||
#define CR_NOT_DISABLEABLE (0x00000028)
|
||||
#define CR_FREE_RESOURCES (0x00000029)
|
||||
#define CR_QUERY_VETOED (0x0000002A)
|
||||
#define CR_CANT_SHARE_IRQ (0x0000002B)
|
||||
#define CR_NO_DEPENDENT (0x0000002C)
|
||||
#define CR_SAME_RESOURCES (0x0000002D)
|
||||
#define CR_NO_SUCH_REGISTRY_KEY (0x0000002E)
|
||||
#define CR_INVALID_MACHINENAME (0x0000002F) // NT ONLY
|
||||
#define CR_REMOTE_COMM_FAILURE (0x00000030) // NT ONLY
|
||||
#define CR_MACHINE_UNAVAILABLE (0x00000031) // NT ONLY
|
||||
#define CR_NO_CM_SERVICES (0x00000032) // NT ONLY
|
||||
#define CR_ACCESS_DENIED (0x00000033) // NT ONLY
|
||||
#define CR_CALL_NOT_IMPLEMENTED (0x00000034)
|
||||
#define CR_INVALID_PROPERTY (0x00000035)
|
||||
#define CR_DEVICE_INTERFACE_ACTIVE (0x00000036)
|
||||
#define CR_NO_SUCH_DEVICE_INTERFACE (0x00000037)
|
||||
#define CR_INVALID_REFERENCE_STRING (0x00000038)
|
||||
#define CR_INVALID_CONFLICT_LIST (0x00000039)
|
||||
#define CR_INVALID_INDEX (0x0000003A)
|
||||
#define CR_INVALID_STRUCTURE_SIZE (0x0000003B)
|
||||
#define NUM_CR_RESULTS (0x0000003C)
|
||||
|
||||
|
||||
#define PCD_MAX_MEMORY 2
|
||||
#define PCD_MAX_IO 2
|
||||
@@ -0,0 +1,46 @@
|
||||
#define CWCSTORAGENAME 32
|
||||
|
||||
/* Storage instantiation modes */
|
||||
#define STGM_DIRECT 0x00000000L
|
||||
#define STGM_TRANSACTED 0x00010000L
|
||||
#define STGM_SIMPLE 0x08000000L
|
||||
|
||||
#define STGM_READ 0x00000000L
|
||||
#define STGM_WRITE 0x00000001L
|
||||
#define STGM_READWRITE 0x00000002L
|
||||
|
||||
#define STGM_SHARE_DENY_NONE 0x00000040L
|
||||
#define STGM_SHARE_DENY_READ 0x00000030L
|
||||
#define STGM_SHARE_DENY_WRITE 0x00000020L
|
||||
#define STGM_SHARE_EXCLUSIVE 0x00000010L
|
||||
|
||||
#define STGM_PRIORITY 0x00040000L
|
||||
#define STGM_DELETEONRELEASE 0x04000000L
|
||||
#define STGM_NOSCRATCH 0x00100000L
|
||||
|
||||
#define STGM_CREATE 0x00001000L
|
||||
#define STGM_CONVERT 0x00020000L
|
||||
#define STGM_FAILIFTHERE 0x00000000L
|
||||
|
||||
#define STGM_NOSNAPSHOT 0x00200000L
|
||||
#define STGM_DIRECT_SWMR 0x00400000L
|
||||
|
||||
/* flags for internet asyncronous and layout docfile */
|
||||
#define ASYNC_MODE_COMPATIBILITY 0x00000001L
|
||||
#define ASYNC_MODE_DEFAULT 0x00000000L
|
||||
|
||||
#define STGTY_REPEAT 0x00000100L
|
||||
#define STG_TOEND 0xFFFFFFFFL
|
||||
|
||||
#define STG_LAYOUT_SEQUENTIAL 0x00000000L
|
||||
#define STG_LAYOUT_INTERLEAVED 0x00000001L
|
||||
|
||||
|
||||
#define STGFMT_STORAGE 0
|
||||
#define STGFMT_NATIVE 1
|
||||
#define STGFMT_FILE 3
|
||||
#define STGFMT_ANY 4
|
||||
#define STGFMT_DOCFILE 5
|
||||
|
||||
// This is a legacy define to allow old component to builds
|
||||
#define STGFMT_DOCUMENT 0
|
||||
@@ -0,0 +1,153 @@
|
||||
#define ALG_CLASS_ANY (0)
|
||||
#define ALG_CLASS_SIGNATURE (1 << 13)
|
||||
#define ALG_CLASS_MSG_ENCRYPT (2 << 13)
|
||||
#define ALG_CLASS_DATA_ENCRYPT (3 << 13)
|
||||
#define ALG_CLASS_HASH (4 << 13)
|
||||
#define ALG_CLASS_KEY_EXCHANGE (5 << 13)
|
||||
#define ALG_CLASS_ALL (7 << 13)
|
||||
/* Algorithm types */
|
||||
#define ALG_TYPE_ANY (0)
|
||||
#define ALG_TYPE_DSS (1 << 9)
|
||||
#define ALG_TYPE_RSA (2 << 9)
|
||||
#define ALG_TYPE_BLOCK (3 << 9)
|
||||
#define ALG_TYPE_STREAM (4 << 9)
|
||||
#define ALG_TYPE_DH (5 << 9)
|
||||
#define ALG_TYPE_SECURECHANNEL (6 << 9)
|
||||
#define ALG_TYPE_ECDH (7 << 9)
|
||||
|
||||
/* SIDs */
|
||||
#define ALG_SID_ANY (0)
|
||||
/* RSA SIDs */
|
||||
#define ALG_SID_RSA_ANY 0
|
||||
#define ALG_SID_RSA_PKCS 1
|
||||
#define ALG_SID_RSA_MSATWORK 2
|
||||
#define ALG_SID_RSA_ENTRUST 3
|
||||
#define ALG_SID_RSA_PGP 4
|
||||
/* DSS SIDs */
|
||||
#define ALG_SID_DSS_ANY 0
|
||||
#define ALG_SID_DSS_PKCS 1
|
||||
#define ALG_SID_DSS_DMS 2
|
||||
#define ALG_SID_ECDSA 3
|
||||
|
||||
/* DES SIDs */
|
||||
#define ALG_SID_DES 1
|
||||
#define ALG_SID_3DES 3
|
||||
#define ALG_SID_DESX 4
|
||||
#define ALG_SID_IDEA 5
|
||||
#define ALG_SID_CAST 6
|
||||
#define ALG_SID_SAFERSK64 7
|
||||
#define ALG_SID_SAFERSK128 8
|
||||
#define ALG_SID_3DES_112 9
|
||||
#define ALG_SID_CYLINK_MEK 12
|
||||
#define ALG_SID_RC5 13
|
||||
#define ALG_SID_AES_128 14
|
||||
#define ALG_SID_AES_192 15
|
||||
#define ALG_SID_AES_256 16
|
||||
#define ALG_SID_AES 17
|
||||
/* Fortezza */
|
||||
#define ALG_SID_SKIPJACK 10
|
||||
#define ALG_SID_TEK 11
|
||||
/* Diffie-Hellmans SIDs */
|
||||
#define ALG_SID_DH_SANDF 1
|
||||
#define ALG_SID_DH_EPHEM 2
|
||||
#define ALG_SID_AGREED_KEY_ANY 3
|
||||
#define ALG_SID_KEA 4
|
||||
#define ALG_SID_ECDH 5
|
||||
#define ALG_SID_ECDH_EPHEM 6
|
||||
/* RC2 SIDs */
|
||||
#define ALG_SID_RC4 1
|
||||
#define ALG_SID_RC2 2
|
||||
#define ALG_SID_SEAL 2
|
||||
/* Hash SIDs */
|
||||
#define ALG_SID_MD2 1
|
||||
#define ALG_SID_MD4 2
|
||||
#define ALG_SID_MD5 3
|
||||
#define ALG_SID_SHA 4
|
||||
#define ALG_SID_SHA1 ALG_SID_SHA
|
||||
#define ALG_SID_MAC 5
|
||||
#define ALG_SID_RIPEMD 6
|
||||
#define ALG_SID_RIPEMD160 7
|
||||
#define ALG_SID_SSL3SHAMD5 8
|
||||
#define ALG_SID_HMAC 9
|
||||
#define ALG_SID_TLS1PRF 10
|
||||
#define ALG_SID_HASH_REPLACE_OWF 11
|
||||
#define ALG_SID_SHA_256 12
|
||||
#define ALG_SID_SHA_384 13
|
||||
#define ALG_SID_SHA_512 14
|
||||
/* SCHANNEL SIDs */
|
||||
#define ALG_SID_SSL3_MASTER 1
|
||||
#define ALG_SID_SCHANNEL_MASTER_HASH 2
|
||||
#define ALG_SID_SCHANNEL_MAC_KEY 3
|
||||
#define ALG_SID_PCT1_MASTER 4
|
||||
#define ALG_SID_SSL2_MASTER 5
|
||||
#define ALG_SID_TLS1_MASTER 6
|
||||
#define ALG_SID_SCHANNEL_ENC_KEY 7
|
||||
#define ALG_SID_EXAMPLE 80
|
||||
|
||||
#define ALG_SID_ECMQV 1
|
||||
|
||||
/* Algorithm Definitions */
|
||||
#define CALG_MD2 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD2)
|
||||
#define CALG_MD4 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD4)
|
||||
#define CALG_MD5 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MD5)
|
||||
#define CALG_SHA (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA)
|
||||
#define CALG_SHA1 CALG_SHA
|
||||
#define CALG_MAC (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_MAC)
|
||||
#define CALG_SSL3_SHAMD5 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SSL3SHAMD5)
|
||||
#define CALG_HMAC (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_HMAC)
|
||||
#define CALG_TLS1PRF (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_TLS1PRF)
|
||||
#define CALG_HASH_REPLACE_OWF (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_HASH_REPLACE_OWF)
|
||||
#define CALG_SHA_256 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_256)
|
||||
#define CALG_SHA_384 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_384)
|
||||
#define CALG_SHA_512 (ALG_CLASS_HASH | ALG_TYPE_ANY | ALG_SID_SHA_512)
|
||||
#define CALG_RSA_SIGN (ALG_CLASS_SIGNATURE | ALG_TYPE_RSA | ALG_SID_RSA_ANY)
|
||||
#define CALG_DSS_SIGN (ALG_CLASS_SIGNATURE | ALG_TYPE_DSS | ALG_SID_DSS_ANY)
|
||||
#define CALG_NO_SIGN (ALG_CLASS_SIGNATURE | ALG_TYPE_ANY | ALG_SID_ANY)
|
||||
#define CALG_ECDSA (ALG_CLASS_SIGNATURE | ALG_TYPE_DSS | ALG_SID_ECDSA)
|
||||
#define CALG_DH_SF (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_DH_SANDF)
|
||||
#define CALG_DH_EPHEM (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_DH_EPHEM)
|
||||
#define CALG_AGREEDKEY_ANY (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_AGREED_KEY_ANY)
|
||||
#define CALG_KEA_KEYX (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_KEA)
|
||||
#define CALG_HUGHES_MD5 (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_ANY | ALG_SID_MD5)
|
||||
#define CALG_ECDH (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_DH | ALG_SID_ECDH)
|
||||
#define CALG_ECDH_EPHEM (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_ECDH | ALG_SID_ECDH_EPHEM)
|
||||
#define CALG_RSA_KEYX (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_RSA | ALG_SID_RSA_ANY)
|
||||
#define CALG_ECMQV (ALG_CLASS_KEY_EXCHANGE | ALG_TYPE_ANY | ALG_SID_ECMQV)
|
||||
#define CALG_DES (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_DES)
|
||||
#define CALG_RC2 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_RC2)
|
||||
#define CALG_3DES (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_3DES)
|
||||
#define CALG_3DES_112 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_3DES_112)
|
||||
#define CALG_DESX (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_DESX)
|
||||
#define CALG_AES_128 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_128)
|
||||
#define CALG_AES_192 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_192)
|
||||
#define CALG_AES_256 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES_256)
|
||||
#define CALG_AES (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_AES)
|
||||
#define CALG_RC4 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_STREAM | ALG_SID_RC4)
|
||||
#define CALG_SEAL (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_STREAM | ALG_SID_SEAL)
|
||||
#define CALG_RC5 (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_STREAM | ALG_SID_RC5)
|
||||
#define CALG_SKIPJACK (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_SKIPJACK)
|
||||
#define CALG_TEK (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_TEK)
|
||||
#define CALG_CYLINK_MEK (ALG_CLASS_DATA_ENCRYPT | ALG_TYPE_BLOCK | ALG_SID_CYLINK_MEK)
|
||||
#define CALG_SSL3_MASTER (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SSL3_MASTER)
|
||||
#define CALG_SCHANNEL_MASTER_HASH (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_MASTER_HASH)
|
||||
#define CALG_SCHANNEL_MAC_KEY (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_MAC_KEY)
|
||||
#define CALG_SCHANNEL_ENC_KEY (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SCHANNEL_ENC_KEY)
|
||||
#define CALG_PCT1_MASTER (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_PCT1_MASTER)
|
||||
#define CALG_SSL2_MASTER (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_SSL2_MASTER)
|
||||
#define CALG_TLS1_MASTER (ALG_CLASS_MSG_ENCRYPT | ALG_TYPE_SECURECHANNEL | ALG_SID_TLS1_MASTER)
|
||||
|
||||
|
||||
/* Protocol Flags */
|
||||
#define CRYPT_FLAG_PCT1 0x0001
|
||||
#define CRYPT_FLAG_SSL2 0x0002
|
||||
#define CRYPT_FLAG_SSL3 0x0004
|
||||
#define CRYPT_FLAG_TLS1 0x0008
|
||||
#define CRYPT_FLAG_IPSEC 0x0010
|
||||
#define CRYPT_FLAG_SIGNING 0x0020
|
||||
|
||||
#define HP_ALGID 0x0001 // Hash algorithm
|
||||
#define HP_HASHVAL 0x0002 // Hash value
|
||||
#define HP_HASHSIZE 0x0004 // Hash value size
|
||||
#define HP_HMAC_INFO 0x0005 // information for creating an HMAC
|
||||
#define HP_TLS1PRF_LABEL 0x0006 // label for TLS1 PRF
|
||||
#define HP_TLS1PRF_SEED 0x0007 // seed for TLS1 PRF
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
|
||||
#define RPC_RESPONSE_TYPE_BIND_OK 1
|
||||
#define RPC_RESPONSE_TYPE_FAIL 2
|
||||
#define RPC_RESPONSE_TYPE_SUCESS 3
|
||||
#define RPC_RESPONSE_TYPE_SUCCESS 3
|
||||
|
||||
#define BIND_IF_SYNTAX_NDR32 1
|
||||
#define BIND_IF_SYNTAX_NDR64 2
|
||||
@@ -0,0 +1,58 @@
|
||||
#define FILE_DEVICE_8042_PORT 0x00000027
|
||||
#define FILE_DEVICE_ACPI 0x00000032
|
||||
#define FILE_DEVICE_BATTERY 0x00000029
|
||||
#define FILE_DEVICE_BEEP 0x00000001
|
||||
#define FILE_DEVICE_BUS_EXTENDER 0x0000002a
|
||||
#define FILE_DEVICE_CD_ROM 0x00000002
|
||||
#define FILE_DEVICE_CD_ROM_FILE_SYSTEM 0x00000003
|
||||
#define FILE_DEVICE_CHANGER 0x00000030
|
||||
#define FILE_DEVICE_CONTROLLER 0x00000004
|
||||
#define FILE_DEVICE_DATALINK 0x00000005
|
||||
#define FILE_DEVICE_DFS 0x00000006
|
||||
#define FILE_DEVICE_DFS_FILE_SYSTEM 0x00000035
|
||||
#define FILE_DEVICE_DFS_VOLUME 0x00000036
|
||||
#define FILE_DEVICE_DISK 0x00000007
|
||||
#define FILE_DEVICE_DISK_FILE_SYSTEM 0x00000008
|
||||
#define FILE_DEVICE_DVD 0x00000033
|
||||
#define FILE_DEVICE_FILE_SYSTEM 0x00000009
|
||||
#define FILE_DEVICE_FIPS 0x0000003a
|
||||
#define FILE_DEVICE_FULLSCREEN_VIDEO 0x00000034
|
||||
#define FILE_DEVICE_INPORT_PORT 0x0000000a
|
||||
#define FILE_DEVICE_KEYBOARD 0x0000000b
|
||||
#define FILE_DEVICE_KS 0x0000002f
|
||||
#define FILE_DEVICE_KSEC 0x00000039
|
||||
#define FILE_DEVICE_MAILSLOT 0x0000000c
|
||||
#define FILE_DEVICE_MASS_STORAGE 0x0000002d
|
||||
#define FILE_DEVICE_MIDI_IN 0x0000000d
|
||||
#define FILE_DEVICE_MIDI_OUT 0x0000000e
|
||||
#define FILE_DEVICE_MODEM 0x0000002b
|
||||
#define FILE_DEVICE_MOUSE 0x0000000f
|
||||
#define FILE_DEVICE_MULTI_UNC_PROVIDER 0x00000010
|
||||
#define FILE_DEVICE_NAMED_PIPE 0x00000011
|
||||
#define FILE_DEVICE_NETWORK 0x00000012
|
||||
#define FILE_DEVICE_NETWORK_BROWSER 0x00000013
|
||||
#define FILE_DEVICE_NETWORK_FILE_SYSTEM 0x00000014
|
||||
#define FILE_DEVICE_NETWORK_REDIRECTOR 0x00000028
|
||||
#define FILE_DEVICE_NULL 0x00000015
|
||||
#define FILE_DEVICE_PARALLEL_PORT 0x00000016
|
||||
#define FILE_DEVICE_PHYSICAL_NETCARD 0x00000017
|
||||
#define FILE_DEVICE_PRINTER 0x00000018
|
||||
#define FILE_DEVICE_SCANNER 0x00000019
|
||||
#define FILE_DEVICE_SCREEN 0x0000001c
|
||||
#define FILE_DEVICE_SERENUM 0x00000037
|
||||
#define FILE_DEVICE_SERIAL_MOUSE_PORT 0x0000001a
|
||||
#define FILE_DEVICE_SERIAL_PORT 0x0000001b
|
||||
#define FILE_DEVICE_SMARTCARD 0x00000031
|
||||
#define FILE_DEVICE_SMB 0x0000002e
|
||||
#define FILE_DEVICE_SOUND 0x0000001d
|
||||
#define FILE_DEVICE_STREAMS 0x0000001e
|
||||
#define FILE_DEVICE_TAPE 0x0000001f
|
||||
#define FILE_DEVICE_TAPE_FILE_SYSTEM 0x00000020
|
||||
#define FILE_DEVICE_TERMSRV 0x00000038
|
||||
#define FILE_DEVICE_TRANSPORT 0x00000021
|
||||
#define FILE_DEVICE_UNKNOWN 0x00000022
|
||||
#define FILE_DEVICE_VDM 0x0000002c
|
||||
#define FILE_DEVICE_VIDEO 0x00000023
|
||||
#define FILE_DEVICE_VIRTUAL_DISK 0x00000024
|
||||
#define FILE_DEVICE_WAVE_IN 0x00000025
|
||||
#define FILE_DEVICE_WAVE_OUT 0x00000026
|
||||
@@ -0,0 +1,4 @@
|
||||
#define VIRTUAL_STORAGE_TYPE_DEVICE_UNKNOWN 0
|
||||
#define VIRTUAL_STORAGE_TYPE_DEVICE_ISO 1
|
||||
#define VIRTUAL_STORAGE_TYPE_DEVICE_VHD 2
|
||||
#define VIRTUAL_STORAGE_TYPE_DEVICE_VHDX 3
|
||||
@@ -0,0 +1,94 @@
|
||||
//
|
||||
// CryptProtect PromptStruct dwPromtFlags
|
||||
//
|
||||
//
|
||||
// prompt on unprotect
|
||||
#define CRYPTPROTECT_PROMPT_ON_UNPROTECT 0x1 // 1<<0
|
||||
//
|
||||
// prompt on protect
|
||||
#define CRYPTPROTECT_PROMPT_ON_PROTECT 0x2 // 1<<1
|
||||
#define CRYPTPROTECT_PROMPT_RESERVED 0x04 // reserved, do not use.
|
||||
|
||||
//
|
||||
// default to strong variant UI protection (user supplied password currently).
|
||||
#define CRYPTPROTECT_PROMPT_STRONG 0x08 // 1<<3
|
||||
|
||||
//
|
||||
// require strong variant UI protection (user supplied password currently).
|
||||
#define CRYPTPROTECT_PROMPT_REQUIRE_STRONG 0x10 // 1<<4
|
||||
|
||||
//
|
||||
// CryptProtectData and CryptUnprotectData dwFlags
|
||||
//
|
||||
// for remote-access situations where ui is not an option
|
||||
// if UI was specified on protect or unprotect operation, the call
|
||||
// will fail and GetLastError() will indicate ERROR_PASSWORD_RESTRICTION
|
||||
#define CRYPTPROTECT_UI_FORBIDDEN 0x1
|
||||
|
||||
//
|
||||
// per machine protected data -- any user on machine where CryptProtectData
|
||||
// took place may CryptUnprotectData
|
||||
#define CRYPTPROTECT_LOCAL_MACHINE 0x4
|
||||
|
||||
//
|
||||
// force credential synchronize during CryptProtectData()
|
||||
// Synchronize is only operation that occurs during this operation
|
||||
#define CRYPTPROTECT_CRED_SYNC 0x8
|
||||
|
||||
//
|
||||
// Generate an Audit on protect and unprotect operations
|
||||
//
|
||||
#define CRYPTPROTECT_AUDIT 0x10
|
||||
|
||||
//
|
||||
// Protect data with a non-recoverable key
|
||||
//
|
||||
#define CRYPTPROTECT_NO_RECOVERY 0x20
|
||||
|
||||
|
||||
//
|
||||
// Verify the protection of a protected blob
|
||||
//
|
||||
#define CRYPTPROTECT_VERIFY_PROTECTION 0x40
|
||||
|
||||
//
|
||||
// Regenerate the local machine protection
|
||||
//
|
||||
#define CRYPTPROTECT_CRED_REGENERATE 0x80
|
||||
|
||||
// flags reserved for system use
|
||||
#define CRYPTPROTECT_FIRST_RESERVED_FLAGVAL 0x0FFFFFFF
|
||||
#define CRYPTPROTECT_LAST_RESERVED_FLAGVAL 0xFFFFFFFF
|
||||
|
||||
|
||||
//
|
||||
// The buffer length passed into CryptProtectMemory and CryptUnprotectMemory
|
||||
// must be a multiple of this length (or zero).
|
||||
//
|
||||
|
||||
#define CRYPTPROTECTMEMORY_BLOCK_SIZE 16
|
||||
|
||||
|
||||
//
|
||||
// CryptProtectMemory/CryptUnprotectMemory dwFlags
|
||||
//
|
||||
|
||||
//
|
||||
// Encrypt/Decrypt within current process context.
|
||||
//
|
||||
|
||||
#define CRYPTPROTECTMEMORY_SAME_PROCESS 0x00
|
||||
|
||||
//
|
||||
// Encrypt/Decrypt across process boundaries.
|
||||
// eg: encrypted buffer passed across LPC to another process which calls CryptUnprotectMemory.
|
||||
//
|
||||
|
||||
#define CRYPTPROTECTMEMORY_CROSS_PROCESS 0x01
|
||||
|
||||
//
|
||||
// Encrypt/Decrypt across callers with same LogonId.
|
||||
// eg: encrypted buffer passed across LPC to another process which calls CryptUnprotectMemory whilst impersonating.
|
||||
//
|
||||
|
||||
#define CRYPTPROTECTMEMORY_SAME_LOGON 0x02
|
||||
@@ -0,0 +1,88 @@
|
||||
#define PRODUCT_UNDEFINED 0x00000000
|
||||
|
||||
#define PRODUCT_ULTIMATE 0x00000001
|
||||
#define PRODUCT_HOME_BASIC 0x00000002
|
||||
#define PRODUCT_HOME_PREMIUM 0x00000003
|
||||
#define PRODUCT_ENTERPRISE 0x00000004
|
||||
#define PRODUCT_HOME_BASIC_N 0x00000005
|
||||
#define PRODUCT_BUSINESS 0x00000006
|
||||
#define PRODUCT_STANDARD_SERVER 0x00000007
|
||||
#define PRODUCT_DATACENTER_SERVER 0x00000008
|
||||
#define PRODUCT_SMALLBUSINESS_SERVER 0x00000009
|
||||
#define PRODUCT_ENTERPRISE_SERVER 0x0000000A
|
||||
#define PRODUCT_STARTER 0x0000000B
|
||||
#define PRODUCT_DATACENTER_SERVER_CORE 0x0000000C
|
||||
#define PRODUCT_STANDARD_SERVER_CORE 0x0000000D
|
||||
#define PRODUCT_ENTERPRISE_SERVER_CORE 0x0000000E
|
||||
#define PRODUCT_ENTERPRISE_SERVER_IA64 0x0000000F
|
||||
#define PRODUCT_BUSINESS_N 0x00000010
|
||||
#define PRODUCT_WEB_SERVER 0x00000011
|
||||
#define PRODUCT_CLUSTER_SERVER 0x00000012
|
||||
#define PRODUCT_HOME_SERVER 0x00000013
|
||||
#define PRODUCT_STORAGE_EXPRESS_SERVER 0x00000014
|
||||
#define PRODUCT_STORAGE_STANDARD_SERVER 0x00000015
|
||||
#define PRODUCT_STORAGE_WORKGROUP_SERVER 0x00000016
|
||||
#define PRODUCT_STORAGE_ENTERPRISE_SERVER 0x00000017
|
||||
#define PRODUCT_SERVER_FOR_SMALLBUSINESS 0x00000018
|
||||
#define PRODUCT_SMALLBUSINESS_SERVER_PREMIUM 0x00000019
|
||||
#define PRODUCT_HOME_PREMIUM_N 0x0000001A
|
||||
#define PRODUCT_ENTERPRISE_N 0x0000001B
|
||||
#define PRODUCT_ULTIMATE_N 0x0000001C
|
||||
#define PRODUCT_WEB_SERVER_CORE 0x0000001D
|
||||
#define PRODUCT_MEDIUMBUSINESS_SERVER_MANAGEMENT 0x0000001E
|
||||
#define PRODUCT_MEDIUMBUSINESS_SERVER_SECURITY 0x0000001F
|
||||
#define PRODUCT_MEDIUMBUSINESS_SERVER_MESSAGING 0x00000020
|
||||
#define PRODUCT_SERVER_FOUNDATION 0x00000021
|
||||
#define PRODUCT_HOME_PREMIUM_SERVER 0x00000022
|
||||
#define PRODUCT_SERVER_FOR_SMALLBUSINESS_V 0x00000023
|
||||
#define PRODUCT_STANDARD_SERVER_V 0x00000024
|
||||
#define PRODUCT_DATACENTER_SERVER_V 0x00000025
|
||||
#define PRODUCT_ENTERPRISE_SERVER_V 0x00000026
|
||||
#define PRODUCT_DATACENTER_SERVER_CORE_V 0x00000027
|
||||
#define PRODUCT_STANDARD_SERVER_CORE_V 0x00000028
|
||||
#define PRODUCT_ENTERPRISE_SERVER_CORE_V 0x00000029
|
||||
#define PRODUCT_HYPERV 0x0000002A
|
||||
#define PRODUCT_STORAGE_EXPRESS_SERVER_CORE 0x0000002B
|
||||
#define PRODUCT_STORAGE_STANDARD_SERVER_CORE 0x0000002C
|
||||
#define PRODUCT_STORAGE_WORKGROUP_SERVER_CORE 0x0000002D
|
||||
#define PRODUCT_STORAGE_ENTERPRISE_SERVER_CORE 0x0000002E
|
||||
#define PRODUCT_STARTER_N 0x0000002F
|
||||
#define PRODUCT_PROFESSIONAL 0x00000030
|
||||
#define PRODUCT_PROFESSIONAL_N 0x00000031
|
||||
#define PRODUCT_SB_SOLUTION_SERVER 0x00000032
|
||||
#define PRODUCT_SERVER_FOR_SB_SOLUTIONS 0x00000033
|
||||
#define PRODUCT_STANDARD_SERVER_SOLUTIONS 0x00000034
|
||||
#define PRODUCT_STANDARD_SERVER_SOLUTIONS_CORE 0x00000035
|
||||
#define PRODUCT_SB_SOLUTION_SERVER_EM 0x00000036
|
||||
#define PRODUCT_SERVER_FOR_SB_SOLUTIONS_EM 0x00000037
|
||||
#define PRODUCT_SOLUTION_EMBEDDEDSERVER 0x00000038
|
||||
#define PRODUCT_SOLUTION_EMBEDDEDSERVER_CORE 0x00000039
|
||||
#define PRODUCT_SMALLBUSINESS_SERVER_PREMIUM_CORE 0x0000003F
|
||||
#define PRODUCT_ESSENTIALBUSINESS_SERVER_MGMT 0x0000003B
|
||||
#define PRODUCT_ESSENTIALBUSINESS_SERVER_ADDL 0x0000003C
|
||||
#define PRODUCT_ESSENTIALBUSINESS_SERVER_MGMTSVC 0x0000003D
|
||||
#define PRODUCT_ESSENTIALBUSINESS_SERVER_ADDLSVC 0x0000003E
|
||||
#define PRODUCT_CLUSTER_SERVER_V 0x00000040
|
||||
#define PRODUCT_EMBEDDED 0x00000041
|
||||
#define PRODUCT_STARTER_E 0x00000042
|
||||
#define PRODUCT_HOME_BASIC_E 0x00000043
|
||||
#define PRODUCT_HOME_PREMIUM_E 0x00000044
|
||||
#define PRODUCT_PROFESSIONAL_E 0x00000045
|
||||
#define PRODUCT_ENTERPRISE_E 0x00000046
|
||||
#define PRODUCT_ULTIMATE_E 0x00000047
|
||||
#define PRODUCT_ENTERPRISE_EVALUATION 0x00000048
|
||||
#define PRODUCT_MULTIPOINT_STANDARD_SERVER 0x0000004C
|
||||
#define PRODUCT_MULTIPOINT_PREMIUM_SERVER 0x0000004D
|
||||
#define PRODUCT_STANDARD_EVALUATION_SERVER 0x0000004F
|
||||
#define PRODUCT_DATACENTER_EVALUATION_SERVER 0x00000050
|
||||
#define PRODUCT_ENTERPRISE_N_EVALUATION 0x00000054
|
||||
#define PRODUCT_STORAGE_WORKGROUP_EVALUATION_SERVER 0x0000005F
|
||||
#define PRODUCT_STORAGE_STANDARD_EVALUATION_SERVER 0x00000060
|
||||
#define PRODUCT_CORE_ARM 0x00000061
|
||||
#define PRODUCT_CORE_N 0x00000062
|
||||
#define PRODUCT_CORE_COUNTRYSPECIFIC 0x00000063
|
||||
#define PRODUCT_CORE_LANGUAGESPECIFIC 0x00000064
|
||||
#define PRODUCT_CORE 0x00000065
|
||||
#define PRODUCT_PROFESSIONAL_WMC 0x00000067
|
||||
|
||||
#define PRODUCT_UNLICENSED 0xABCDABCD
|
||||
@@ -0,0 +1,5 @@
|
||||
#define APPLICATION_ERROR_MASK 0x20000000
|
||||
#define ERROR_SEVERITY_SUCCESS 0x00000000
|
||||
#define ERROR_SEVERITY_INFORMATIONAL 0x40000000
|
||||
#define ERROR_SEVERITY_WARNING 0x80000000
|
||||
#define ERROR_SEVERITY_ERROR 0xC0000000
|
||||
@@ -0,0 +1,148 @@
|
||||
//
|
||||
// Enable flags for Kernel Events on Win7 and above
|
||||
//
|
||||
#define EVENT_TRACE_FLAG_DISPATCHER 0x00000800 // scheduler (ReadyThread)
|
||||
#define EVENT_TRACE_FLAG_VIRTUAL_ALLOC 0x00004000 // VM operations
|
||||
|
||||
//
|
||||
// Enable flags for Kernel Events on Win8 and above
|
||||
//
|
||||
#define EVENT_TRACE_FLAG_VAMAP 0x00008000 // map/unmap (excluding images)
|
||||
#define EVENT_TRACE_FLAG_NO_SYSCONFIG 0x10000000 // Do not do sys config rundown
|
||||
|
||||
//
|
||||
// Pre-defined Enable flags for everybody else
|
||||
//
|
||||
#define EVENT_TRACE_FLAG_EXTENSION 0x80000000 // Indicates more flags
|
||||
#define EVENT_TRACE_FLAG_FORWARD_WMI 0x40000000 // Can forward to WMI
|
||||
#define EVENT_TRACE_FLAG_ENABLE_RESERVE 0x20000000 // Reserved
|
||||
|
||||
//
|
||||
// Logger Mode flags
|
||||
//
|
||||
#define EVENT_TRACE_FILE_MODE_NONE 0x00000000 // Logfile is off
|
||||
#define EVENT_TRACE_FILE_MODE_SEQUENTIAL 0x00000001 // Log sequentially
|
||||
#define EVENT_TRACE_FILE_MODE_CIRCULAR 0x00000002 // Log in circular manner
|
||||
#define EVENT_TRACE_FILE_MODE_APPEND 0x00000004 // Append sequential log
|
||||
|
||||
#define EVENT_TRACE_REAL_TIME_MODE 0x00000100 // Real time mode on
|
||||
#define EVENT_TRACE_DELAY_OPEN_FILE_MODE 0x00000200 // Delay opening file
|
||||
#define EVENT_TRACE_BUFFERING_MODE 0x00000400 // Buffering mode only
|
||||
#define EVENT_TRACE_PRIVATE_LOGGER_MODE 0x00000800 // Process Private Logger
|
||||
#define EVENT_TRACE_ADD_HEADER_MODE 0x00001000 // Add a logfile header
|
||||
|
||||
#define EVENT_TRACE_USE_GLOBAL_SEQUENCE 0x00004000 // Use global sequence no.
|
||||
#define EVENT_TRACE_USE_LOCAL_SEQUENCE 0x00008000 // Use local sequence no.
|
||||
|
||||
#define EVENT_TRACE_RELOG_MODE 0x00010000 // Relogger
|
||||
|
||||
#define EVENT_TRACE_USE_PAGED_MEMORY 0x01000000 // Use pageable buffers
|
||||
|
||||
//
|
||||
// Logger Mode flags on XP and above
|
||||
//
|
||||
|
||||
#define EVENT_TRACE_FILE_MODE_NEWFILE 0x00000008 // Auto-switch log file
|
||||
#define EVENT_TRACE_FILE_MODE_PREALLOCATE 0x00000020 // Pre-allocate mode
|
||||
|
||||
#define EVENT_TRACE_FILE_MODE_NEWFILE 0x00000008 // Auto-switch log file
|
||||
#define EVENT_TRACE_FILE_MODE_PREALLOCATE 0x00000020 // Pre-allocate mode
|
||||
|
||||
//
|
||||
// Logger Mode flags on Vista and above
|
||||
//
|
||||
|
||||
#define EVENT_TRACE_NONSTOPPABLE_MODE 0x00000040 // Session cannot be stopped (Autologger only)
|
||||
#define EVENT_TRACE_SECURE_MODE 0x00000080 // Secure session
|
||||
#define EVENT_TRACE_USE_KBYTES_FOR_SIZE 0x00002000 // Use KBytes as file size unit
|
||||
#define EVENT_TRACE_PRIVATE_IN_PROC 0x00020000 // In process private logger
|
||||
|
||||
#define EVENT_TRACE_MODE_RESERVED 0x00100000 // Reserved bit, used to signal Heap/Critsec tracing
|
||||
|
||||
//
|
||||
// Logger Mode flags on Win7 and above
|
||||
//
|
||||
|
||||
#define EVENT_TRACE_NO_PER_PROCESSOR_BUFFERING 0x10000000 // Use this for low frequency sessions.
|
||||
|
||||
//
|
||||
// Logger Mode flags on Win8 and above
|
||||
//
|
||||
|
||||
#define EVENT_TRACE_SYSTEM_LOGGER_MODE 0x02000000 // Receive events from SystemTraceProvider
|
||||
#define EVENT_TRACE_ADDTO_TRIAGE_DUMP 0x80000000 // Add ETW buffers to triage dumps
|
||||
#define EVENT_TRACE_STOP_ON_HYBRID_SHUTDOWN 0x00400000 // Stop on hybrid shutdown
|
||||
#define EVENT_TRACE_PERSIST_ON_HYBRID_SHUTDOWN 0x00800000 // Persist on hybrid shutdown
|
||||
|
||||
//
|
||||
// Logger Mode flags on Blue and above
|
||||
//
|
||||
|
||||
#define EVENT_TRACE_INDEPENDENT_SESSION_MODE 0x08000000 // Independent logger session
|
||||
|
||||
//
|
||||
// ControlTrace Codes
|
||||
//
|
||||
|
||||
#define EVENT_TRACE_CONTROL_QUERY 0
|
||||
#define EVENT_TRACE_CONTROL_STOP 1
|
||||
#define EVENT_TRACE_CONTROL_UPDATE 2
|
||||
|
||||
//
|
||||
// Flush ControlTrace Codes for XP and above
|
||||
//
|
||||
|
||||
#define EVENT_TRACE_CONTROL_FLUSH 3 // Flushes all the buffers
|
||||
|
||||
|
||||
//
|
||||
// Consumer API
|
||||
//
|
||||
|
||||
#define PROCESS_TRACE_MODE_REAL_TIME 0x00000100
|
||||
#define PROCESS_TRACE_MODE_RAW_TIMESTAMP 0x00001000
|
||||
#define PROCESS_TRACE_MODE_EVENT_RECORD 0x10000000
|
||||
|
||||
|
||||
|
||||
#define EVENT_HEADER_PROPERTY_XML 0x0001
|
||||
#define EVENT_HEADER_PROPERTY_FORWARDED_XML 0x0002
|
||||
#define EVENT_HEADER_PROPERTY_LEGACY_EVENTLOG 0x0004
|
||||
|
||||
#define EVENT_HEADER_FLAG_EXTENDED_INFO 0x0001
|
||||
#define EVENT_HEADER_FLAG_PRIVATE_SESSION 0x0002
|
||||
#define EVENT_HEADER_FLAG_STRING_ONLY 0x0004
|
||||
#define EVENT_HEADER_FLAG_TRACE_MESSAGE 0x0008
|
||||
#define EVENT_HEADER_FLAG_NO_CPUTIME 0x0010
|
||||
#define EVENT_HEADER_FLAG_32_BIT_HEADER 0x0020
|
||||
#define EVENT_HEADER_FLAG_64_BIT_HEADER 0x0040
|
||||
#define EVENT_HEADER_FLAG_CLASSIC_HEADER 0x0100
|
||||
#define EVENT_HEADER_FLAG_PROCESSOR_INDEX 0x0200
|
||||
|
||||
|
||||
|
||||
// Event types for system configuration records
|
||||
//
|
||||
#define EVENT_TRACE_TYPE_CONFIG_CPU 0x0A // CPU Configuration
|
||||
#define EVENT_TRACE_TYPE_CONFIG_PHYSICALDISK 0x0B // Physical Disk Configuration
|
||||
#define EVENT_TRACE_TYPE_CONFIG_LOGICALDISK 0x0C // Logical Disk Configuration
|
||||
#define EVENT_TRACE_TYPE_CONFIG_NIC 0x0D // NIC Configuration
|
||||
#define EVENT_TRACE_TYPE_CONFIG_VIDEO 0x0E // Video Adapter Configuration
|
||||
#define EVENT_TRACE_TYPE_CONFIG_SERVICES 0x0F // Active Services
|
||||
#define EVENT_TRACE_TYPE_CONFIG_POWER 0x10 // ACPI Configuration
|
||||
#define EVENT_TRACE_TYPE_CONFIG_NETINFO 0x11 // Networking Configuration
|
||||
|
||||
//
|
||||
// Enable flags for SystemControlGuid only
|
||||
//
|
||||
#define EVENT_TRACE_FLAG_PROCESS 0x00000001 // process start & end
|
||||
#define EVENT_TRACE_FLAG_THREAD 0x00000002 // thread start & end
|
||||
#define EVENT_TRACE_FLAG_IMAGE_LOAD 0x00000004 // image load
|
||||
#define EVENT_TRACE_FLAG_DISK_IO 0x00000100 // physical disk IO
|
||||
#define EVENT_TRACE_FLAG_DISK_FILE_IO 0x00000200 // requires disk IO
|
||||
#define EVENT_TRACE_FLAG_MEMORY_PAGE_FAULTS 0x00001000 // all page faults
|
||||
#define EVENT_TRACE_FLAG_MEMORY_HARD_FAULTS 0x00002000 // hard faults only
|
||||
#define EVENT_TRACE_FLAG_NETWORK_TCPIP 0x00010000 // tcpip send & receive
|
||||
#define EVENT_TRACE_FLAG_REGISTRY 0x00020000 // registry calls
|
||||
#define EVENT_TRACE_FLAG_DBGPRINT 0x00040000 // DbgPrint(ex) Calls
|
||||
#define EVENT_TRACE_FLAG_VOLMGR 0x00200000 // volume manager traces
|
||||
@@ -0,0 +1,72 @@
|
||||
#define FILE_NOTIFY_CHANGE_FILE_NAME 0x00000001 // winnt
|
||||
#define FILE_NOTIFY_CHANGE_DIR_NAME 0x00000002 // winnt
|
||||
#define FILE_NOTIFY_CHANGE_NAME 0x00000003
|
||||
#define FILE_NOTIFY_CHANGE_ATTRIBUTES 0x00000004 // winnt
|
||||
#define FILE_NOTIFY_CHANGE_SIZE 0x00000008 // winnt
|
||||
#define FILE_NOTIFY_CHANGE_LAST_WRITE 0x00000010 // winnt
|
||||
#define FILE_NOTIFY_CHANGE_LAST_ACCESS 0x00000020 // winnt
|
||||
#define FILE_NOTIFY_CHANGE_CREATION 0x00000040 // winnt
|
||||
#define FILE_NOTIFY_CHANGE_EA 0x00000080
|
||||
#define FILE_NOTIFY_CHANGE_SECURITY 0x00000100 // winnt
|
||||
#define FILE_NOTIFY_CHANGE_STREAM_NAME 0x00000200
|
||||
#define FILE_NOTIFY_CHANGE_STREAM_SIZE 0x00000400
|
||||
#define FILE_NOTIFY_CHANGE_STREAM_WRITE 0x00000800
|
||||
#define FILE_NOTIFY_VALID_MASK 0x00000fff
|
||||
|
||||
|
||||
|
||||
#define FILE_ACTION_ADDED 0x00000001 // winnt
|
||||
#define FILE_ACTION_REMOVED 0x00000002 // winnt
|
||||
#define FILE_ACTION_MODIFIED 0x00000003 // winnt
|
||||
#define FILE_ACTION_RENAMED_OLD_NAME 0x00000004 // winnt
|
||||
#define FILE_ACTION_RENAMED_NEW_NAME 0x00000005 // winnt
|
||||
#define FILE_ACTION_ADDED_STREAM 0x00000006
|
||||
#define FILE_ACTION_REMOVED_STREAM 0x00000007
|
||||
#define FILE_ACTION_MODIFIED_STREAM 0x00000008
|
||||
#define FILE_ACTION_REMOVED_BY_DELETE 0x00000009
|
||||
#define FILE_ACTION_ID_NOT_TUNNELLED 0x0000000A
|
||||
#define FILE_ACTION_TUNNELLED_ID_COLLISION 0x0000000B
|
||||
|
||||
|
||||
#define FILE_CASE_SENSITIVE_SEARCH 0x00000001
|
||||
#define FILE_CASE_PRESERVED_NAMES 0x00000002
|
||||
#define FILE_UNICODE_ON_DISK 0x00000004
|
||||
#define FILE_PERSISTENT_ACLS 0x00000008
|
||||
#define FILE_FILE_COMPRESSION 0x00000010
|
||||
#define FILE_VOLUME_QUOTAS 0x00000020
|
||||
#define FILE_SUPPORTS_SPARSE_FILES 0x00000040
|
||||
#define FILE_SUPPORTS_REPARSE_POINTS 0x00000080
|
||||
#define FILE_SUPPORTS_REMOTE_STORAGE 0x00000100
|
||||
#define FILE_VOLUME_IS_COMPRESSED 0x00008000
|
||||
#define FILE_SUPPORTS_OBJECT_IDS 0x00010000
|
||||
#define FILE_SUPPORTS_ENCRYPTION 0x00020000
|
||||
#define FILE_NAMED_STREAMS 0x00040000
|
||||
#define FILE_READ_ONLY_VOLUME 0x00080000
|
||||
#define FILE_SEQUENTIAL_WRITE_ONCE 0x00100000
|
||||
#define FILE_SUPPORTS_TRANSACTIONS 0x00200000
|
||||
#define FILE_SUPPORTS_HARD_LINKS 0x00400000
|
||||
#define FILE_SUPPORTS_EXTENDED_ATTRIBUTES 0x00800000
|
||||
#define FILE_SUPPORTS_OPEN_BY_FILE_ID 0x01000000
|
||||
#define FILE_SUPPORTS_USN_JOURNAL 0x02000000
|
||||
|
||||
|
||||
#define FILE_SHARE_READ 0x00000001
|
||||
#define FILE_SHARE_WRITE 0x00000002
|
||||
#define FILE_SHARE_DELETE 0x00000004
|
||||
|
||||
|
||||
#define FILE_ATTRIBUTE_READONLY 0x00000001
|
||||
#define FILE_ATTRIBUTE_HIDDEN 0x00000002
|
||||
#define FILE_ATTRIBUTE_SYSTEM 0x00000004
|
||||
#define FILE_ATTRIBUTE_DIRECTORY 0x00000010
|
||||
#define FILE_ATTRIBUTE_ARCHIVE 0x00000020
|
||||
#define FILE_ATTRIBUTE_DEVICE 0x00000040
|
||||
#define FILE_ATTRIBUTE_NORMAL 0x00000080
|
||||
#define FILE_ATTRIBUTE_TEMPORARY 0x00000100
|
||||
#define FILE_ATTRIBUTE_SPARSE_FILE 0x00000200
|
||||
#define FILE_ATTRIBUTE_REPARSE_POINT 0x00000400
|
||||
#define FILE_ATTRIBUTE_COMPRESSED 0x00000800
|
||||
#define FILE_ATTRIBUTE_OFFLINE 0x00001000
|
||||
#define FILE_ATTRIBUTE_NOT_CONTENT_INDEXED 0x00002000
|
||||
#define FILE_ATTRIBUTE_ENCRYPTED 0x00004000
|
||||
#define FILE_ATTRIBUTE_VIRTUAL 0x00010000
|
||||
@@ -0,0 +1,39 @@
|
||||
/* From ntdbg.h */
|
||||
|
||||
#define X86_KGDT_NULL 0
|
||||
#define X86_KGDT_R0_CODE 8
|
||||
#define X86_KGDT_R0_DATA 16
|
||||
#define X86_KGDT_R3_CODE 24
|
||||
#define X86_KGDT_R3_DATA 32
|
||||
#define X86_KGDT_TSS 40
|
||||
#define X86_KGDT_R0_PCR 48
|
||||
#define X86_KGDT_R3_TEB 56
|
||||
#define X86_KGDT_VDM_TILE 64
|
||||
#define X86_KGDT_LDT 72
|
||||
#define X86_KGDT_DF_TSS 80
|
||||
#define X86_KGDT_NMI_TSS 88
|
||||
|
||||
#define X86_FRAME_EDITED 0xfff8
|
||||
#define X86_MODE_MASK 1
|
||||
#define X86_EFLAGS_V86_MASK 0x00020000
|
||||
|
||||
#define AMD64_KGDT64_NULL (0 * 16) // NULL descriptor
|
||||
#define AMD64_KGDT64_R0_CODE (1 * 16) // kernel mode 64-bit code
|
||||
#define AMD64_KGDT64_R0_DATA (1 * 16) + 8 // kernel mode 64-bit data (stack)
|
||||
#define AMD64_KGDT64_R3_CMCODE (2 * 16) // user mode 32-bit code
|
||||
#define AMD64_KGDT64_R3_DATA (2 * 16) + 8 // user mode 32-bit data
|
||||
#define AMD64_KGDT64_R3_CODE (3 * 16) // user mode 64-bit code
|
||||
#define AMD64_KGDT64_SYS_TSS (4 * 16) // kernel mode system task state
|
||||
#define AMD64_KGDT64_R3_CMTEB (5 * 16) // user mode 32-bit TEB
|
||||
#define AMD64_KGDT64_LAST (6 * 16)
|
||||
|
||||
/* From i386.h & amd64.h */
|
||||
|
||||
#define MODE_BIT 0
|
||||
#define MODE_MASK 1 // ntosp
|
||||
#define RPL_MASK 3
|
||||
|
||||
/* Custom usefull define for CS userland values 0x23 * 0x33 */
|
||||
|
||||
#define CS_USER_32B (AMD64_KGDT64_R3_CMCODE | RPL_MASK)
|
||||
#define CS_USER_64B (AMD64_KGDT64_R3_CODE | RPL_MASK)
|
||||
@@ -0,0 +1,5 @@
|
||||
#define FC_ALLOCATE_ALL_NODES 0x01
|
||||
#define FC_DONT_FREE 0x02
|
||||
#define FC_ALLOCED_ON_STACK 0x04
|
||||
#define FC_SIMPLE_POINTER 0x08
|
||||
#define FC_POINTER_DEREF 0x10
|
||||
@@ -0,0 +1,608 @@
|
||||
#define MAX_PREFERRED_LENGTH 0xffffffff //((DWORD) -1)
|
||||
|
||||
#define NERR_Success 0 /* Success */
|
||||
|
||||
/*** NERR_BASE is the base of error codes from network utilities,
|
||||
* chosen to avoid conflict with system and redirector error codes.
|
||||
* 2100 is a value that has been assigned to us by system.
|
||||
*/
|
||||
#define NERR_BASE 2100
|
||||
|
||||
|
||||
/**INTERNAL_ONLY**/
|
||||
|
||||
/***********WARNING ****************
|
||||
*See the comment in lmcons.h for *
|
||||
*info on the allocation of errors *
|
||||
***********************************/
|
||||
|
||||
/***********WARNING ****************
|
||||
*The range 2750-2799 has been *
|
||||
*allocated to the IBM LAN Server *
|
||||
***********************************/
|
||||
|
||||
/***********WARNING ****************
|
||||
*The range 2900-2999 has been *
|
||||
*reserved for Microsoft OEMs *
|
||||
***********************************/
|
||||
|
||||
/**END_INTERNAL**/
|
||||
|
||||
/* UNUSED BASE+0 */
|
||||
/* UNUSED BASE+1 */
|
||||
#define NERR_NetNotStarted (NERR_BASE+2) /* The workstation driver is not installed. */
|
||||
#define NERR_UnknownServer (NERR_BASE+3) /* The server could not be located. */
|
||||
#define NERR_ShareMem (NERR_BASE+4) /* An internal error occurred. The network cannot access a shared memory segment. */
|
||||
|
||||
#define NERR_NoNetworkResource (NERR_BASE+5) /* A network resource shortage occurred . */
|
||||
#define NERR_RemoteOnly (NERR_BASE+6) /* This operation is not supported on workstations. */
|
||||
#define NERR_DevNotRedirected (NERR_BASE+7) /* The device is not connected. */
|
||||
/* NERR_BASE+8 is used for ERROR_CONNECTED_OTHER_PASSWORD */
|
||||
/* NERR_BASE+9 is used for ERROR_CONNECTED_OTHER_PASSWORD_DEFAULT */
|
||||
/* UNUSED BASE+10 */
|
||||
/* UNUSED BASE+11 */
|
||||
/* UNUSED BASE+12 */
|
||||
/* UNUSED BASE+13 */
|
||||
#define NERR_ServerNotStarted (NERR_BASE+14) /* The Server service is not started. */
|
||||
#define NERR_ItemNotFound (NERR_BASE+15) /* The queue is empty. */
|
||||
#define NERR_UnknownDevDir (NERR_BASE+16) /* The device or directory does not exist. */
|
||||
#define NERR_RedirectedPath (NERR_BASE+17) /* The operation is invalid on a redirected resource. */
|
||||
#define NERR_DuplicateShare (NERR_BASE+18) /* The name has already been shared. */
|
||||
#define NERR_NoRoom (NERR_BASE+19) /* The server is currently out of the requested resource. */
|
||||
/* UNUSED BASE+20 */
|
||||
#define NERR_TooManyItems (NERR_BASE+21) /* Requested addition of items exceeds the maximum allowed. */
|
||||
#define NERR_InvalidMaxUsers (NERR_BASE+22) /* The Peer service supports only two simultaneous users. */
|
||||
#define NERR_BufTooSmall (NERR_BASE+23) /* The API return buffer is too small. */
|
||||
/* UNUSED BASE+24 */
|
||||
/* UNUSED BASE+25 */
|
||||
/* UNUSED BASE+26 */
|
||||
#define NERR_RemoteErr (NERR_BASE+27) /* A remote API error occurred. */
|
||||
/* UNUSED BASE+28 */
|
||||
/* UNUSED BASE+29 */
|
||||
/* UNUSED BASE+30 */
|
||||
#define NERR_LanmanIniError (NERR_BASE+31) /* An error occurred when opening or reading the configuration file. */
|
||||
/* UNUSED BASE+32 */
|
||||
/* UNUSED BASE+33 */
|
||||
/* UNUSED BASE+34 */
|
||||
/* UNUSED BASE+35 */
|
||||
#define NERR_NetworkError (NERR_BASE+36) /* A general network error occurred. */
|
||||
#define NERR_WkstaInconsistentState (NERR_BASE+37)
|
||||
/* The Workstation service is in an inconsistent state. Restart the computer before restarting the Workstation service. */
|
||||
#define NERR_WkstaNotStarted (NERR_BASE+38) /* The Workstation service has not been started. */
|
||||
#define NERR_BrowserNotStarted (NERR_BASE+39) /* The requested information is not available. */
|
||||
#define NERR_InternalError (NERR_BASE+40) /* An internal Windows error occurred.*/
|
||||
#define NERR_BadTransactConfig (NERR_BASE+41) /* The server is not configured for transactions. */
|
||||
#define NERR_InvalidAPI (NERR_BASE+42) /* The requested API is not supported on the remote server. */
|
||||
#define NERR_BadEventName (NERR_BASE+43) /* The event name is invalid. */
|
||||
#define NERR_DupNameReboot (NERR_BASE+44) /* The computer name already exists on the network. Change it and restart the computer. */
|
||||
/*
|
||||
* Config API related
|
||||
* Error codes from BASE+45 to BASE+49
|
||||
*/
|
||||
|
||||
/* UNUSED BASE+45 */
|
||||
#define NERR_CfgCompNotFound (NERR_BASE+46) /* The specified component could not be found in the configuration information. */
|
||||
#define NERR_CfgParamNotFound (NERR_BASE+47) /* The specified parameter could not be found in the configuration information. */
|
||||
#define NERR_LineTooLong (NERR_BASE+49) /* A line in the configuration file is too long. */
|
||||
|
||||
/*
|
||||
* Spooler API related
|
||||
* Error codes from BASE+50 to BASE+79
|
||||
*/
|
||||
|
||||
#define NERR_QNotFound (NERR_BASE+50) /* The printer does not exist. */
|
||||
#define NERR_JobNotFound (NERR_BASE+51) /* The print job does not exist. */
|
||||
#define NERR_DestNotFound (NERR_BASE+52) /* The printer destination cannot be found. */
|
||||
#define NERR_DestExists (NERR_BASE+53) /* The printer destination already exists. */
|
||||
#define NERR_QExists (NERR_BASE+54) /* The printer queue already exists. */
|
||||
#define NERR_QNoRoom (NERR_BASE+55) /* No more printers can be added. */
|
||||
#define NERR_JobNoRoom (NERR_BASE+56) /* No more print jobs can be added. */
|
||||
#define NERR_DestNoRoom (NERR_BASE+57) /* No more printer destinations can be added. */
|
||||
#define NERR_DestIdle (NERR_BASE+58) /* This printer destination is idle and cannot accept control operations. */
|
||||
#define NERR_DestInvalidOp (NERR_BASE+59) /* This printer destination request contains an invalid control function. */
|
||||
#define NERR_ProcNoRespond (NERR_BASE+60) /* The print processor is not responding. */
|
||||
#define NERR_SpoolerNotLoaded (NERR_BASE+61) /* The spooler is not running. */
|
||||
#define NERR_DestInvalidState (NERR_BASE+62) /* This operation cannot be performed on the print destination in its current state. */
|
||||
#define NERR_QInvalidState (NERR_BASE+63) /* This operation cannot be performed on the printer queue in its current state. */
|
||||
#define NERR_JobInvalidState (NERR_BASE+64) /* This operation cannot be performed on the print job in its current state. */
|
||||
#define NERR_SpoolNoMemory (NERR_BASE+65) /* A spooler memory allocation failure occurred. */
|
||||
#define NERR_DriverNotFound (NERR_BASE+66) /* The device driver does not exist. */
|
||||
#define NERR_DataTypeInvalid (NERR_BASE+67) /* The data type is not supported by the print processor. */
|
||||
#define NERR_ProcNotFound (NERR_BASE+68) /* The print processor is not installed. */
|
||||
|
||||
/*
|
||||
* Service API related
|
||||
* Error codes from BASE+80 to BASE+99
|
||||
*/
|
||||
|
||||
#define NERR_ServiceTableLocked (NERR_BASE+80) /* The service database is locked. */
|
||||
#define NERR_ServiceTableFull (NERR_BASE+81) /* The service table is full. */
|
||||
#define NERR_ServiceInstalled (NERR_BASE+82) /* The requested service has already been started. */
|
||||
#define NERR_ServiceEntryLocked (NERR_BASE+83) /* The service does not respond to control actions. */
|
||||
#define NERR_ServiceNotInstalled (NERR_BASE+84) /* The service has not been started. */
|
||||
#define NERR_BadServiceName (NERR_BASE+85) /* The service name is invalid. */
|
||||
#define NERR_ServiceCtlTimeout (NERR_BASE+86) /* The service is not responding to the control function. */
|
||||
#define NERR_ServiceCtlBusy (NERR_BASE+87) /* The service control is busy. */
|
||||
#define NERR_BadServiceProgName (NERR_BASE+88) /* The configuration file contains an invalid service program name. */
|
||||
#define NERR_ServiceNotCtrl (NERR_BASE+89) /* The service could not be controlled in its present state. */
|
||||
#define NERR_ServiceKillProc (NERR_BASE+90) /* The service ended abnormally. */
|
||||
#define NERR_ServiceCtlNotValid (NERR_BASE+91) /* The requested pause, continue, or stop is not valid for this service. */
|
||||
#define NERR_NotInDispatchTbl (NERR_BASE+92) /* The service control dispatcher could not find the service name in the dispatch table. */
|
||||
#define NERR_BadControlRecv (NERR_BASE+93) /* The service control dispatcher pipe read failed. */
|
||||
#define NERR_ServiceNotStarting (NERR_BASE+94) /* A thread for the new service could not be created. */
|
||||
|
||||
/*
|
||||
* Wksta and Logon API related
|
||||
* Error codes from BASE+100 to BASE+118
|
||||
*/
|
||||
|
||||
#define NERR_AlreadyLoggedOn (NERR_BASE+100) /* This workstation is already logged on to the local-area network. */
|
||||
#define NERR_NotLoggedOn (NERR_BASE+101) /* The workstation is not logged on to the local-area network. */
|
||||
#define NERR_BadUsername (NERR_BASE+102) /* The user name or group name parameter is invalid. */
|
||||
#define NERR_BadPassword (NERR_BASE+103) /* The password parameter is invalid. */
|
||||
#define NERR_UnableToAddName_W (NERR_BASE+104) /* @W The logon processor did not add the message alias. */
|
||||
#define NERR_UnableToAddName_F (NERR_BASE+105) /* The logon processor did not add the message alias. */
|
||||
#define NERR_UnableToDelName_W (NERR_BASE+106) /* @W The logoff processor did not delete the message alias. */
|
||||
#define NERR_UnableToDelName_F (NERR_BASE+107) /* The logoff processor did not delete the message alias. */
|
||||
/* UNUSED BASE+108 */
|
||||
#define NERR_LogonsPaused (NERR_BASE+109) /* Network logons are paused. */
|
||||
#define NERR_LogonServerConflict (NERR_BASE+110)/* A centralized logon-server conflict occurred. */
|
||||
#define NERR_LogonNoUserPath (NERR_BASE+111) /* The server is configured without a valid user path. */
|
||||
#define NERR_LogonScriptError (NERR_BASE+112) /* An error occurred while loading or running the logon script. */
|
||||
/* UNUSED BASE+113 */
|
||||
#define NERR_StandaloneLogon (NERR_BASE+114) /* The logon server was not specified. Your computer will be logged on as STANDALONE. */
|
||||
#define NERR_LogonServerNotFound (NERR_BASE+115) /* The logon server could not be found. */
|
||||
#define NERR_LogonDomainExists (NERR_BASE+116) /* There is already a logon domain for this computer. */
|
||||
#define NERR_NonValidatedLogon (NERR_BASE+117) /* The logon server could not validate the logon. */
|
||||
|
||||
/*
|
||||
* ACF API related (access, user, group)
|
||||
* Error codes from BASE+119 to BASE+149
|
||||
*/
|
||||
|
||||
#define NERR_ACFNotFound (NERR_BASE+119) /* The security database could not be found. */
|
||||
#define NERR_GroupNotFound (NERR_BASE+120) /* The group name could not be found. */
|
||||
#define NERR_UserNotFound (NERR_BASE+121) /* The user name could not be found. */
|
||||
#define NERR_ResourceNotFound (NERR_BASE+122) /* The resource name could not be found. */
|
||||
#define NERR_GroupExists (NERR_BASE+123) /* The group already exists. */
|
||||
#define NERR_UserExists (NERR_BASE+124) /* The account already exists. */
|
||||
#define NERR_ResourceExists (NERR_BASE+125) /* The resource permission list already exists. */
|
||||
#define NERR_NotPrimary (NERR_BASE+126) /* This operation is only allowed on the primary domain controller of the domain. */
|
||||
#define NERR_ACFNotLoaded (NERR_BASE+127) /* The security database has not been started. */
|
||||
#define NERR_ACFNoRoom (NERR_BASE+128) /* There are too many names in the user accounts database. */
|
||||
#define NERR_ACFFileIOFail (NERR_BASE+129) /* A disk I/O failure occurred.*/
|
||||
#define NERR_ACFTooManyLists (NERR_BASE+130) /* The limit of 64 entries per resource was exceeded. */
|
||||
#define NERR_UserLogon (NERR_BASE+131) /* Deleting a user with a session is not allowed. */
|
||||
#define NERR_ACFNoParent (NERR_BASE+132) /* The parent directory could not be located. */
|
||||
#define NERR_CanNotGrowSegment (NERR_BASE+133) /* Unable to add to the security database session cache segment. */
|
||||
#define NERR_SpeGroupOp (NERR_BASE+134) /* This operation is not allowed on this special group. */
|
||||
#define NERR_NotInCache (NERR_BASE+135) /* This user is not cached in user accounts database session cache. */
|
||||
#define NERR_UserInGroup (NERR_BASE+136) /* The user already belongs to this group. */
|
||||
#define NERR_UserNotInGroup (NERR_BASE+137) /* The user does not belong to this group. */
|
||||
#define NERR_AccountUndefined (NERR_BASE+138) /* This user account is undefined. */
|
||||
#define NERR_AccountExpired (NERR_BASE+139) /* This user account has expired. */
|
||||
#define NERR_InvalidWorkstation (NERR_BASE+140) /* The user is not allowed to log on from this workstation. */
|
||||
#define NERR_InvalidLogonHours (NERR_BASE+141) /* The user is not allowed to log on at this time. */
|
||||
#define NERR_PasswordExpired (NERR_BASE+142) /* The password of this user has expired. */
|
||||
#define NERR_PasswordCantChange (NERR_BASE+143) /* The password of this user cannot change. */
|
||||
#define NERR_PasswordHistConflict (NERR_BASE+144) /* This password cannot be used now. */
|
||||
#define NERR_PasswordTooShort (NERR_BASE+145) /* The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements. */
|
||||
#define NERR_PasswordTooRecent (NERR_BASE+146) /* The password of this user is too recent to change. */
|
||||
#define NERR_InvalidDatabase (NERR_BASE+147) /* The security database is corrupted. */
|
||||
#define NERR_DatabaseUpToDate (NERR_BASE+148) /* No updates are necessary to this replicant network/local security database. */
|
||||
#define NERR_SyncRequired (NERR_BASE+149) /* This replicant database is outdated; synchronization is required. */
|
||||
|
||||
/*
|
||||
* Use API related
|
||||
* Error codes from BASE+150 to BASE+169
|
||||
*/
|
||||
|
||||
#define NERR_UseNotFound (NERR_BASE+150) /* The network connection could not be found. */
|
||||
#define NERR_BadAsgType (NERR_BASE+151) /* This asg_type is invalid. */
|
||||
#define NERR_DeviceIsShared (NERR_BASE+152) /* This device is currently being shared. */
|
||||
#define NERR_SameAsComputerName (NERR_BASE+153) /* The user name may not be same as computer name. */
|
||||
|
||||
|
||||
/*
|
||||
* Message Server related
|
||||
* Error codes BASE+170 to BASE+209
|
||||
*/
|
||||
|
||||
#define NERR_NoComputerName (NERR_BASE+170) /* The computer name could not be added as a message alias. The name may already exist on the network. */
|
||||
#define NERR_MsgAlreadyStarted (NERR_BASE+171) /* The Messenger service is already started. */
|
||||
#define NERR_MsgInitFailed (NERR_BASE+172) /* The Messenger service failed to start. */
|
||||
#define NERR_NameNotFound (NERR_BASE+173) /* The message alias could not be found on the network. */
|
||||
#define NERR_AlreadyForwarded (NERR_BASE+174) /* This message alias has already been forwarded. */
|
||||
#define NERR_AddForwarded (NERR_BASE+175) /* This message alias has been added but is still forwarded. */
|
||||
#define NERR_AlreadyExists (NERR_BASE+176) /* This message alias already exists locally. */
|
||||
#define NERR_TooManyNames (NERR_BASE+177) /* The maximum number of added message aliases has been exceeded. */
|
||||
#define NERR_DelComputerName (NERR_BASE+178) /* The computer name could not be deleted.*/
|
||||
#define NERR_LocalForward (NERR_BASE+179) /* Messages cannot be forwarded back to the same workstation. */
|
||||
#define NERR_GrpMsgProcessor (NERR_BASE+180) /* An error occurred in the domain message processor. */
|
||||
#define NERR_PausedRemote (NERR_BASE+181) /* The message was sent, but the recipient has paused the Messenger service. */
|
||||
#define NERR_BadReceive (NERR_BASE+182) /* The message was sent but not received. */
|
||||
#define NERR_NameInUse (NERR_BASE+183) /* The message alias is currently in use. Try again later. */
|
||||
#define NERR_MsgNotStarted (NERR_BASE+184) /* The Messenger service has not been started. */
|
||||
#define NERR_NotLocalName (NERR_BASE+185) /* The name is not on the local computer. */
|
||||
#define NERR_NoForwardName (NERR_BASE+186) /* The forwarded message alias could not be found on the network. */
|
||||
#define NERR_RemoteFull (NERR_BASE+187) /* The message alias table on the remote station is full. */
|
||||
#define NERR_NameNotForwarded (NERR_BASE+188) /* Messages for this alias are not currently being forwarded. */
|
||||
#define NERR_TruncatedBroadcast (NERR_BASE+189) /* The broadcast message was truncated. */
|
||||
#define NERR_InvalidDevice (NERR_BASE+194) /* This is an invalid device name. */
|
||||
#define NERR_WriteFault (NERR_BASE+195) /* A write fault occurred. */
|
||||
/* UNUSED BASE+196 */
|
||||
#define NERR_DuplicateName (NERR_BASE+197) /* A duplicate message alias exists on the network. */
|
||||
#define NERR_DeleteLater (NERR_BASE+198) /* @W This message alias will be deleted later. */
|
||||
#define NERR_IncompleteDel (NERR_BASE+199) /* The message alias was not successfully deleted from all networks. */
|
||||
#define NERR_MultipleNets (NERR_BASE+200) /* This operation is not supported on computers with multiple networks. */
|
||||
|
||||
/*
|
||||
* Server API related
|
||||
* Error codes BASE+210 to BASE+229
|
||||
*/
|
||||
|
||||
#define NERR_NetNameNotFound (NERR_BASE+210) /* This shared resource does not exist.*/
|
||||
#define NERR_DeviceNotShared (NERR_BASE+211) /* This device is not shared. */
|
||||
#define NERR_ClientNameNotFound (NERR_BASE+212) /* A session does not exist with that computer name. */
|
||||
#define NERR_FileIdNotFound (NERR_BASE+214) /* There is not an open file with that identification number. */
|
||||
#define NERR_ExecFailure (NERR_BASE+215) /* A failure occurred when executing a remote administration command. */
|
||||
#define NERR_TmpFile (NERR_BASE+216) /* A failure occurred when opening a remote temporary file. */
|
||||
#define NERR_TooMuchData (NERR_BASE+217) /* The data returned from a remote administration command has been truncated to 64K. */
|
||||
#define NERR_DeviceShareConflict (NERR_BASE+218) /* This device cannot be shared as both a spooled and a non-spooled resource. */
|
||||
#define NERR_BrowserTableIncomplete (NERR_BASE+219) /* The information in the list of servers may be incorrect. */
|
||||
#define NERR_NotLocalDomain (NERR_BASE+220) /* The computer is not active in this domain. */
|
||||
#define NERR_IsDfsShare (NERR_BASE+221) /* The share must be removed from the Distributed File System before it can be deleted. */
|
||||
|
||||
/*
|
||||
* CharDev API related
|
||||
* Error codes BASE+230 to BASE+249
|
||||
*/
|
||||
|
||||
/* UNUSED BASE+230 */
|
||||
#define NERR_DevInvalidOpCode (NERR_BASE+231) /* The operation is invalid for this device. */
|
||||
#define NERR_DevNotFound (NERR_BASE+232) /* This device cannot be shared. */
|
||||
#define NERR_DevNotOpen (NERR_BASE+233) /* This device was not open. */
|
||||
#define NERR_BadQueueDevString (NERR_BASE+234) /* This device name list is invalid. */
|
||||
#define NERR_BadQueuePriority (NERR_BASE+235) /* The queue priority is invalid. */
|
||||
#define NERR_NoCommDevs (NERR_BASE+237) /* There are no shared communication devices. */
|
||||
#define NERR_QueueNotFound (NERR_BASE+238) /* The queue you specified does not exist. */
|
||||
#define NERR_BadDevString (NERR_BASE+240) /* This list of devices is invalid. */
|
||||
#define NERR_BadDev (NERR_BASE+241) /* The requested device is invalid. */
|
||||
#define NERR_InUseBySpooler (NERR_BASE+242) /* This device is already in use by the spooler. */
|
||||
#define NERR_CommDevInUse (NERR_BASE+243) /* This device is already in use as a communication device. */
|
||||
|
||||
/*
|
||||
* NetICanonicalize and NetIType and NetIMakeLMFileName
|
||||
* NetIListCanon and NetINameCheck
|
||||
* Error codes BASE+250 to BASE+269
|
||||
*/
|
||||
|
||||
#define NERR_InvalidComputer (NERR_BASE+251) /* This computer name is invalid. */
|
||||
/* UNUSED BASE+252 */
|
||||
/* UNUSED BASE+253 */
|
||||
#define NERR_MaxLenExceeded (NERR_BASE+254) /* The string and prefix specified are too long. */
|
||||
/* UNUSED BASE+255 */
|
||||
#define NERR_BadComponent (NERR_BASE+256) /* This path component is invalid. */
|
||||
#define NERR_CantType (NERR_BASE+257) /* Could not determine the type of input. */
|
||||
/* UNUSED BASE+258 */
|
||||
/* UNUSED BASE+259 */
|
||||
#define NERR_TooManyEntries (NERR_BASE+262) /* The buffer for types is not big enough. */
|
||||
|
||||
/*
|
||||
* NetProfile
|
||||
* Error codes BASE+270 to BASE+276
|
||||
*/
|
||||
|
||||
#define NERR_ProfileFileTooBig (NERR_BASE+270) /* Profile files cannot exceed 64K. */
|
||||
#define NERR_ProfileOffset (NERR_BASE+271) /* The start offset is out of range. */
|
||||
#define NERR_ProfileCleanup (NERR_BASE+272) /* The system cannot delete current connections to network resources. */
|
||||
#define NERR_ProfileUnknownCmd (NERR_BASE+273) /* The system was unable to parse the command line in this file.*/
|
||||
#define NERR_ProfileLoadErr (NERR_BASE+274) /* An error occurred while loading the profile file. */
|
||||
#define NERR_ProfileSaveErr (NERR_BASE+275) /* @W Errors occurred while saving the profile file. The profile was partially saved. */
|
||||
|
||||
|
||||
/*
|
||||
* NetAudit and NetErrorLog
|
||||
* Error codes BASE+277 to BASE+279
|
||||
*/
|
||||
|
||||
#define NERR_LogOverflow (NERR_BASE+277) /* Log file %1 is full. */
|
||||
#define NERR_LogFileChanged (NERR_BASE+278) /* This log file has changed between reads. */
|
||||
#define NERR_LogFileCorrupt (NERR_BASE+279) /* Log file %1 is corrupt. */
|
||||
|
||||
|
||||
/*
|
||||
* NetRemote
|
||||
* Error codes BASE+280 to BASE+299
|
||||
*/
|
||||
#define NERR_SourceIsDir (NERR_BASE+280) /* The source path cannot be a directory. */
|
||||
#define NERR_BadSource (NERR_BASE+281) /* The source path is illegal. */
|
||||
#define NERR_BadDest (NERR_BASE+282) /* The destination path is illegal. */
|
||||
#define NERR_DifferentServers (NERR_BASE+283) /* The source and destination paths are on different servers. */
|
||||
/* UNUSED BASE+284 */
|
||||
#define NERR_RunSrvPaused (NERR_BASE+285) /* The Run server you requested is paused. */
|
||||
/* UNUSED BASE+286 */
|
||||
/* UNUSED BASE+287 */
|
||||
/* UNUSED BASE+288 */
|
||||
#define NERR_ErrCommRunSrv (NERR_BASE+289) /* An error occurred when communicating with a Run server. */
|
||||
/* UNUSED BASE+290 */
|
||||
#define NERR_ErrorExecingGhost (NERR_BASE+291) /* An error occurred when starting a background process. */
|
||||
#define NERR_ShareNotFound (NERR_BASE+292) /* The shared resource you are connected to could not be found.*/
|
||||
/* UNUSED BASE+293 */
|
||||
/* UNUSED BASE+294 */
|
||||
|
||||
|
||||
/*
|
||||
* NetWksta.sys (redir) returned error codes.
|
||||
*
|
||||
* NERR_BASE + (300-329)
|
||||
*/
|
||||
|
||||
#define NERR_InvalidLana (NERR_BASE+300) /* The LAN adapter number is invalid. */
|
||||
#define NERR_OpenFiles (NERR_BASE+301) /* There are open files on the connection. */
|
||||
#define NERR_ActiveConns (NERR_BASE+302) /* Active connections still exist. */
|
||||
#define NERR_BadPasswordCore (NERR_BASE+303) /* This share name or password is invalid. */
|
||||
#define NERR_DevInUse (NERR_BASE+304) /* The device is being accessed by an active process. */
|
||||
#define NERR_LocalDrive (NERR_BASE+305) /* The drive letter is in use locally. */
|
||||
|
||||
/*
|
||||
* Alert error codes.
|
||||
*
|
||||
* NERR_BASE + (330-339)
|
||||
*/
|
||||
#define NERR_AlertExists (NERR_BASE+330) /* The specified client is already registered for the specified event. */
|
||||
#define NERR_TooManyAlerts (NERR_BASE+331) /* The alert table is full. */
|
||||
#define NERR_NoSuchAlert (NERR_BASE+332) /* An invalid or nonexistent alert name was raised. */
|
||||
#define NERR_BadRecipient (NERR_BASE+333) /* The alert recipient is invalid.*/
|
||||
#define NERR_AcctLimitExceeded (NERR_BASE+334) /* A user's session with this server has been deleted
|
||||
* because the user's logon hours are no longer valid. */
|
||||
|
||||
/*
|
||||
* Additional Error and Audit log codes.
|
||||
*
|
||||
* NERR_BASE +(340-343)
|
||||
*/
|
||||
#define NERR_InvalidLogSeek (NERR_BASE+340) /* The log file does not contain the requested record number. */
|
||||
/* UNUSED BASE+341 */
|
||||
/* UNUSED BASE+342 */
|
||||
/* UNUSED BASE+343 */
|
||||
|
||||
/*
|
||||
* Additional UAS and NETLOGON codes
|
||||
*
|
||||
* NERR_BASE +(350-359)
|
||||
*/
|
||||
#define NERR_BadUasConfig (NERR_BASE+350) /* The user accounts database is not configured correctly. */
|
||||
#define NERR_InvalidUASOp (NERR_BASE+351) /* This operation is not permitted when the Netlogon service is running. */
|
||||
#define NERR_LastAdmin (NERR_BASE+352) /* This operation is not allowed on the last administrative account. */
|
||||
#define NERR_DCNotFound (NERR_BASE+353) /* Could not find domain controller for this domain. */
|
||||
#define NERR_LogonTrackingError (NERR_BASE+354) /* Could not set logon information for this user. */
|
||||
#define NERR_NetlogonNotStarted (NERR_BASE+355) /* The Netlogon service has not been started. */
|
||||
#define NERR_CanNotGrowUASFile (NERR_BASE+356) /* Unable to add to the user accounts database. */
|
||||
#define NERR_TimeDiffAtDC (NERR_BASE+357) /* This server's clock is not synchronized with the primary domain controller's clock. */
|
||||
#define NERR_PasswordMismatch (NERR_BASE+358) /* A password mismatch has been detected. */
|
||||
|
||||
|
||||
/*
|
||||
* Server Integration error codes.
|
||||
*
|
||||
* NERR_BASE +(360-369)
|
||||
*/
|
||||
#define NERR_NoSuchServer (NERR_BASE+360) /* The server identification does not specify a valid server. */
|
||||
#define NERR_NoSuchSession (NERR_BASE+361) /* The session identification does not specify a valid session. */
|
||||
#define NERR_NoSuchConnection (NERR_BASE+362) /* The connection identification does not specify a valid connection. */
|
||||
#define NERR_TooManyServers (NERR_BASE+363) /* There is no space for another entry in the table of available servers. */
|
||||
#define NERR_TooManySessions (NERR_BASE+364) /* The server has reached the maximum number of sessions it supports. */
|
||||
#define NERR_TooManyConnections (NERR_BASE+365) /* The server has reached the maximum number of connections it supports. */
|
||||
#define NERR_TooManyFiles (NERR_BASE+366) /* The server cannot open more files because it has reached its maximum number. */
|
||||
#define NERR_NoAlternateServers (NERR_BASE+367) /* There are no alternate servers registered on this server. */
|
||||
/* UNUSED BASE+368 */
|
||||
/* UNUSED BASE+369 */
|
||||
|
||||
#define NERR_TryDownLevel (NERR_BASE+370) /* Try down-level (remote admin protocol) version of API instead. */
|
||||
|
||||
/*
|
||||
* UPS error codes.
|
||||
*
|
||||
* NERR_BASE + (380-384)
|
||||
*/
|
||||
#define NERR_UPSDriverNotStarted (NERR_BASE+380) /* The UPS driver could not be accessed by the UPS service. */
|
||||
#define NERR_UPSInvalidConfig (NERR_BASE+381) /* The UPS service is not configured correctly. */
|
||||
#define NERR_UPSInvalidCommPort (NERR_BASE+382) /* The UPS service could not access the specified Comm Port. */
|
||||
#define NERR_UPSSignalAsserted (NERR_BASE+383) /* The UPS indicated a line fail or low battery situation. Service not started. */
|
||||
#define NERR_UPSShutdownFailed (NERR_BASE+384) /* The UPS service failed to perform a system shut down. */
|
||||
|
||||
/*
|
||||
* Remoteboot error codes.
|
||||
*
|
||||
* NERR_BASE + (400-419)
|
||||
* Error codes 400 - 405 are used by RPLBOOT.SYS.
|
||||
* Error codes 403, 407 - 416 are used by RPLLOADR.COM,
|
||||
* Error code 417 is the alerter message of REMOTEBOOT (RPLSERVR.EXE).
|
||||
* Error code 418 is for when REMOTEBOOT can't start
|
||||
* Error code 419 is for a disallowed 2nd rpl connection
|
||||
*
|
||||
*/
|
||||
#define NERR_BadDosRetCode (NERR_BASE+400) /* The program below returned an MS-DOS error code:*/
|
||||
#define NERR_ProgNeedsExtraMem (NERR_BASE+401) /* The program below needs more memory:*/
|
||||
#define NERR_BadDosFunction (NERR_BASE+402) /* The program below called an unsupported MS-DOS function:*/
|
||||
#define NERR_RemoteBootFailed (NERR_BASE+403) /* The workstation failed to boot.*/
|
||||
#define NERR_BadFileCheckSum (NERR_BASE+404) /* The file below is corrupt.*/
|
||||
#define NERR_NoRplBootSystem (NERR_BASE+405) /* No loader is specified in the boot-block definition file.*/
|
||||
#define NERR_RplLoadrNetBiosErr (NERR_BASE+406) /* NetBIOS returned an error: The NCB and SMB are dumped above.*/
|
||||
#define NERR_RplLoadrDiskErr (NERR_BASE+407) /* A disk I/O error occurred.*/
|
||||
#define NERR_ImageParamErr (NERR_BASE+408) /* Image parameter substitution failed.*/
|
||||
#define NERR_TooManyImageParams (NERR_BASE+409) /* Too many image parameters cross disk sector boundaries.*/
|
||||
#define NERR_NonDosFloppyUsed (NERR_BASE+410) /* The image was not generated from an MS-DOS diskette formatted with /S.*/
|
||||
#define NERR_RplBootRestart (NERR_BASE+411) /* Remote boot will be restarted later.*/
|
||||
#define NERR_RplSrvrCallFailed (NERR_BASE+412) /* The call to the Remoteboot server failed.*/
|
||||
#define NERR_CantConnectRplSrvr (NERR_BASE+413) /* Cannot connect to the Remoteboot server.*/
|
||||
#define NERR_CantOpenImageFile (NERR_BASE+414) /* Cannot open image file on the Remoteboot server.*/
|
||||
#define NERR_CallingRplSrvr (NERR_BASE+415) /* Connecting to the Remoteboot server...*/
|
||||
#define NERR_StartingRplBoot (NERR_BASE+416) /* Connecting to the Remoteboot server...*/
|
||||
#define NERR_RplBootServiceTerm (NERR_BASE+417) /* Remote boot service was stopped; check the error log for the cause of the problem.*/
|
||||
#define NERR_RplBootStartFailed (NERR_BASE+418) /* Remote boot startup failed; check the error log for the cause of the problem.*/
|
||||
#define NERR_RPL_CONNECTED (NERR_BASE+419) /* A second connection to a Remoteboot resource is not allowed.*/
|
||||
|
||||
/*
|
||||
* FTADMIN API error codes
|
||||
*
|
||||
* NERR_BASE + (425-434)
|
||||
*
|
||||
* (Currently not used in NT)
|
||||
*
|
||||
*/
|
||||
|
||||
/*
|
||||
* Browser service API error codes
|
||||
*
|
||||
* NERR_BASE + (450-475)
|
||||
*
|
||||
*/
|
||||
#define NERR_BrowserConfiguredToNotRun (NERR_BASE+450) /* The browser service was configured with MaintainServerList=No. */
|
||||
|
||||
/*
|
||||
* Additional Remoteboot error codes.
|
||||
*
|
||||
* NERR_BASE + (510-550)
|
||||
*/
|
||||
#define NERR_RplNoAdaptersStarted (NERR_BASE+510) /*Service failed to start since none of the network adapters started with this service.*/
|
||||
#define NERR_RplBadRegistry (NERR_BASE+511) /*Service failed to start due to bad startup information in the registry.*/
|
||||
#define NERR_RplBadDatabase (NERR_BASE+512) /*Service failed to start because its database is absent or corrupt.*/
|
||||
#define NERR_RplRplfilesShare (NERR_BASE+513) /*Service failed to start because RPLFILES share is absent.*/
|
||||
#define NERR_RplNotRplServer (NERR_BASE+514) /*Service failed to start because RPLUSER group is absent.*/
|
||||
#define NERR_RplCannotEnum (NERR_BASE+515) /*Cannot enumerate service records.*/
|
||||
#define NERR_RplWkstaInfoCorrupted (NERR_BASE+516) /*Workstation record information has been corrupted.*/
|
||||
#define NERR_RplWkstaNotFound (NERR_BASE+517) /*Workstation record was not found.*/
|
||||
#define NERR_RplWkstaNameUnavailable (NERR_BASE+518) /*Workstation name is in use by some other workstation.*/
|
||||
#define NERR_RplProfileInfoCorrupted (NERR_BASE+519) /*Profile record information has been corrupted.*/
|
||||
#define NERR_RplProfileNotFound (NERR_BASE+520) /*Profile record was not found.*/
|
||||
#define NERR_RplProfileNameUnavailable (NERR_BASE+521) /*Profile name is in use by some other profile.*/
|
||||
#define NERR_RplProfileNotEmpty (NERR_BASE+522) /*There are workstations using this profile.*/
|
||||
#define NERR_RplConfigInfoCorrupted (NERR_BASE+523) /*Configuration record information has been corrupted.*/
|
||||
#define NERR_RplConfigNotFound (NERR_BASE+524) /*Configuration record was not found.*/
|
||||
#define NERR_RplAdapterInfoCorrupted (NERR_BASE+525) /*Adapter id record information has been corrupted.*/
|
||||
#define NERR_RplInternal (NERR_BASE+526) /*An internal service error has occurred.*/
|
||||
#define NERR_RplVendorInfoCorrupted (NERR_BASE+527) /*Vendor id record information has been corrupted.*/
|
||||
#define NERR_RplBootInfoCorrupted (NERR_BASE+528) /*Boot block record information has been corrupted.*/
|
||||
#define NERR_RplWkstaNeedsUserAcct (NERR_BASE+529) /*The user account for this workstation record is missing.*/
|
||||
#define NERR_RplNeedsRPLUSERAcct (NERR_BASE+530) /*The RPLUSER local group could not be found.*/
|
||||
#define NERR_RplBootNotFound (NERR_BASE+531) /*Boot block record was not found.*/
|
||||
#define NERR_RplIncompatibleProfile (NERR_BASE+532) /*Chosen profile is incompatible with this workstation.*/
|
||||
#define NERR_RplAdapterNameUnavailable (NERR_BASE+533) /*Chosen network adapter id is in use by some other workstation.*/
|
||||
#define NERR_RplConfigNotEmpty (NERR_BASE+534) /*There are profiles using this configuration.*/
|
||||
#define NERR_RplBootInUse (NERR_BASE+535) /*There are workstations, profiles or configurations using this boot block.*/
|
||||
#define NERR_RplBackupDatabase (NERR_BASE+536) /*Service failed to backup Remoteboot database.*/
|
||||
#define NERR_RplAdapterNotFound (NERR_BASE+537) /*Adapter record was not found.*/
|
||||
#define NERR_RplVendorNotFound (NERR_BASE+538) /*Vendor record was not found.*/
|
||||
#define NERR_RplVendorNameUnavailable (NERR_BASE+539) /*Vendor name is in use by some other vendor record.*/
|
||||
#define NERR_RplBootNameUnavailable (NERR_BASE+540) /*(boot name, vendor id) is in use by some other boot block record.*/
|
||||
#define NERR_RplConfigNameUnavailable (NERR_BASE+541) /*Configuration name is in use by some other configuration.*/
|
||||
|
||||
/**INTERNAL_ONLY**/
|
||||
|
||||
/*
|
||||
* Dfs API error codes.
|
||||
*
|
||||
* NERR_BASE + (560-590)
|
||||
*/
|
||||
|
||||
#define NERR_DfsInternalCorruption (NERR_BASE+560) /*The internal database maintained by the DFS service is corrupt*/
|
||||
#define NERR_DfsVolumeDataCorrupt (NERR_BASE+561) /*One of the records in the internal DFS database is corrupt*/
|
||||
#define NERR_DfsNoSuchVolume (NERR_BASE+562) /*There is no DFS name whose entry path matches the input Entry Path*/
|
||||
#define NERR_DfsVolumeAlreadyExists (NERR_BASE+563) /*A root or link with the given name already exists*/
|
||||
#define NERR_DfsAlreadyShared (NERR_BASE+564) /*The server share specified is already shared in the DFS*/
|
||||
#define NERR_DfsNoSuchShare (NERR_BASE+565) /*The indicated server share does not support the indicated DFS namespace*/
|
||||
#define NERR_DfsNotALeafVolume (NERR_BASE+566) /*The operation is not valid on this portion of the namespace*/
|
||||
#define NERR_DfsLeafVolume (NERR_BASE+567) /*The operation is not valid on this portion of the namespace*/
|
||||
#define NERR_DfsVolumeHasMultipleServers (NERR_BASE+568) /*The operation is ambiguous because the link has multiple servers*/
|
||||
#define NERR_DfsCantCreateJunctionPoint (NERR_BASE+569) /*Unable to create a link*/
|
||||
#define NERR_DfsServerNotDfsAware (NERR_BASE+570) /*The server is not DFS Aware*/
|
||||
#define NERR_DfsBadRenamePath (NERR_BASE+571) /*The specified rename target path is invalid*/
|
||||
#define NERR_DfsVolumeIsOffline (NERR_BASE+572) /*The specified DFS link is offline*/
|
||||
#define NERR_DfsNoSuchServer (NERR_BASE+573) /*The specified server is not a server for this link*/
|
||||
#define NERR_DfsCyclicalName (NERR_BASE+574) /*A cycle in the DFS name was detected*/
|
||||
#define NERR_DfsNotSupportedInServerDfs (NERR_BASE+575) /*The operation is not supported on a server-based DFS*/
|
||||
#define NERR_DfsDuplicateService (NERR_BASE+576) /*This link is already supported by the specified server-share*/
|
||||
#define NERR_DfsCantRemoveLastServerShare (NERR_BASE+577) /*Can't remove the last server-share supporting this root or link*/
|
||||
#define NERR_DfsVolumeIsInterDfs (NERR_BASE+578) /*The operation is not supported for an Inter-DFS link*/
|
||||
#define NERR_DfsInconsistent (NERR_BASE+579) /*The internal state of the DFS Service has become inconsistent*/
|
||||
#define NERR_DfsServerUpgraded (NERR_BASE+580) /*The DFS Service has been installed on the specified server*/
|
||||
#define NERR_DfsDataIsIdentical (NERR_BASE+581) /*The DFS data being reconciled is identical*/
|
||||
#define NERR_DfsCantRemoveDfsRoot (NERR_BASE+582) /*The DFS root cannot be deleted - Uninstall DFS if required*/
|
||||
#define NERR_DfsChildOrParentInDfs (NERR_BASE+583) /*A child or parent directory of the share is already in a DFS*/
|
||||
#define NERR_DfsInternalError (NERR_BASE+590) /*DFS internal error*/
|
||||
|
||||
/*
|
||||
* Net setup error codes.
|
||||
*
|
||||
* NERR_BASE + (591-600)
|
||||
*/
|
||||
#define NERR_SetupAlreadyJoined (NERR_BASE+591) /*This machine is already joined to a domain.*/
|
||||
#define NERR_SetupNotJoined (NERR_BASE+592) /*This machine is not currently joined to a domain.*/
|
||||
#define NERR_SetupDomainController (NERR_BASE+593) /*This machine is a domain controller and cannot be unjoined from a domain.*/
|
||||
#define NERR_DefaultJoinRequired (NERR_BASE+594) /*The destination domain controller does not support creating machine accounts in OUs.*/
|
||||
#define NERR_InvalidWorkgroupName (NERR_BASE+595) /*The specified workgroup name is invalid.*/
|
||||
#define NERR_NameUsesIncompatibleCodePage (NERR_BASE+596) /*The specified computer name is incompatible with the default language used on the domain controller.*/
|
||||
#define NERR_ComputerAccountNotFound (NERR_BASE+597) /*The specified computer account could not be found. Contact an administrator to verify the account is in the domain. If the account has been deleted unjoin, reboot, and rejoin the domain.*/
|
||||
#define NERR_PersonalSku (NERR_BASE+598) /*This version of Windows cannot be joined to a domain.*/
|
||||
#define NERR_SetupCheckDNSConfig (NERR_BASE+599) /*An attempt to resolve the DNS name of a domain controller in the domain being joined has failed. Please verify this client is configured to reach a DNS server that can resolve DNS names in the target domain. For information about network troubleshooting, see Windows Help.*/
|
||||
#define NERR_AlreadyCloudDomainJoined (NERR_BASE+600) /*This device is joined to Azure AD. To join an Active Directory domain, you must first go to settings and choose to disconnect your device from your work or school.*/
|
||||
|
||||
/*
|
||||
* Some Password and account error results
|
||||
*
|
||||
* NERR_BASE + (601 - 608)
|
||||
*/
|
||||
#define NERR_PasswordMustChange (NERR_BASE + 601) /* Password must change at next logon */
|
||||
#define NERR_AccountLockedOut (NERR_BASE + 602) /* Account is locked out */
|
||||
#define NERR_PasswordTooLong (NERR_BASE + 603) /* Password is too long */
|
||||
#define NERR_PasswordNotComplexEnough (NERR_BASE + 604) /* Password doesn't meet the complexity policy */
|
||||
#define NERR_PasswordFilterError (NERR_BASE + 605) /* Password doesn't meet the requirements of the filter dll's */
|
||||
|
||||
/*
|
||||
* Error codes used for offline domain join and completion
|
||||
*
|
||||
* NERR_BASE + (609 - 621)
|
||||
*/
|
||||
#define NERR_NoOfflineJoinInfo (NERR_BASE + 609) /* Offline join completion information was not found. */
|
||||
#define NERR_BadOfflineJoinInfo (NERR_BASE + 610) /* The offline join completion information was bad. */
|
||||
#define NERR_CantCreateJoinInfo (NERR_BASE + 611) /* Unable to create offline join information. Please ensure you have access to the specified path location and permissions to modify its contents. Running as an elevated administrator may be required. */
|
||||
#define NERR_BadDomainJoinInfo (NERR_BASE + 612) /* The domain join info being saved was incomplete or bad. */
|
||||
#define NERR_JoinPerformedMustRestart (NERR_BASE + 613) /* Offline join operation successfully completed but a restart is needed. */
|
||||
#define NERR_NoJoinPending (NERR_BASE + 614) /* There was no offline join operation pending. */
|
||||
#define NERR_ValuesNotSet (NERR_BASE + 615) /* Unable to set one or more requested machine or domain name values on the local computer. */
|
||||
#define NERR_CantVerifyHostname (NERR_BASE + 616) /* Could not verify the current machine's hostname against the saved value in the join completion information. */
|
||||
#define NERR_CantLoadOfflineHive (NERR_BASE + 617) /* Unable to load the specified offline registry hive. Please ensure you have access to the specified path location and permissions to modify its contents. Running as an elevated administrator may be required. */
|
||||
#define NERR_ConnectionInsecure (NERR_BASE + 618) /* The minimum session security requirements for this operation were not met. */
|
||||
#define NERR_ProvisioningBlobUnsupported (NERR_BASE + 619) /* Computer account provisioning blob version is not supported. */
|
||||
#define NERR_DS8DCRequired (NERR_BASE + 620) /* The specified domain controller does not meet the version requirement for this operation. Please select a domain controller capable of issuing claims. */
|
||||
#define NERR_LDAPCapableDCRequired (NERR_BASE + 621) /* This operation requires a domain controller which supports LDAP. Please select an LDAP-capable domain controller. */
|
||||
#define NERR_DS8DCNotFound (NERR_BASE + 622) /* A domain controller which meets the version requirement for this operation could not be located. Please ensure that a domain controller capable of issuing claims is available. */
|
||||
#define NERR_TargetVersionUnsupported (NERR_BASE + 623) /* The Windows version of the specified image does not support provisioning. */
|
||||
#define NERR_InvalidMachineNameForJoin (NERR_BASE + 624) /* The machine name is blocked from joining the domain.*/
|
||||
#define NERR_DS9DCNotFound (NERR_BASE + 625) /* The domain controller does not meet the version requirement for this operation. See http://go.microsoft.com/fwlink/?LinkId=294288 for more information. */
|
||||
#define NERR_PlainTextSecretsRequired (NERR_BASE + 626) /* The local machine does not allow querying of LSA secrets in plain-text. */
|
||||
#define NERR_CannotUnjoinAadDomain (NERR_BASE + 627) /* Unable to leave the Azure AD domain that this machine is joined to. Check the event log for detailed error information. */
|
||||
|
||||
|
||||
/***********WARNING ****************
|
||||
*The range 2750-2799 has been *
|
||||
*allocated to the IBM LAN Server *
|
||||
***********************************/
|
||||
|
||||
/***********WARNING ****************
|
||||
*The range 2900-2999 has been *
|
||||
*reserved for Microsoft OEMs *
|
||||
***********************************/
|
||||
|
||||
/**END_INTERNAL**/
|
||||
|
||||
#define MAX_NERR (NERR_BASE+899) /* This is the last error in NERR range. */
|
||||
|
||||
/*
|
||||
* end of list
|
||||
*
|
||||
* WARNING: Do not exceed MAX_NERR; values above this are used by
|
||||
* other error code ranges (errlog.h, service.h, apperr.h).
|
||||
*/
|
||||
@@ -0,0 +1,191 @@
|
||||
#define ATM_E164 0x01 /* E.164 addressing scheme */
|
||||
#define ATM_NSAP 0x02 /* NSAP-style ATM Endsystem Address scheme */
|
||||
#define ATM_AESA 0x02 /* NSAP-style ATM Endsystem Address scheme */
|
||||
#define ATM_ADDR_SIZE 20
|
||||
|
||||
#define DNS_ATMA_FORMAT_E164 ATM_E164
|
||||
#define DNS_ATMA_FORMAT_AESA ATM_AESA
|
||||
#define DNS_ATMA_MAX_ADDR_LENGTH ATM_ADDR_SIZE
|
||||
|
||||
|
||||
#define DNS_ADDR_MAX_SOCKADDR_LENGTH (32)
|
||||
|
||||
#define DNS_TYPE_ZERO 0x0000
|
||||
|
||||
// RFC 1034/1035
|
||||
#define DNS_TYPE_A 0x0001 // 1
|
||||
#define DNS_TYPE_NS 0x0002 // 2
|
||||
#define DNS_TYPE_MD 0x0003 // 3
|
||||
#define DNS_TYPE_MF 0x0004 // 4
|
||||
#define DNS_TYPE_CNAME 0x0005 // 5
|
||||
#define DNS_TYPE_SOA 0x0006 // 6
|
||||
#define DNS_TYPE_MB 0x0007 // 7
|
||||
#define DNS_TYPE_MG 0x0008 // 8
|
||||
#define DNS_TYPE_MR 0x0009 // 9
|
||||
#define DNS_TYPE_NULL 0x000a // 10
|
||||
#define DNS_TYPE_WKS 0x000b // 11
|
||||
#define DNS_TYPE_PTR 0x000c // 12
|
||||
#define DNS_TYPE_HINFO 0x000d // 13
|
||||
#define DNS_TYPE_MINFO 0x000e // 14
|
||||
#define DNS_TYPE_MX 0x000f // 15
|
||||
#define DNS_TYPE_TEXT 0x0010 // 16
|
||||
|
||||
// RFC 1183
|
||||
#define DNS_TYPE_RP 0x0011 // 17
|
||||
#define DNS_TYPE_AFSDB 0x0012 // 18
|
||||
#define DNS_TYPE_X25 0x0013 // 19
|
||||
#define DNS_TYPE_ISDN 0x0014 // 20
|
||||
#define DNS_TYPE_RT 0x0015 // 21
|
||||
|
||||
// RFC 1348
|
||||
#define DNS_TYPE_NSAP 0x0016 // 22
|
||||
#define DNS_TYPE_NSAPPTR 0x0017 // 23
|
||||
|
||||
// RFC 2065 (DNS security)
|
||||
#define DNS_TYPE_SIG 0x0018 // 24
|
||||
#define DNS_TYPE_KEY 0x0019 // 25
|
||||
|
||||
// RFC 1664 (X.400 mail)
|
||||
#define DNS_TYPE_PX 0x001a // 26
|
||||
|
||||
// RFC 1712 (Geographic position)
|
||||
#define DNS_TYPE_GPOS 0x001b // 27
|
||||
|
||||
// RFC 1886 (IPv6 Address)
|
||||
#define DNS_TYPE_AAAA 0x001c // 28
|
||||
|
||||
// RFC 1876 (Geographic location)
|
||||
#define DNS_TYPE_LOC 0x001d // 29
|
||||
|
||||
// RFC 2065 (Secure negative response)
|
||||
#define DNS_TYPE_NXT 0x001e // 30
|
||||
// Patton (Endpoint Identifier)
|
||||
#define DNS_TYPE_EID 0x001f // 31
|
||||
|
||||
// Patton (Nimrod Locator)
|
||||
#define DNS_TYPE_NIMLOC 0x0020 // 32
|
||||
|
||||
// RFC 2052 (Service location)
|
||||
#define DNS_TYPE_SRV 0x0021 // 33
|
||||
|
||||
// ATM Standard something-or-another (ATM Address)
|
||||
#define DNS_TYPE_ATMA 0x0022 // 34
|
||||
|
||||
// RFC 2168 (Naming Authority Pointer)
|
||||
#define DNS_TYPE_NAPTR 0x0023 // 35
|
||||
|
||||
// RFC 2230 (Key Exchanger)
|
||||
#define DNS_TYPE_KX 0x0024 // 36
|
||||
|
||||
// RFC 2538 (CERT)
|
||||
#define DNS_TYPE_CERT 0x0025 // 37
|
||||
|
||||
// A6 Draft (A6)
|
||||
#define DNS_TYPE_A6 0x0026 // 38
|
||||
|
||||
// DNAME Draft (DNAME)
|
||||
#define DNS_TYPE_DNAME 0x0027 // 39
|
||||
|
||||
// Eastlake (Kitchen Sink)
|
||||
#define DNS_TYPE_SINK 0x0028 // 40
|
||||
|
||||
// RFC 2671 (EDNS OPT)
|
||||
#define DNS_TYPE_OPT 0x0029 // 41
|
||||
|
||||
// RFC 4034 (DNSSEC DS)
|
||||
#define DNS_TYPE_DS 0x002b // 43
|
||||
|
||||
// RFC 4034 (DNSSEC RRSIG)
|
||||
#define DNS_TYPE_RRSIG 0x002e // 46
|
||||
|
||||
// RFC 4034 (DNSSEC NSEC)
|
||||
#define DNS_TYPE_NSEC 0x002f // 47
|
||||
|
||||
// RFC 4034 (DNSSEC DNSKEY)
|
||||
#define DNS_TYPE_DNSKEY 0x0030 // 48
|
||||
|
||||
// RFC 4701 (DHCID)
|
||||
#define DNS_TYPE_DHCID 0x0031 // 49
|
||||
|
||||
// RFC 5155 (DNSSEC NSEC3)
|
||||
#define DNS_TYPE_NSEC3 0x0032 // 50
|
||||
// RFC 5155 (DNSSEC NSEC3PARAM)
|
||||
#define DNS_TYPE_NSEC3PARAM 0x0033 // 51
|
||||
|
||||
//
|
||||
// IANA Reserved
|
||||
//
|
||||
|
||||
#define DNS_TYPE_UINFO 0x0064 // 100
|
||||
#define DNS_TYPE_UID 0x0065 // 101
|
||||
#define DNS_TYPE_GID 0x0066 // 102
|
||||
#define DNS_TYPE_UNSPEC 0x0067 // 103
|
||||
|
||||
//
|
||||
// Query only types (1035, 1995)
|
||||
// - Crawford (ADDRS)
|
||||
// - TKEY draft (TKEY)
|
||||
// - TSIG draft (TSIG)
|
||||
// - RFC 1995 (IXFR)
|
||||
// - RFC 1035 (AXFR up)
|
||||
//
|
||||
#define DNS_TYPE_ADDRS 0x00f8 // 248
|
||||
#define DNS_TYPE_TKEY 0x00f9 // 249
|
||||
#define DNS_TYPE_TSIG 0x00fa // 250
|
||||
#define DNS_TYPE_IXFR 0x00fb // 251
|
||||
#define DNS_TYPE_AXFR 0x00fc // 252
|
||||
#define DNS_TYPE_MAILB 0x00fd // 253
|
||||
#define DNS_TYPE_MAILA 0x00fe // 254
|
||||
#define DNS_TYPE_ALL 0x00ff // 255
|
||||
#define DNS_TYPE_ANY 0x00ff // 255
|
||||
//
|
||||
// Private use Microsoft types -- See www.iana.org/assignments/dns-parameters
|
||||
//
|
||||
#define DNS_TYPE_WINS 0xff01 // 64K - 255
|
||||
#define DNS_TYPE_WINSR 0xff02 // 64K - 254
|
||||
#define DNS_TYPE_NBSTAT (DNS_TYPE_WINSR)
|
||||
|
||||
//
|
||||
// DNS Query API
|
||||
//
|
||||
|
||||
//
|
||||
// Options for DnsQuery
|
||||
//
|
||||
|
||||
#define DNS_QUERY_STANDARD 0x00000000
|
||||
#define DNS_QUERY_ACCEPT_TRUNCATED_RESPONSE 0x00000001
|
||||
#define DNS_QUERY_USE_TCP_ONLY 0x00000002
|
||||
#define DNS_QUERY_NO_RECURSION 0x00000004
|
||||
#define DNS_QUERY_BYPASS_CACHE 0x00000008
|
||||
#define DNS_QUERY_NO_WIRE_QUERY 0x00000010
|
||||
#define DNS_QUERY_NO_LOCAL_NAME 0x00000020
|
||||
#define DNS_QUERY_NO_HOSTS_FILE 0x00000040
|
||||
#define DNS_QUERY_NO_NETBT 0x00000080
|
||||
#define DNS_QUERY_WIRE_ONLY 0x00000100
|
||||
#define DNS_QUERY_RETURN_MESSAGE 0x00000200
|
||||
#define DNS_QUERY_MULTICAST_ONLY 0x00000400
|
||||
#define DNS_QUERY_NO_MULTICAST 0x00000800
|
||||
#define DNS_QUERY_TREAT_AS_FQDN 0x00001000
|
||||
#define DNS_QUERY_ADDRCONFIG 0x00002000
|
||||
#define DNS_QUERY_DUAL_ADDR 0x00004000
|
||||
#define DNS_QUERY_DONT_RESET_TTL_VALUES 0x00100000
|
||||
#define DNS_QUERY_DISABLE_IDN_ENCODING 0x00200000
|
||||
#define DNS_QUERY_APPEND_MULTILABEL 0x00800000
|
||||
#define DNS_QUERY_DNSSEC_OK 0x01000000
|
||||
#define DNS_QUERY_DNSSEC_CHECKING_DISABLED 0x02000000
|
||||
#define DNS_QUERY_RESERVED 0xf0000000
|
||||
|
||||
|
||||
/** IPTypes.h **/
|
||||
// Definitions and structures used by getnetworkparams and getadaptersinfo apis
|
||||
|
||||
#define MAX_ADAPTER_DESCRIPTION_LENGTH 128 // arb.
|
||||
#define MAX_ADAPTER_NAME_LENGTH 256 // arb.
|
||||
#define MAX_ADAPTER_ADDRESS_LENGTH 8 // arb.
|
||||
#define DEFAULT_MINIMUM_ENTITIES 32 // arb.
|
||||
#define MAX_HOSTNAME_LEN 128 // arb.
|
||||
#define MAX_DOMAIN_NAME_LEN 128 // arb.
|
||||
#define MAX_SCOPE_ID_LEN 256 // arb.
|
||||
#define MAX_DHCPV6_DUID_LENGTH 130 // RFC 3315.
|
||||
#define MAX_DNS_SUFFIX_STRING_LENGTH 256
|
||||
@@ -0,0 +1,34 @@
|
||||
#define PIPE_ACCESS_INBOUND 0x00000001
|
||||
#define PIPE_ACCESS_OUTBOUND 0x00000002
|
||||
#define PIPE_ACCESS_DUPLEX 0x00000003
|
||||
|
||||
//
|
||||
// Define the Named Pipe End flags for GetNamedPipeInfo
|
||||
//
|
||||
|
||||
#define PIPE_CLIENT_END 0x00000000
|
||||
#define PIPE_SERVER_END 0x00000001
|
||||
|
||||
//
|
||||
// Define the dwPipeMode values for CreateNamedPipe
|
||||
//
|
||||
|
||||
#define PIPE_WAIT 0x00000000
|
||||
#define PIPE_NOWAIT 0x00000001
|
||||
#define PIPE_READMODE_BYTE 0x00000000
|
||||
#define PIPE_READMODE_MESSAGE 0x00000002
|
||||
#define PIPE_TYPE_BYTE 0x00000000
|
||||
#define PIPE_TYPE_MESSAGE 0x00000004
|
||||
#define PIPE_ACCEPT_REMOTE_CLIENTS 0x00000000
|
||||
#define PIPE_REJECT_REMOTE_CLIENTS 0x00000008
|
||||
|
||||
//
|
||||
// Define the well known values for CreateNamedPipe nMaxInstances
|
||||
//
|
||||
|
||||
#define PIPE_UNLIMITED_INSTANCES 255
|
||||
|
||||
|
||||
#define NMPWAIT_WAIT_FOREVER 0xffffffff
|
||||
#define NMPWAIT_NOWAIT 0x00000001
|
||||
#define NMPWAIT_USE_DEFAULT_WAIT 0x00000000
|
||||
@@ -0,0 +1,46 @@
|
||||
#define HKEY_CLASSES_ROOT (0x80000000)
|
||||
#define HKEY_CURRENT_USER (0x80000001)
|
||||
#define HKEY_LOCAL_MACHINE (0x80000002)
|
||||
#define HKEY_USERS (0x80000003)
|
||||
#define HKEY_PERFORMANCE_DATA (0x80000004)
|
||||
#define HKEY_PERFORMANCE_TEXT (0x80000050)
|
||||
#define HKEY_PERFORMANCE_NLSTEXT (0x80000060)
|
||||
|
||||
#define HKEY_CURRENT_CONFIG (0x80000005)
|
||||
#define HKEY_DYN_DATA (0x80000006)
|
||||
#define HKEY_CURRENT_USER_LOCAL_SETTINGS (0x80000007)
|
||||
|
||||
/* From: public/sdk/inc/ntregapi.h */
|
||||
|
||||
#define REG_OPTION_RESERVED (0x00000000L) // Parameter is reserved
|
||||
|
||||
#define REG_OPTION_NON_VOLATILE (0x00000000L) // Key is preserved
|
||||
// when system is rebooted
|
||||
|
||||
#define REG_OPTION_VOLATILE (0x00000001L) // Key is not preserved
|
||||
// when system is rebooted
|
||||
|
||||
#define REG_OPTION_CREATE_LINK (0x00000002L) // Created key is a
|
||||
// symbolic link
|
||||
|
||||
#define REG_OPTION_BACKUP_RESTORE (0x00000004L) // open for backup or restore
|
||||
// special access rules
|
||||
// privilege required
|
||||
|
||||
#define REG_OPTION_OPEN_LINK (0x00000008L) // Open symbolic link
|
||||
|
||||
#define REG_LEGAL_OPTION \
|
||||
(REG_OPTION_RESERVED |\
|
||||
REG_OPTION_NON_VOLATILE |\
|
||||
REG_OPTION_VOLATILE |\
|
||||
REG_OPTION_CREATE_LINK |\
|
||||
REG_OPTION_BACKUP_RESTORE |\
|
||||
REG_OPTION_OPEN_LINK)
|
||||
|
||||
|
||||
//
|
||||
// hive format to be used by Reg(Nt)SaveKeyEx
|
||||
//
|
||||
#define REG_STANDARD_FORMAT 1
|
||||
#define REG_LATEST_FORMAT 2
|
||||
#define REG_NO_COMPRESSION 4
|
||||
@@ -0,0 +1,126 @@
|
||||
#define ACCESS_MIN_MS_ACE_TYPE (0x0)
|
||||
#define ACCESS_ALLOWED_ACE_TYPE (0x0)
|
||||
#define ACCESS_DENIED_ACE_TYPE (0x1)
|
||||
#define SYSTEM_AUDIT_ACE_TYPE (0x2)
|
||||
#define SYSTEM_ALARM_ACE_TYPE (0x3)
|
||||
#define ACCESS_MAX_MS_V2_ACE_TYPE (0x3)
|
||||
#define ACCESS_ALLOWED_COMPOUND_ACE_TYPE (0x4)
|
||||
#define ACCESS_MAX_MS_V3_ACE_TYPE (0x4)
|
||||
#define ACCESS_MIN_MS_OBJECT_ACE_TYPE (0x5)
|
||||
#define ACCESS_ALLOWED_OBJECT_ACE_TYPE (0x5)
|
||||
#define ACCESS_DENIED_OBJECT_ACE_TYPE (0x6)
|
||||
#define SYSTEM_AUDIT_OBJECT_ACE_TYPE (0x7)
|
||||
#define SYSTEM_ALARM_OBJECT_ACE_TYPE (0x8)
|
||||
#define ACCESS_MAX_MS_OBJECT_ACE_TYPE (0x8)
|
||||
#define ACCESS_MAX_MS_V4_ACE_TYPE (0x8)
|
||||
#define ACCESS_MAX_MS_ACE_TYPE (0x8)
|
||||
#define ACCESS_ALLOWED_CALLBACK_ACE_TYPE (0x9)
|
||||
#define ACCESS_DENIED_CALLBACK_ACE_TYPE (0xA)
|
||||
#define ACCESS_ALLOWED_CALLBACK_OBJECT_ACE_TYPE (0xB)
|
||||
#define ACCESS_DENIED_CALLBACK_OBJECT_ACE_TYPE (0xC)
|
||||
#define SYSTEM_AUDIT_CALLBACK_ACE_TYPE (0xD)
|
||||
#define SYSTEM_ALARM_CALLBACK_ACE_TYPE (0xE)
|
||||
#define SYSTEM_AUDIT_CALLBACK_OBJECT_ACE_TYPE (0xF)
|
||||
#define SYSTEM_ALARM_CALLBACK_OBJECT_ACE_TYPE (0x10)
|
||||
#define SYSTEM_MANDATORY_LABEL_ACE_TYPE (0x11)
|
||||
#define ACCESS_MAX_MS_V5_ACE_TYPE (0x11)
|
||||
#define SYSTEM_RESOURCE_ATTRIBUTE_ACE_TYPE (0x12)
|
||||
#define SYSTEM_SCOPED_POLICY_ID_ACE_TYPE (0x13)
|
||||
#define SYSTEM_PROCESS_TRUST_LABEL_ACE_TYPE (0x14)
|
||||
#define ACCESS_MAX_MS_V5_ACE_TYPE (0x14)
|
||||
|
||||
#define SEC_WINNT_AUTH_IDENTITY_ANSI 0x1
|
||||
#define SEC_WINNT_AUTH_IDENTITY_UNICODE 0x2
|
||||
|
||||
#define SE_OWNER_DEFAULTED 0x00000001
|
||||
#define SE_GROUP_DEFAULTED 0x00000002
|
||||
#define SE_DACL_PRESENT 0x00000004
|
||||
#define SE_DACL_DEFAULTED 0x00000008
|
||||
#define SE_SACL_PRESENT 0x00000010
|
||||
#define SE_SACL_DEFAULTED 0x00000020
|
||||
// end_winnt
|
||||
#define SE_DACL_UNTRUSTED (0x0040)
|
||||
#define SE_SERVER_SECURITY (0x0080)
|
||||
// begin_winnt
|
||||
#define SE_DACL_AUTO_INHERIT_REQ 0x00000100
|
||||
#define SE_SACL_AUTO_INHERIT_REQ 0x00000200
|
||||
#define SE_DACL_AUTO_INHERITED 0x00000400
|
||||
#define SE_SACL_AUTO_INHERITED 0x00000800
|
||||
#define SE_DACL_PROTECTED 0x00001000
|
||||
#define SE_SACL_PROTECTED 0x00002000
|
||||
#define SE_RM_CONTROL_VALID 0x00004000
|
||||
#define SE_SELF_RELATIVE 0x00008000
|
||||
|
||||
#define SDDL_REVISION_1 0x1
|
||||
|
||||
|
||||
#define ACE_OBJECT_TYPE_PRESENT 0x1
|
||||
#define ACE_INHERITED_OBJECT_TYPE_PRESENT 0x2
|
||||
|
||||
|
||||
#define OBJECT_INHERIT_ACE (0x1)
|
||||
#define CONTAINER_INHERIT_ACE (0x2)
|
||||
#define NO_PROPAGATE_INHERIT_ACE (0x4)
|
||||
#define INHERIT_ONLY_ACE (0x8)
|
||||
#define INHERITED_ACE (0x10)
|
||||
#define VALID_INHERIT_FLAGS (0x1F)
|
||||
#define SUCCESSFUL_ACCESS_ACE_FLAG (0x40)
|
||||
#define FAILED_ACCESS_ACE_FLAG (0x80)
|
||||
|
||||
|
||||
#define SYSTEM_MANDATORY_LABEL_NO_WRITE_UP 0x1
|
||||
#define SYSTEM_MANDATORY_LABEL_NO_READ_UP 0x2
|
||||
#define SYSTEM_MANDATORY_LABEL_NO_EXECUTE_UP 0x4
|
||||
|
||||
#define SYSTEM_PROCESS_TRUST_LABEL_VALID_MASK 0x00ffffff
|
||||
#define SYSTEM_PROCESS_TRUST_NOCONSTRAINT_MASK 0xffffffff
|
||||
|
||||
|
||||
#define CLAIM_SECURITY_ATTRIBUTE_TYPE_INVALID 0x00
|
||||
#define CLAIM_SECURITY_ATTRIBUTE_TYPE_INT64 0x01
|
||||
#define CLAIM_SECURITY_ATTRIBUTE_TYPE_UINT64 0x02
|
||||
#define CLAIM_SECURITY_ATTRIBUTE_TYPE_STRING 0x03
|
||||
#define CLAIM_SECURITY_ATTRIBUTE_TYPE_FQBN 0x04
|
||||
#define CLAIM_SECURITY_ATTRIBUTE_TYPE_SID 0x05
|
||||
#define CLAIM_SECURITY_ATTRIBUTE_TYPE_BOOLEAN 0x06
|
||||
#define CLAIM_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING 0x10
|
||||
|
||||
|
||||
|
||||
#define SE_GROUP_MANDATORY (0x00000001L)
|
||||
#define SE_GROUP_ENABLED_BY_DEFAULT (0x00000002L)
|
||||
#define SE_GROUP_ENABLED (0x00000004L)
|
||||
#define SE_GROUP_OWNER (0x00000008L)
|
||||
#define SE_GROUP_USE_FOR_DENY_ONLY (0x00000010L)
|
||||
#define SE_GROUP_INTEGRITY (0x00000020L)
|
||||
#define SE_GROUP_INTEGRITY_ENABLED (0x00000040L)
|
||||
#define SE_GROUP_LOGON_ID (0xC0000000L)
|
||||
#define SE_GROUP_RESOURCE (0x20000000L)
|
||||
|
||||
#define SE_GROUP_VALID_ATTRIBUTES (SE_GROUP_MANDATORY | \
|
||||
SE_GROUP_ENABLED_BY_DEFAULT | \
|
||||
SE_GROUP_ENABLED | \
|
||||
SE_GROUP_OWNER | \
|
||||
SE_GROUP_USE_FOR_DENY_ONLY | \
|
||||
SE_GROUP_LOGON_ID | \
|
||||
SE_GROUP_RESOURCE | \
|
||||
SE_GROUP_INTEGRITY | \
|
||||
SE_GROUP_INTEGRITY_ENABLED)
|
||||
|
||||
|
||||
#define OWNER_SECURITY_INFORMATION (0x00000001L)
|
||||
#define GROUP_SECURITY_INFORMATION (0x00000002L)
|
||||
#define DACL_SECURITY_INFORMATION (0x00000004L)
|
||||
#define SACL_SECURITY_INFORMATION (0x00000008L)
|
||||
#define LABEL_SECURITY_INFORMATION (0x00000010L)
|
||||
#define ATTRIBUTE_SECURITY_INFORMATION (0x00000020L)
|
||||
#define SCOPE_SECURITY_INFORMATION (0x00000040L)
|
||||
#define PROCESS_TRUST_LABEL_SECURITY_INFORMATION (0x00000080L)
|
||||
#define BACKUP_SECURITY_INFORMATION (0x00010000L)
|
||||
|
||||
#define PROTECTED_DACL_SECURITY_INFORMATION (0x80000000L)
|
||||
#define PROTECTED_SACL_SECURITY_INFORMATION (0x40000000L)
|
||||
#define UNPROTECTED_DACL_SECURITY_INFORMATION (0x20000000L)
|
||||
#define UNPROTECTED_SACL_SECURITY_INFORMATION (0x10000000L)
|
||||
|
||||
#define SECURITY_DESCRIPTOR_REVISION 1
|
||||
@@ -0,0 +1,100 @@
|
||||
//
|
||||
// Service trigger types
|
||||
//
|
||||
#define SERVICE_TRIGGER_TYPE_DEVICE_INTERFACE_ARRIVAL 1
|
||||
#define SERVICE_TRIGGER_TYPE_IP_ADDRESS_AVAILABILITY 2
|
||||
#define SERVICE_TRIGGER_TYPE_DOMAIN_JOIN 3
|
||||
#define SERVICE_TRIGGER_TYPE_FIREWALL_PORT_EVENT 4
|
||||
#define SERVICE_TRIGGER_TYPE_GROUP_POLICY 5
|
||||
#define SERVICE_TRIGGER_TYPE_NETWORK_ENDPOINT 6
|
||||
#define SERVICE_TRIGGER_TYPE_CUSTOM_SYSTEM_STATE_CHANGE 7
|
||||
#define SERVICE_TRIGGER_TYPE_CUSTOM 20
|
||||
|
||||
//
|
||||
// Service trigger data types
|
||||
//
|
||||
#define SERVICE_TRIGGER_DATA_TYPE_BINARY 1
|
||||
#define SERVICE_TRIGGER_DATA_TYPE_STRING 2
|
||||
#define SERVICE_TRIGGER_DATA_TYPE_LEVEL 3
|
||||
#define SERVICE_TRIGGER_DATA_TYPE_KEYWORD_ANY 4
|
||||
#define SERVICE_TRIGGER_DATA_TYPE_KEYWORD_ALL 5
|
||||
|
||||
// Specific Access Rights are in <specific_access_right.txt>
|
||||
|
||||
|
||||
#define SERVICE_RUNS_IN_SYSTEM_PROCESS 0x00000001
|
||||
|
||||
|
||||
#define SERVICE_KERNEL_DRIVER 0x00000001
|
||||
#define SERVICE_FILE_SYSTEM_DRIVER 0x00000002
|
||||
#define SERVICE_ADAPTER 0x00000004
|
||||
#define SERVICE_RECOGNIZER_DRIVER 0x00000008
|
||||
|
||||
#define SERVICE_DRIVER (SERVICE_KERNEL_DRIVER | SERVICE_FILE_SYSTEM_DRIVER | SERVICE_RECOGNIZER_DRIVER)
|
||||
|
||||
#define SERVICE_WIN32_OWN_PROCESS 0x00000010
|
||||
#define SERVICE_WIN32_SHARE_PROCESS 0x00000020
|
||||
|
||||
#define SERVICE_USER_OWN_PROCESS 0x00000050
|
||||
#define SERVICE_USER_SHARE_PROCESS 0x00000060
|
||||
|
||||
#define SERVICE_WIN32 (SERVICE_WIN32_OWN_PROCESS | SERVICE_WIN32_SHARE_PROCESS)
|
||||
|
||||
#define SERVICE_INTERACTIVE_PROCESS 0x00000100
|
||||
|
||||
#define SERVICE_TYPE_ALL (SERVICE_WIN32 | SERVICE_ADAPTER | SERVICE_DRIVER | SERVICE_INTERACTIVE_PROCESS)
|
||||
|
||||
|
||||
#define SERVICE_BOOT_START 0x00000000
|
||||
#define SERVICE_SYSTEM_START 0x00000001
|
||||
#define SERVICE_AUTO_START 0x00000002
|
||||
#define SERVICE_DEMAND_START 0x00000003
|
||||
#define SERVICE_DISABLED 0x00000004
|
||||
|
||||
#define SERVICE_ERROR_IGNORE 0x00000000
|
||||
#define SERVICE_ERROR_NORMAL 0x00000001
|
||||
#define SERVICE_ERROR_SEVERE 0x00000002
|
||||
#define SERVICE_ERROR_CRITICAL 0x00000003
|
||||
|
||||
#define SERVICE_ACTIVE 0x00000001
|
||||
#define SERVICE_INACTIVE 0x00000002
|
||||
#define SERVICE_STATE_ALL (SERVICE_ACTIVE | SERVICE_INACTIVE)
|
||||
|
||||
#define SERVICE_CONTROL_STOP 0x00000001
|
||||
#define SERVICE_CONTROL_PAUSE 0x00000002
|
||||
#define SERVICE_CONTROL_CONTINUE 0x00000003
|
||||
#define SERVICE_CONTROL_INTERROGATE 0x00000004
|
||||
#define SERVICE_CONTROL_SHUTDOWN 0x00000005
|
||||
#define SERVICE_CONTROL_PARAMCHANGE 0x00000006
|
||||
#define SERVICE_CONTROL_NETBINDADD 0x00000007
|
||||
#define SERVICE_CONTROL_NETBINDREMOVE 0x00000008
|
||||
#define SERVICE_CONTROL_NETBINDENABLE 0x00000009
|
||||
#define SERVICE_CONTROL_NETBINDDISABLE 0x0000000A
|
||||
#define SERVICE_CONTROL_DEVICEEVENT 0x0000000B
|
||||
#define SERVICE_CONTROL_HARDWAREPROFILECHANGE 0x0000000C
|
||||
#define SERVICE_CONTROL_POWEREVENT 0x0000000D
|
||||
#define SERVICE_CONTROL_SESSIONCHANGE 0x0000000E
|
||||
#define SERVICE_CONTROL_PRESHUTDOWN 0x0000000F
|
||||
#define SERVICE_CONTROL_TIMECHANGE 0x00000010
|
||||
#define SERVICE_CONTROL_TRIGGEREVENT 0x00000020
|
||||
|
||||
#define SERVICE_STOPPED 0x00000001
|
||||
#define SERVICE_START_PENDING 0x00000002
|
||||
#define SERVICE_STOP_PENDING 0x00000003
|
||||
#define SERVICE_RUNNING 0x00000004
|
||||
#define SERVICE_CONTINUE_PENDING 0x00000005
|
||||
#define SERVICE_PAUSE_PENDING 0x00000006
|
||||
#define SERVICE_PAUSED 0x00000007
|
||||
|
||||
|
||||
#define SERVICE_ACCEPT_STOP 0x00000001
|
||||
#define SERVICE_ACCEPT_PAUSE_CONTINUE 0x00000002
|
||||
#define SERVICE_ACCEPT_SHUTDOWN 0x00000004
|
||||
#define SERVICE_ACCEPT_PARAMCHANGE 0x00000008
|
||||
#define SERVICE_ACCEPT_NETBINDCHANGE 0x00000010
|
||||
#define SERVICE_ACCEPT_HARDWAREPROFILECHANGE 0x00000020
|
||||
#define SERVICE_ACCEPT_POWEREVENT 0x00000040
|
||||
#define SERVICE_ACCEPT_SESSIONCHANGE 0x00000080
|
||||
#define SERVICE_ACCEPT_PRESHUTDOWN 0x00000100
|
||||
#define SERVICE_ACCEPT_TIMECHANGE 0x00000200
|
||||
#define SERVICE_ACCEPT_TRIGGEREVENT 0x00000400
|
||||
@@ -0,0 +1,168 @@
|
||||
//
|
||||
// Device registry property codes
|
||||
// (Codes marked as read-only (R) may only be used for
|
||||
// SetupDiGetDeviceRegistryProperty)
|
||||
//
|
||||
// These values should cover the same set of registry properties
|
||||
// as defined by the CM_DRP codes in cfgmgr32.h.
|
||||
//
|
||||
// Note that SPDRP codes are zero based while CM_DRP codes are one based!
|
||||
//
|
||||
#define SPDRP_DEVICEDESC (0x00000000) // DeviceDesc (R/W)
|
||||
#define SPDRP_HARDWAREID (0x00000001) // HardwareID (R/W)
|
||||
#define SPDRP_COMPATIBLEIDS (0x00000002) // CompatibleIDs (R/W)
|
||||
#define SPDRP_UNUSED0 (0x00000003) // unused
|
||||
#define SPDRP_SERVICE (0x00000004) // Service (R/W)
|
||||
#define SPDRP_UNUSED1 (0x00000005) // unused
|
||||
#define SPDRP_UNUSED2 (0x00000006) // unused
|
||||
#define SPDRP_CLASS (0x00000007) // Class (R--tied to ClassGUID)
|
||||
#define SPDRP_CLASSGUID (0x00000008) // ClassGUID (R/W)
|
||||
#define SPDRP_DRIVER (0x00000009) // Driver (R/W)
|
||||
#define SPDRP_CONFIGFLAGS (0x0000000A) // ConfigFlags (R/W)
|
||||
#define SPDRP_MFG (0x0000000B) // Mfg (R/W)
|
||||
#define SPDRP_FRIENDLYNAME (0x0000000C) // FriendlyName (R/W)
|
||||
#define SPDRP_LOCATION_INFORMATION (0x0000000D) // LocationInformation (R/W)
|
||||
#define SPDRP_PHYSICAL_DEVICE_OBJECT_NAME (0x0000000E) // PhysicalDeviceObjectName (R)
|
||||
#define SPDRP_CAPABILITIES (0x0000000F) // Capabilities (R)
|
||||
#define SPDRP_UI_NUMBER (0x00000010) // UiNumber (R)
|
||||
#define SPDRP_UPPERFILTERS (0x00000011) // UpperFilters (R/W)
|
||||
#define SPDRP_LOWERFILTERS (0x00000012) // LowerFilters (R/W)
|
||||
#define SPDRP_BUSTYPEGUID (0x00000013) // BusTypeGUID (R)
|
||||
#define SPDRP_LEGACYBUSTYPE (0x00000014) // LegacyBusType (R)
|
||||
#define SPDRP_BUSNUMBER (0x00000015) // BusNumber (R)
|
||||
#define SPDRP_ENUMERATOR_NAME (0x00000016) // Enumerator Name (R)
|
||||
#define SPDRP_SECURITY (0x00000017) // Security (R/W, binary form)
|
||||
#define SPDRP_SECURITY_SDS (0x00000018) // Security (W, SDS form)
|
||||
#define SPDRP_DEVTYPE (0x00000019) // Device Type (R/W)
|
||||
#define SPDRP_EXCLUSIVE (0x0000001A) // Device is exclusive-access (R/W)
|
||||
#define SPDRP_CHARACTERISTICS (0x0000001B) // Device Characteristics (R/W)
|
||||
#define SPDRP_ADDRESS (0x0000001C) // Device Address (R)
|
||||
#define SPDRP_UI_NUMBER_DESC_FORMAT (0X0000001D) // UiNumberDescFormat (R/W)
|
||||
#define SPDRP_DEVICE_POWER_DATA (0x0000001E) // Device Power Data (R)
|
||||
#define SPDRP_REMOVAL_POLICY (0x0000001F) // Removal Policy (R)
|
||||
#define SPDRP_REMOVAL_POLICY_HW_DEFAULT (0x00000020) // Hardware Removal Policy (R)
|
||||
#define SPDRP_REMOVAL_POLICY_OVERRIDE (0x00000021) // Removal Policy Override (RW)
|
||||
#define SPDRP_INSTALL_STATE (0x00000022) // Device Install State (R)
|
||||
#define SPDRP_LOCATION_PATHS (0x00000023) // Device Location Paths (R)
|
||||
#define SPDRP_BASE_CONTAINERID (0x00000024) // Base ContainerID (R)
|
||||
|
||||
#define SPDRP_MAXIMUM_PROPERTY (0x00000025) // Upper bound on ordinals
|
||||
|
||||
|
||||
//
|
||||
// Inf parse outcomes
|
||||
//
|
||||
#define ERROR_EXPECTED_SECTION_NAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0)
|
||||
#define ERROR_BAD_SECTION_NAME_LINE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|1)
|
||||
#define ERROR_SECTION_NAME_TOO_LONG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|2)
|
||||
#define ERROR_GENERAL_SYNTAX (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|3)
|
||||
//
|
||||
// Inf runtime errors
|
||||
//
|
||||
#define ERROR_WRONG_INF_STYLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x100)
|
||||
#define ERROR_SECTION_NOT_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x101)
|
||||
#define ERROR_LINE_NOT_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x102)
|
||||
#define ERROR_NO_BACKUP (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x103)
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Device Installer/other errors
|
||||
//
|
||||
#define ERROR_NO_ASSOCIATED_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x200)
|
||||
#define ERROR_CLASS_MISMATCH (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x201)
|
||||
#define ERROR_DUPLICATE_FOUND (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x202)
|
||||
#define ERROR_NO_DRIVER_SELECTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x203)
|
||||
#define ERROR_KEY_DOES_NOT_EXIST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x204)
|
||||
#define ERROR_INVALID_DEVINST_NAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x205)
|
||||
#define ERROR_INVALID_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x206)
|
||||
#define ERROR_DEVINST_ALREADY_EXISTS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x207)
|
||||
#define ERROR_DEVINFO_NOT_REGISTERED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x208)
|
||||
#define ERROR_INVALID_REG_PROPERTY (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x209)
|
||||
#define ERROR_NO_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20A)
|
||||
#define ERROR_NO_SUCH_DEVINST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20B)
|
||||
#define ERROR_CANT_LOAD_CLASS_ICON (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20C)
|
||||
#define ERROR_INVALID_CLASS_INSTALLER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20D)
|
||||
#define ERROR_DI_DO_DEFAULT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20E)
|
||||
#define ERROR_DI_NOFILECOPY (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x20F)
|
||||
#define ERROR_INVALID_HWPROFILE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x210)
|
||||
#define ERROR_NO_DEVICE_SELECTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x211)
|
||||
#define ERROR_DEVINFO_LIST_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x212)
|
||||
#define ERROR_DEVINFO_DATA_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x213)
|
||||
#define ERROR_DI_BAD_PATH (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x214)
|
||||
#define ERROR_NO_CLASSINSTALL_PARAMS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x215)
|
||||
#define ERROR_FILEQUEUE_LOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x216)
|
||||
#define ERROR_BAD_SERVICE_INSTALLSECT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x217)
|
||||
#define ERROR_NO_CLASS_DRIVER_LIST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x218)
|
||||
#define ERROR_NO_ASSOCIATED_SERVICE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x219)
|
||||
#define ERROR_NO_DEFAULT_DEVICE_INTERFACE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21A)
|
||||
#define ERROR_DEVICE_INTERFACE_ACTIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21B)
|
||||
#define ERROR_DEVICE_INTERFACE_REMOVED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21C)
|
||||
#define ERROR_BAD_INTERFACE_INSTALLSECT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21D)
|
||||
#define ERROR_NO_SUCH_INTERFACE_CLASS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21E)
|
||||
#define ERROR_INVALID_REFERENCE_STRING (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x21F)
|
||||
#define ERROR_INVALID_MACHINENAME (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x220)
|
||||
#define ERROR_REMOTE_COMM_FAILURE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x221)
|
||||
#define ERROR_MACHINE_UNAVAILABLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x222)
|
||||
#define ERROR_NO_CONFIGMGR_SERVICES (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x223)
|
||||
#define ERROR_INVALID_PROPPAGE_PROVIDER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x224)
|
||||
#define ERROR_NO_SUCH_DEVICE_INTERFACE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x225)
|
||||
#define ERROR_DI_POSTPROCESSING_REQUIRED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x226)
|
||||
#define ERROR_INVALID_COINSTALLER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x227)
|
||||
#define ERROR_NO_COMPAT_DRIVERS (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x228)
|
||||
#define ERROR_NO_DEVICE_ICON (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x229)
|
||||
#define ERROR_INVALID_INF_LOGCONFIG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22A)
|
||||
#define ERROR_DI_DONT_INSTALL (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22B)
|
||||
#define ERROR_INVALID_FILTER_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22C)
|
||||
#define ERROR_NON_WINDOWS_NT_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22D)
|
||||
#define ERROR_NON_WINDOWS_DRIVER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22E)
|
||||
#define ERROR_NO_CATALOG_FOR_OEM_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x22F)
|
||||
#define ERROR_DEVINSTALL_QUEUE_NONNATIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x230)
|
||||
#define ERROR_NOT_DISABLEABLE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x231)
|
||||
#define ERROR_CANT_REMOVE_DEVINST (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x232)
|
||||
#define ERROR_INVALID_TARGET (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x233)
|
||||
#define ERROR_DRIVER_NONNATIVE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x234)
|
||||
#define ERROR_IN_WOW64 (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x235)
|
||||
#define ERROR_SET_SYSTEM_RESTORE_POINT (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x236)
|
||||
|
||||
#define ERROR_SCE_DISABLED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x238)
|
||||
#define ERROR_UNKNOWN_EXCEPTION (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x239)
|
||||
#define ERROR_PNP_REGISTRY_ERROR (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23A)
|
||||
#define ERROR_REMOTE_REQUEST_UNSUPPORTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23B)
|
||||
#define ERROR_NOT_AN_INSTALLED_OEM_INF (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23C)
|
||||
#define ERROR_INF_IN_USE_BY_DEVICES (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23D)
|
||||
#define ERROR_DI_FUNCTION_OBSOLETE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23E)
|
||||
#define ERROR_NO_AUTHENTICODE_CATALOG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x23F)
|
||||
#define ERROR_AUTHENTICODE_DISALLOWED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x240)
|
||||
#define ERROR_AUTHENTICODE_TRUSTED_PUBLISHER (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x241)
|
||||
#define ERROR_AUTHENTICODE_TRUST_NOT_ESTABLISHED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x242)
|
||||
#define ERROR_AUTHENTICODE_PUBLISHER_NOT_TRUSTED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x243)
|
||||
#define ERROR_SIGNATURE_OSATTRIBUTE_MISMATCH (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x244)
|
||||
#define ERROR_ONLY_VALIDATE_VIA_AUTHENTICODE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x245)
|
||||
#define ERROR_DEVICE_INSTALLER_NOT_READY (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x246)
|
||||
#define ERROR_DRIVER_STORE_ADD_FAILED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x247)
|
||||
#define ERROR_DEVICE_INSTALL_BLOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x248)
|
||||
#define ERROR_DRIVER_INSTALL_BLOCKED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x249)
|
||||
#define ERROR_WRONG_INF_TYPE (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x24A)
|
||||
#define ERROR_FILE_HASH_NOT_IN_CATALOG (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x24B)
|
||||
#define ERROR_DRIVER_STORE_DELETE_FAILED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x24C)
|
||||
|
||||
//
|
||||
// Setupapi exception codes
|
||||
//
|
||||
#define ERROR_UNRECOVERABLE_STACK_OVERFLOW (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x300)
|
||||
#define EXCEPTION_SPAPI_UNRECOVERABLE_STACK_OVERFLOW ERROR_UNRECOVERABLE_STACK_OVERFLOW
|
||||
|
||||
//
|
||||
// Backward compatibility--do not use.
|
||||
//
|
||||
#define ERROR_NO_DEFAULT_INTERFACE_DEVICE ERROR_NO_DEFAULT_DEVICE_INTERFACE
|
||||
#define ERROR_INTERFACE_DEVICE_ACTIVE ERROR_DEVICE_INTERFACE_ACTIVE
|
||||
#define ERROR_INTERFACE_DEVICE_REMOVED ERROR_DEVICE_INTERFACE_REMOVED
|
||||
#define ERROR_NO_SUCH_INTERFACE_DEVICE ERROR_NO_SUCH_DEVICE_INTERFACE
|
||||
|
||||
|
||||
//
|
||||
// Win9x migration DLL error code
|
||||
//
|
||||
#define ERROR_NOT_INSTALLED (APPLICATION_ERROR_MASK|ERROR_SEVERITY_ERROR|0x1000)
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user