source: anotherchoice/tags/jsp-1.4.4-full-UTF8/windev/devicemanager/devicemanager.h@ 26

Last change on this file since 26 was 26, checked in by ykominami, 10 years ago

initial

File size: 33.5 KB
Line 
1/*
2 * TOPPERS/JSP Kernel
3 * Toyohashi Open Platform for Embedded Real-Time Systems/
4 * Just Standard Profile Kernel
5 *
6 * Copyright (C) 2000-2003 by Embedded and Real-Time Systems Laboratory
7 * Toyohashi Univ. of Technology, JAPAN
8 *
9 * 上記著作権者
10は,以下の (1)〜(4) の条件か,Free Software Foundation
11 * によってå…
12¬è¡¨ã•ã‚Œã¦ã„ã‚‹ GNU General Public License の Version 2 に記
13 * 述されている条件を満たす場合に限り,本ソフトウェア(本ソフトウェア
14 * を改変したものを含む.以下同じ)を使用・複製・改変・再é…
15å¸ƒï¼ˆä»¥ä¸‹ï¼Œ
16 * 利用と呼ぶ)することを無償で許諾する.
17 * (1) 本ソフトウェアをソースコードの形で利用する場合には,上記の著作
18 * 権表示,この利用条件および下記の無保証規定が,そのままの形でソー
19 * スコード中に含まれていること.
20 * (2) 本ソフトウェアを,ライブラリ形式など,他のソフトウェア開発に使
21 * 用できる形で再é…
22å¸ƒã™ã‚‹å ´åˆã«ã¯ï¼Œå†é…
23å¸ƒã«ä¼´ã†ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆï¼ˆåˆ©ç”¨
24 * 者
25マニュアルなど)に,上記の著作権表示,この利用条件および下記
26 * の無保証規定を掲載すること.
27 * (3) 本ソフトウェアを,機器に組み込むなど,他のソフトウェア開発に使
28 * 用できない形で再é…
29å¸ƒã™ã‚‹å ´åˆã«ã¯ï¼Œæ¬¡ã®ã„ずれかの条件を満たすこ
30 * と.
31 * (a) 再é…
32å¸ƒã«ä¼´ã†ãƒ‰ã‚­ãƒ¥ãƒ¡ãƒ³ãƒˆï¼ˆåˆ©ç”¨è€…
33マニュアルなど)に,上記の著
34 * 作権表示,この利用条件および下記の無保証規定を掲載すること.
35 * (b) 再é…
36å¸ƒã®å½¢æ…
37‹ã‚’,別に定める方法によって,TOPPERSプロジェクトに
38 * 報告すること.
39 * (4) 本ソフトウェアの利用により直接的または間接的に生じるいかなる損
40 * 害からも,上記著作権者
41およびTOPPERSプロジェクトをå…
42è²¬ã™ã‚‹ã“と.
43 *
44 * 本ソフトウェアは,無保証で提供されているものである.上記著作権者
45お
46 * よびTOPPERSプロジェクトは,本ソフトウェアに関して,その適用可能性も
47 * 含めて,いかなる保証も行わない.また,本ソフトウェアの利用により直
48 * 接的または間接的に生じたいかなる損害に関しても,その責任を負わない.
49 *
50 * @(#) $Id: devicemanager.h,v 1.6 2003/06/30 15:58:39 takayuki Exp $
51 */
52
53
54/* File created by MIDL compiler version 5.01.0164 */
55/* at Tue Aug 20 16:26:30 2002
56 */
57/* Compiler settings for C:\Documents and Settings\Takayuki\My Documents\Visual Studio Projects\JSP Windows Logging Mechanism\windev\devicemanager\devicemanager.idl:
58 Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
59 error checks: allocation ref bounds_check enum stub_data
60*/
61//@@MIDL_FILE_HEADING( )
62
63
64/* verify that the <rpcndr.h> version is high enough to compile this file*/
65#ifndef __REQUIRED_RPCNDR_H_VERSION__
66#define __REQUIRED_RPCNDR_H_VERSION__ 440
67#endif
68
69#include "rpc.h"
70#include "rpcndr.h"
71
72#ifndef __RPCNDR_H_VERSION__
73#error this stub requires an updated version of <rpcndr.h>
74#endif // __RPCNDR_H_VERSION__
75
76#ifndef COM_NO_WINDOWS_H
77#include "windows.h"
78#include "ole2.h"
79#endif /*COM_NO_WINDOWS_H*/
80
81#ifndef __devicemanager_h__
82#define __devicemanager_h__
83
84#ifdef __cplusplus
85extern "C"{
86#endif
87
88/* Forward Declarations */
89
90#ifndef __IInformation_FWD_DEFINED__
91#define __IInformation_FWD_DEFINED__
92typedef interface IInformation IInformation;
93#endif /* __IInformation_FWD_DEFINED__ */
94
95
96#ifndef __IDevice_FWD_DEFINED__
97#define __IDevice_FWD_DEFINED__
98typedef interface IDevice IDevice;
99#endif /* __IDevice_FWD_DEFINED__ */
100
101
102#ifndef ___IDeviceEvents_FWD_DEFINED__
103#define ___IDeviceEvents_FWD_DEFINED__
104typedef interface _IDeviceEvents _IDeviceEvents;
105#endif /* ___IDeviceEvents_FWD_DEFINED__ */
106
107
108#ifndef __IKernel_FWD_DEFINED__
109#define __IKernel_FWD_DEFINED__
110typedef interface IKernel IKernel;
111#endif /* __IKernel_FWD_DEFINED__ */
112
113
114#ifndef ___IKernelEvents_FWD_DEFINED__
115#define ___IKernelEvents_FWD_DEFINED__
116typedef interface _IKernelEvents _IKernelEvents;
117#endif /* ___IKernelEvents_FWD_DEFINED__ */
118
119
120#ifndef ___IInformationEvents_FWD_DEFINED__
121#define ___IInformationEvents_FWD_DEFINED__
122typedef interface _IInformationEvents _IInformationEvents;
123#endif /* ___IInformationEvents_FWD_DEFINED__ */
124
125
126#ifndef __IKernelLog_FWD_DEFINED__
127#define __IKernelLog_FWD_DEFINED__
128typedef interface IKernelLog IKernelLog;
129#endif /* __IKernelLog_FWD_DEFINED__ */
130
131
132#ifndef ___IKernelLogEvents_FWD_DEFINED__
133#define ___IKernelLogEvents_FWD_DEFINED__
134typedef interface _IKernelLogEvents _IKernelLogEvents;
135#endif /* ___IKernelLogEvents_FWD_DEFINED__ */
136
137
138#ifndef __Device_FWD_DEFINED__
139#define __Device_FWD_DEFINED__
140
141#ifdef __cplusplus
142typedef class Device Device;
143#else
144typedef struct Device Device;
145#endif /* __cplusplus */
146
147#endif /* __Device_FWD_DEFINED__ */
148
149
150#ifndef __Information_FWD_DEFINED__
151#define __Information_FWD_DEFINED__
152
153#ifdef __cplusplus
154typedef class Information Information;
155#else
156typedef struct Information Information;
157#endif /* __cplusplus */
158
159#endif /* __Information_FWD_DEFINED__ */
160
161
162#ifndef __Kernel_FWD_DEFINED__
163#define __Kernel_FWD_DEFINED__
164
165#ifdef __cplusplus
166typedef class Kernel Kernel;
167#else
168typedef struct Kernel Kernel;
169#endif /* __cplusplus */
170
171#endif /* __Kernel_FWD_DEFINED__ */
172
173
174#ifndef __KernelLog_FWD_DEFINED__
175#define __KernelLog_FWD_DEFINED__
176
177#ifdef __cplusplus
178typedef class KernelLog KernelLog;
179#else
180typedef struct KernelLog KernelLog;
181#endif /* __cplusplus */
182
183#endif /* __KernelLog_FWD_DEFINED__ */
184
185
186/* header files for imported files */
187#include "oaidl.h"
188#include "ocidl.h"
189
190void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
191void __RPC_USER MIDL_user_free( void __RPC_FAR * );
192
193#ifndef __IInformation_INTERFACE_DEFINED__
194#define __IInformation_INTERFACE_DEFINED__
195
196/* interface IInformation */
197/* [unique][helpstring][uuid][object] */
198
199
200EXTERN_C const IID IID_IInformation;
201
202#if defined(__cplusplus) && !defined(CINTERFACE)
203
204 MIDL_INTERFACE("0FDFFA99-68D5-4BE0-8984-FB6A3A2C0AAC")
205 IInformation : public IUnknown
206 {
207 public:
208 };
209
210#else /* C style interface */
211
212 typedef struct IInformationVtbl
213 {
214 BEGIN_INTERFACE
215
216 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
217 IInformation __RPC_FAR * This,
218 /* [in] */ REFIID riid,
219 /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
220
221 ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
222 IInformation __RPC_FAR * This);
223
224 ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
225 IInformation __RPC_FAR * This);
226
227 END_INTERFACE
228 } IInformationVtbl;
229
230 interface IInformation
231 {
232 CONST_VTBL struct IInformationVtbl __RPC_FAR *lpVtbl;
233 };
234
235
236
237#ifdef COBJMACROS
238
239
240#define IInformation_QueryInterface(This,riid,ppvObject) \
241 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
242
243#define IInformation_AddRef(This) \
244 (This)->lpVtbl -> AddRef(This)
245
246#define IInformation_Release(This) \
247 (This)->lpVtbl -> Release(This)
248
249
250#endif /* COBJMACROS */
251
252
253#endif /* C style interface */
254
255
256
257
258#endif /* __IInformation_INTERFACE_DEFINED__ */
259
260
261#ifndef __IDevice_INTERFACE_DEFINED__
262#define __IDevice_INTERFACE_DEFINED__
263
264/* interface IDevice */
265/* [unique][helpstring][uuid][object] */
266
267
268EXTERN_C const IID IID_IDevice;
269
270#if defined(__cplusplus) && !defined(CINTERFACE)
271
272 MIDL_INTERFACE("6575FAAB-8750-42D2-ADDD-4BE764AA2767")
273 IDevice : public IUnknown
274 {
275 public:
276 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsValid(
277 /* [out] */ BOOL __RPC_FAR *valid) = 0;
278
279 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE SetDeviceName(
280 /* [in] */ BSTR devname) = 0;
281
282 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Map(
283 /* [in] */ unsigned long address,
284 /* [in] */ unsigned long size) = 0;
285
286 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Unmap(
287 /* [in] */ unsigned long address) = 0;
288
289 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE RaiseInterrupt(
290 /* [in] */ unsigned long inhno) = 0;
291
292 };
293
294#else /* C style interface */
295
296 typedef struct IDeviceVtbl
297 {
298 BEGIN_INTERFACE
299
300 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
301 IDevice __RPC_FAR * This,
302 /* [in] */ REFIID riid,
303 /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
304
305 ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
306 IDevice __RPC_FAR * This);
307
308 ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
309 IDevice __RPC_FAR * This);
310
311 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsValid )(
312 IDevice __RPC_FAR * This,
313 /* [out] */ BOOL __RPC_FAR *valid);
314
315 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDeviceName )(
316 IDevice __RPC_FAR * This,
317 /* [in] */ BSTR devname);
318
319 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Map )(
320 IDevice __RPC_FAR * This,
321 /* [in] */ unsigned long address,
322 /* [in] */ unsigned long size);
323
324 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unmap )(
325 IDevice __RPC_FAR * This,
326 /* [in] */ unsigned long address);
327
328 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RaiseInterrupt )(
329 IDevice __RPC_FAR * This,
330 /* [in] */ unsigned long inhno);
331
332 END_INTERFACE
333 } IDeviceVtbl;
334
335 interface IDevice
336 {
337 CONST_VTBL struct IDeviceVtbl __RPC_FAR *lpVtbl;
338 };
339
340
341
342#ifdef COBJMACROS
343
344
345#define IDevice_QueryInterface(This,riid,ppvObject) \
346 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
347
348#define IDevice_AddRef(This) \
349 (This)->lpVtbl -> AddRef(This)
350
351#define IDevice_Release(This) \
352 (This)->lpVtbl -> Release(This)
353
354
355#define IDevice_IsValid(This,valid) \
356 (This)->lpVtbl -> IsValid(This,valid)
357
358#define IDevice_SetDeviceName(This,devname) \
359 (This)->lpVtbl -> SetDeviceName(This,devname)
360
361#define IDevice_Map(This,address,size) \
362 (This)->lpVtbl -> Map(This,address,size)
363
364#define IDevice_Unmap(This,address) \
365 (This)->lpVtbl -> Unmap(This,address)
366
367#define IDevice_RaiseInterrupt(This,inhno) \
368 (This)->lpVtbl -> RaiseInterrupt(This,inhno)
369
370#endif /* COBJMACROS */
371
372
373#endif /* C style interface */
374
375
376
377/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDevice_IsValid_Proxy(
378 IDevice __RPC_FAR * This,
379 /* [out] */ BOOL __RPC_FAR *valid);
380
381
382void __RPC_STUB IDevice_IsValid_Stub(
383 IRpcStubBuffer *This,
384 IRpcChannelBuffer *_pRpcChannelBuffer,
385 PRPC_MESSAGE _pRpcMessage,
386 DWORD *_pdwStubPhase);
387
388
389/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDevice_SetDeviceName_Proxy(
390 IDevice __RPC_FAR * This,
391 /* [in] */ BSTR devname);
392
393
394void __RPC_STUB IDevice_SetDeviceName_Stub(
395 IRpcStubBuffer *This,
396 IRpcChannelBuffer *_pRpcChannelBuffer,
397 PRPC_MESSAGE _pRpcMessage,
398 DWORD *_pdwStubPhase);
399
400
401/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDevice_Map_Proxy(
402 IDevice __RPC_FAR * This,
403 /* [in] */ unsigned long address,
404 /* [in] */ unsigned long size);
405
406
407void __RPC_STUB IDevice_Map_Stub(
408 IRpcStubBuffer *This,
409 IRpcChannelBuffer *_pRpcChannelBuffer,
410 PRPC_MESSAGE _pRpcMessage,
411 DWORD *_pdwStubPhase);
412
413
414/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDevice_Unmap_Proxy(
415 IDevice __RPC_FAR * This,
416 /* [in] */ unsigned long address);
417
418
419void __RPC_STUB IDevice_Unmap_Stub(
420 IRpcStubBuffer *This,
421 IRpcChannelBuffer *_pRpcChannelBuffer,
422 PRPC_MESSAGE _pRpcMessage,
423 DWORD *_pdwStubPhase);
424
425
426/* [helpstring] */ HRESULT STDMETHODCALLTYPE IDevice_RaiseInterrupt_Proxy(
427 IDevice __RPC_FAR * This,
428 /* [in] */ unsigned long inhno);
429
430
431void __RPC_STUB IDevice_RaiseInterrupt_Stub(
432 IRpcStubBuffer *This,
433 IRpcChannelBuffer *_pRpcChannelBuffer,
434 PRPC_MESSAGE _pRpcMessage,
435 DWORD *_pdwStubPhase);
436
437
438
439#endif /* __IDevice_INTERFACE_DEFINED__ */
440
441
442#ifndef ___IDeviceEvents_INTERFACE_DEFINED__
443#define ___IDeviceEvents_INTERFACE_DEFINED__
444
445/* interface _IDeviceEvents */
446/* [object][helpstring][uuid] */
447
448
449EXTERN_C const IID IID__IDeviceEvents;
450
451#if defined(__cplusplus) && !defined(CINTERFACE)
452
453 MIDL_INTERFACE("DA93137D-FB52-4421-B95D-9077340AD03B")
454 _IDeviceEvents : public IUnknown
455 {
456 public:
457 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnRead(
458 /* [in] */ long address,
459 /* [in] */ long sz,
460 /* [length_is][size_is][out] */ byte __RPC_FAR data[ ]) = 0;
461
462 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnWrite(
463 /* [in] */ long address,
464 /* [in] */ long sz,
465 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]) = 0;
466
467 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnKernelStart( void) = 0;
468
469 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnKernelExit( void) = 0;
470
471 };
472
473#else /* C style interface */
474
475 typedef struct _IDeviceEventsVtbl
476 {
477 BEGIN_INTERFACE
478
479 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
480 _IDeviceEvents __RPC_FAR * This,
481 /* [in] */ REFIID riid,
482 /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
483
484 ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
485 _IDeviceEvents __RPC_FAR * This);
486
487 ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
488 _IDeviceEvents __RPC_FAR * This);
489
490 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnRead )(
491 _IDeviceEvents __RPC_FAR * This,
492 /* [in] */ long address,
493 /* [in] */ long sz,
494 /* [length_is][size_is][out] */ byte __RPC_FAR data[ ]);
495
496 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnWrite )(
497 _IDeviceEvents __RPC_FAR * This,
498 /* [in] */ long address,
499 /* [in] */ long sz,
500 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]);
501
502 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnKernelStart )(
503 _IDeviceEvents __RPC_FAR * This);
504
505 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnKernelExit )(
506 _IDeviceEvents __RPC_FAR * This);
507
508 END_INTERFACE
509 } _IDeviceEventsVtbl;
510
511 interface _IDeviceEvents
512 {
513 CONST_VTBL struct _IDeviceEventsVtbl __RPC_FAR *lpVtbl;
514 };
515
516
517
518#ifdef COBJMACROS
519
520
521#define _IDeviceEvents_QueryInterface(This,riid,ppvObject) \
522 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
523
524#define _IDeviceEvents_AddRef(This) \
525 (This)->lpVtbl -> AddRef(This)
526
527#define _IDeviceEvents_Release(This) \
528 (This)->lpVtbl -> Release(This)
529
530
531#define _IDeviceEvents_OnRead(This,address,sz,data) \
532 (This)->lpVtbl -> OnRead(This,address,sz,data)
533
534#define _IDeviceEvents_OnWrite(This,address,sz,data) \
535 (This)->lpVtbl -> OnWrite(This,address,sz,data)
536
537#define _IDeviceEvents_OnKernelStart(This) \
538 (This)->lpVtbl -> OnKernelStart(This)
539
540#define _IDeviceEvents_OnKernelExit(This) \
541 (This)->lpVtbl -> OnKernelExit(This)
542
543#endif /* COBJMACROS */
544
545
546#endif /* C style interface */
547
548
549
550/* [helpstring] */ HRESULT STDMETHODCALLTYPE _IDeviceEvents_OnRead_Proxy(
551 _IDeviceEvents __RPC_FAR * This,
552 /* [in] */ long address,
553 /* [in] */ long sz,
554 /* [length_is][size_is][out] */ byte __RPC_FAR data[ ]);
555
556
557void __RPC_STUB _IDeviceEvents_OnRead_Stub(
558 IRpcStubBuffer *This,
559 IRpcChannelBuffer *_pRpcChannelBuffer,
560 PRPC_MESSAGE _pRpcMessage,
561 DWORD *_pdwStubPhase);
562
563
564/* [helpstring] */ HRESULT STDMETHODCALLTYPE _IDeviceEvents_OnWrite_Proxy(
565 _IDeviceEvents __RPC_FAR * This,
566 /* [in] */ long address,
567 /* [in] */ long sz,
568 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]);
569
570
571void __RPC_STUB _IDeviceEvents_OnWrite_Stub(
572 IRpcStubBuffer *This,
573 IRpcChannelBuffer *_pRpcChannelBuffer,
574 PRPC_MESSAGE _pRpcMessage,
575 DWORD *_pdwStubPhase);
576
577
578/* [helpstring] */ HRESULT STDMETHODCALLTYPE _IDeviceEvents_OnKernelStart_Proxy(
579 _IDeviceEvents __RPC_FAR * This);
580
581
582void __RPC_STUB _IDeviceEvents_OnKernelStart_Stub(
583 IRpcStubBuffer *This,
584 IRpcChannelBuffer *_pRpcChannelBuffer,
585 PRPC_MESSAGE _pRpcMessage,
586 DWORD *_pdwStubPhase);
587
588
589/* [helpstring] */ HRESULT STDMETHODCALLTYPE _IDeviceEvents_OnKernelExit_Proxy(
590 _IDeviceEvents __RPC_FAR * This);
591
592
593void __RPC_STUB _IDeviceEvents_OnKernelExit_Stub(
594 IRpcStubBuffer *This,
595 IRpcChannelBuffer *_pRpcChannelBuffer,
596 PRPC_MESSAGE _pRpcMessage,
597 DWORD *_pdwStubPhase);
598
599
600
601#endif /* ___IDeviceEvents_INTERFACE_DEFINED__ */
602
603
604#ifndef __IKernel_INTERFACE_DEFINED__
605#define __IKernel_INTERFACE_DEFINED__
606
607/* interface IKernel */
608/* [unique][helpstring][uuid][object] */
609
610
611EXTERN_C const IID IID_IKernel;
612
613#if defined(__cplusplus) && !defined(CINTERFACE)
614
615 MIDL_INTERFACE("D3E42099-3FDD-4A78-BDBD-4E57D362F5ED")
616 IKernel : public IUnknown
617 {
618 public:
619 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Read(
620 /* [in] */ unsigned long address,
621 /* [in] */ unsigned long sz,
622 /* [length_is][size_is][out] */ byte __RPC_FAR data[ ]) = 0;
623
624 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE IsValid(
625 /* [out] */ BOOL __RPC_FAR *valid) = 0;
626
627 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE Write(
628 /* [in] */ unsigned long address,
629 /* [in] */ unsigned long sz,
630 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]) = 0;
631
632 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnLogEvent(
633 /* [in] */ long sz,
634 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]) = 0;
635
636 };
637
638#else /* C style interface */
639
640 typedef struct IKernelVtbl
641 {
642 BEGIN_INTERFACE
643
644 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
645 IKernel __RPC_FAR * This,
646 /* [in] */ REFIID riid,
647 /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
648
649 ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
650 IKernel __RPC_FAR * This);
651
652 ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
653 IKernel __RPC_FAR * This);
654
655 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Read )(
656 IKernel __RPC_FAR * This,
657 /* [in] */ unsigned long address,
658 /* [in] */ unsigned long sz,
659 /* [length_is][size_is][out] */ byte __RPC_FAR data[ ]);
660
661 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsValid )(
662 IKernel __RPC_FAR * This,
663 /* [out] */ BOOL __RPC_FAR *valid);
664
665 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Write )(
666 IKernel __RPC_FAR * This,
667 /* [in] */ unsigned long address,
668 /* [in] */ unsigned long sz,
669 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]);
670
671 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnLogEvent )(
672 IKernel __RPC_FAR * This,
673 /* [in] */ long sz,
674 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]);
675
676 END_INTERFACE
677 } IKernelVtbl;
678
679 interface IKernel
680 {
681 CONST_VTBL struct IKernelVtbl __RPC_FAR *lpVtbl;
682 };
683
684
685
686#ifdef COBJMACROS
687
688
689#define IKernel_QueryInterface(This,riid,ppvObject) \
690 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
691
692#define IKernel_AddRef(This) \
693 (This)->lpVtbl -> AddRef(This)
694
695#define IKernel_Release(This) \
696 (This)->lpVtbl -> Release(This)
697
698
699#define IKernel_Read(This,address,sz,data) \
700 (This)->lpVtbl -> Read(This,address,sz,data)
701
702#define IKernel_IsValid(This,valid) \
703 (This)->lpVtbl -> IsValid(This,valid)
704
705#define IKernel_Write(This,address,sz,data) \
706 (This)->lpVtbl -> Write(This,address,sz,data)
707
708#define IKernel_OnLogEvent(This,sz,data) \
709 (This)->lpVtbl -> OnLogEvent(This,sz,data)
710
711#endif /* COBJMACROS */
712
713
714#endif /* C style interface */
715
716
717
718/* [helpstring] */ HRESULT STDMETHODCALLTYPE IKernel_Read_Proxy(
719 IKernel __RPC_FAR * This,
720 /* [in] */ unsigned long address,
721 /* [in] */ unsigned long sz,
722 /* [length_is][size_is][out] */ byte __RPC_FAR data[ ]);
723
724
725void __RPC_STUB IKernel_Read_Stub(
726 IRpcStubBuffer *This,
727 IRpcChannelBuffer *_pRpcChannelBuffer,
728 PRPC_MESSAGE _pRpcMessage,
729 DWORD *_pdwStubPhase);
730
731
732/* [helpstring] */ HRESULT STDMETHODCALLTYPE IKernel_IsValid_Proxy(
733 IKernel __RPC_FAR * This,
734 /* [out] */ BOOL __RPC_FAR *valid);
735
736
737void __RPC_STUB IKernel_IsValid_Stub(
738 IRpcStubBuffer *This,
739 IRpcChannelBuffer *_pRpcChannelBuffer,
740 PRPC_MESSAGE _pRpcMessage,
741 DWORD *_pdwStubPhase);
742
743
744/* [helpstring] */ HRESULT STDMETHODCALLTYPE IKernel_Write_Proxy(
745 IKernel __RPC_FAR * This,
746 /* [in] */ unsigned long address,
747 /* [in] */ unsigned long sz,
748 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]);
749
750
751void __RPC_STUB IKernel_Write_Stub(
752 IRpcStubBuffer *This,
753 IRpcChannelBuffer *_pRpcChannelBuffer,
754 PRPC_MESSAGE _pRpcMessage,
755 DWORD *_pdwStubPhase);
756
757
758/* [helpstring] */ HRESULT STDMETHODCALLTYPE IKernel_OnLogEvent_Proxy(
759 IKernel __RPC_FAR * This,
760 /* [in] */ long sz,
761 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]);
762
763
764void __RPC_STUB IKernel_OnLogEvent_Stub(
765 IRpcStubBuffer *This,
766 IRpcChannelBuffer *_pRpcChannelBuffer,
767 PRPC_MESSAGE _pRpcMessage,
768 DWORD *_pdwStubPhase);
769
770
771
772#endif /* __IKernel_INTERFACE_DEFINED__ */
773
774
775#ifndef ___IKernelEvents_INTERFACE_DEFINED__
776#define ___IKernelEvents_INTERFACE_DEFINED__
777
778/* interface _IKernelEvents */
779/* [object][helpstring][uuid] */
780
781
782EXTERN_C const IID IID__IKernelEvents;
783
784#if defined(__cplusplus) && !defined(CINTERFACE)
785
786 MIDL_INTERFACE("1353969D-E84F-463F-B211-337E9BCFB99E")
787 _IKernelEvents : public IUnknown
788 {
789 public:
790 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnInterruptRequest(
791 /* [in] */ unsigned long inhno) = 0;
792
793 };
794
795#else /* C style interface */
796
797 typedef struct _IKernelEventsVtbl
798 {
799 BEGIN_INTERFACE
800
801 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
802 _IKernelEvents __RPC_FAR * This,
803 /* [in] */ REFIID riid,
804 /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
805
806 ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
807 _IKernelEvents __RPC_FAR * This);
808
809 ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
810 _IKernelEvents __RPC_FAR * This);
811
812 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInterruptRequest )(
813 _IKernelEvents __RPC_FAR * This,
814 /* [in] */ unsigned long inhno);
815
816 END_INTERFACE
817 } _IKernelEventsVtbl;
818
819 interface _IKernelEvents
820 {
821 CONST_VTBL struct _IKernelEventsVtbl __RPC_FAR *lpVtbl;
822 };
823
824
825
826#ifdef COBJMACROS
827
828
829#define _IKernelEvents_QueryInterface(This,riid,ppvObject) \
830 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
831
832#define _IKernelEvents_AddRef(This) \
833 (This)->lpVtbl -> AddRef(This)
834
835#define _IKernelEvents_Release(This) \
836 (This)->lpVtbl -> Release(This)
837
838
839#define _IKernelEvents_OnInterruptRequest(This,inhno) \
840 (This)->lpVtbl -> OnInterruptRequest(This,inhno)
841
842#endif /* COBJMACROS */
843
844
845#endif /* C style interface */
846
847
848
849/* [helpstring] */ HRESULT STDMETHODCALLTYPE _IKernelEvents_OnInterruptRequest_Proxy(
850 _IKernelEvents __RPC_FAR * This,
851 /* [in] */ unsigned long inhno);
852
853
854void __RPC_STUB _IKernelEvents_OnInterruptRequest_Stub(
855 IRpcStubBuffer *This,
856 IRpcChannelBuffer *_pRpcChannelBuffer,
857 PRPC_MESSAGE _pRpcMessage,
858 DWORD *_pdwStubPhase);
859
860
861
862#endif /* ___IKernelEvents_INTERFACE_DEFINED__ */
863
864
865#ifndef ___IInformationEvents_INTERFACE_DEFINED__
866#define ___IInformationEvents_INTERFACE_DEFINED__
867
868/* interface _IInformationEvents */
869/* [object][helpstring][uuid] */
870
871
872EXTERN_C const IID IID__IInformationEvents;
873
874#if defined(__cplusplus) && !defined(CINTERFACE)
875
876 MIDL_INTERFACE("11E125BE-FC60-4DC9-8393-DC393B556D06")
877 _IInformationEvents : public IUnknown
878 {
879 public:
880 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnDeviceChanged(
881 short reason,
882 long devid,
883 long extra) = 0;
884
885 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnKernelChanged(
886 short reason) = 0;
887
888 };
889
890#else /* C style interface */
891
892 typedef struct _IInformationEventsVtbl
893 {
894 BEGIN_INTERFACE
895
896 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
897 _IInformationEvents __RPC_FAR * This,
898 /* [in] */ REFIID riid,
899 /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
900
901 ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
902 _IInformationEvents __RPC_FAR * This);
903
904 ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
905 _IInformationEvents __RPC_FAR * This);
906
907 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnDeviceChanged )(
908 _IInformationEvents __RPC_FAR * This,
909 short reason,
910 long devid,
911 long extra);
912
913 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnKernelChanged )(
914 _IInformationEvents __RPC_FAR * This,
915 short reason);
916
917 END_INTERFACE
918 } _IInformationEventsVtbl;
919
920 interface _IInformationEvents
921 {
922 CONST_VTBL struct _IInformationEventsVtbl __RPC_FAR *lpVtbl;
923 };
924
925
926
927#ifdef COBJMACROS
928
929
930#define _IInformationEvents_QueryInterface(This,riid,ppvObject) \
931 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
932
933#define _IInformationEvents_AddRef(This) \
934 (This)->lpVtbl -> AddRef(This)
935
936#define _IInformationEvents_Release(This) \
937 (This)->lpVtbl -> Release(This)
938
939
940#define _IInformationEvents_OnDeviceChanged(This,reason,devid,extra) \
941 (This)->lpVtbl -> OnDeviceChanged(This,reason,devid,extra)
942
943#define _IInformationEvents_OnKernelChanged(This,reason) \
944 (This)->lpVtbl -> OnKernelChanged(This,reason)
945
946#endif /* COBJMACROS */
947
948
949#endif /* C style interface */
950
951
952
953/* [helpstring] */ HRESULT STDMETHODCALLTYPE _IInformationEvents_OnDeviceChanged_Proxy(
954 _IInformationEvents __RPC_FAR * This,
955 short reason,
956 long devid,
957 long extra);
958
959
960void __RPC_STUB _IInformationEvents_OnDeviceChanged_Stub(
961 IRpcStubBuffer *This,
962 IRpcChannelBuffer *_pRpcChannelBuffer,
963 PRPC_MESSAGE _pRpcMessage,
964 DWORD *_pdwStubPhase);
965
966
967/* [helpstring] */ HRESULT STDMETHODCALLTYPE _IInformationEvents_OnKernelChanged_Proxy(
968 _IInformationEvents __RPC_FAR * This,
969 short reason);
970
971
972void __RPC_STUB _IInformationEvents_OnKernelChanged_Stub(
973 IRpcStubBuffer *This,
974 IRpcChannelBuffer *_pRpcChannelBuffer,
975 PRPC_MESSAGE _pRpcMessage,
976 DWORD *_pdwStubPhase);
977
978
979
980#endif /* ___IInformationEvents_INTERFACE_DEFINED__ */
981
982
983#ifndef __IKernelLog_INTERFACE_DEFINED__
984#define __IKernelLog_INTERFACE_DEFINED__
985
986/* interface IKernelLog */
987/* [unique][helpstring][uuid][object] */
988
989
990EXTERN_C const IID IID_IKernelLog;
991
992#if defined(__cplusplus) && !defined(CINTERFACE)
993
994 MIDL_INTERFACE("395F900A-AC7E-4A78-9BC1-EE5EF76254FF")
995 IKernelLog : public IUnknown
996 {
997 public:
998 };
999
1000#else /* C style interface */
1001
1002 typedef struct IKernelLogVtbl
1003 {
1004 BEGIN_INTERFACE
1005
1006 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
1007 IKernelLog __RPC_FAR * This,
1008 /* [in] */ REFIID riid,
1009 /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
1010
1011 ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
1012 IKernelLog __RPC_FAR * This);
1013
1014 ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
1015 IKernelLog __RPC_FAR * This);
1016
1017 END_INTERFACE
1018 } IKernelLogVtbl;
1019
1020 interface IKernelLog
1021 {
1022 CONST_VTBL struct IKernelLogVtbl __RPC_FAR *lpVtbl;
1023 };
1024
1025
1026
1027#ifdef COBJMACROS
1028
1029
1030#define IKernelLog_QueryInterface(This,riid,ppvObject) \
1031 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
1032
1033#define IKernelLog_AddRef(This) \
1034 (This)->lpVtbl -> AddRef(This)
1035
1036#define IKernelLog_Release(This) \
1037 (This)->lpVtbl -> Release(This)
1038
1039
1040#endif /* COBJMACROS */
1041
1042
1043#endif /* C style interface */
1044
1045
1046
1047
1048#endif /* __IKernelLog_INTERFACE_DEFINED__ */
1049
1050
1051#ifndef ___IKernelLogEvents_INTERFACE_DEFINED__
1052#define ___IKernelLogEvents_INTERFACE_DEFINED__
1053
1054/* interface _IKernelLogEvents */
1055/* [object][helpstring][uuid] */
1056
1057
1058EXTERN_C const IID IID__IKernelLogEvents;
1059
1060#if defined(__cplusplus) && !defined(CINTERFACE)
1061
1062 MIDL_INTERFACE("35E35399-55ED-45FC-8F0B-4A1BC6CEA3F0")
1063 _IKernelLogEvents : public IUnknown
1064 {
1065 public:
1066 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnKernelStart( void) = 0;
1067
1068 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnKernelExit( void) = 0;
1069
1070 virtual /* [helpstring] */ HRESULT STDMETHODCALLTYPE OnLogEvent(
1071 /* [in] */ long sz,
1072 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]) = 0;
1073
1074 };
1075
1076#else /* C style interface */
1077
1078 typedef struct _IKernelLogEventsVtbl
1079 {
1080 BEGIN_INTERFACE
1081
1082 HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
1083 _IKernelLogEvents __RPC_FAR * This,
1084 /* [in] */ REFIID riid,
1085 /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
1086
1087 ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
1088 _IKernelLogEvents __RPC_FAR * This);
1089
1090 ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
1091 _IKernelLogEvents __RPC_FAR * This);
1092
1093 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnKernelStart )(
1094 _IKernelLogEvents __RPC_FAR * This);
1095
1096 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnKernelExit )(
1097 _IKernelLogEvents __RPC_FAR * This);
1098
1099 /* [helpstring] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnLogEvent )(
1100 _IKernelLogEvents __RPC_FAR * This,
1101 /* [in] */ long sz,
1102 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]);
1103
1104 END_INTERFACE
1105 } _IKernelLogEventsVtbl;
1106
1107 interface _IKernelLogEvents
1108 {
1109 CONST_VTBL struct _IKernelLogEventsVtbl __RPC_FAR *lpVtbl;
1110 };
1111
1112
1113
1114#ifdef COBJMACROS
1115
1116
1117#define _IKernelLogEvents_QueryInterface(This,riid,ppvObject) \
1118 (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
1119
1120#define _IKernelLogEvents_AddRef(This) \
1121 (This)->lpVtbl -> AddRef(This)
1122
1123#define _IKernelLogEvents_Release(This) \
1124 (This)->lpVtbl -> Release(This)
1125
1126
1127#define _IKernelLogEvents_OnKernelStart(This) \
1128 (This)->lpVtbl -> OnKernelStart(This)
1129
1130#define _IKernelLogEvents_OnKernelExit(This) \
1131 (This)->lpVtbl -> OnKernelExit(This)
1132
1133#define _IKernelLogEvents_OnLogEvent(This,sz,data) \
1134 (This)->lpVtbl -> OnLogEvent(This,sz,data)
1135
1136#endif /* COBJMACROS */
1137
1138
1139#endif /* C style interface */
1140
1141
1142
1143/* [helpstring] */ HRESULT STDMETHODCALLTYPE _IKernelLogEvents_OnKernelStart_Proxy(
1144 _IKernelLogEvents __RPC_FAR * This);
1145
1146
1147void __RPC_STUB _IKernelLogEvents_OnKernelStart_Stub(
1148 IRpcStubBuffer *This,
1149 IRpcChannelBuffer *_pRpcChannelBuffer,
1150 PRPC_MESSAGE _pRpcMessage,
1151 DWORD *_pdwStubPhase);
1152
1153
1154/* [helpstring] */ HRESULT STDMETHODCALLTYPE _IKernelLogEvents_OnKernelExit_Proxy(
1155 _IKernelLogEvents __RPC_FAR * This);
1156
1157
1158void __RPC_STUB _IKernelLogEvents_OnKernelExit_Stub(
1159 IRpcStubBuffer *This,
1160 IRpcChannelBuffer *_pRpcChannelBuffer,
1161 PRPC_MESSAGE _pRpcMessage,
1162 DWORD *_pdwStubPhase);
1163
1164
1165/* [helpstring] */ HRESULT STDMETHODCALLTYPE _IKernelLogEvents_OnLogEvent_Proxy(
1166 _IKernelLogEvents __RPC_FAR * This,
1167 /* [in] */ long sz,
1168 /* [length_is][size_is][in] */ byte __RPC_FAR data[ ]);
1169
1170
1171void __RPC_STUB _IKernelLogEvents_OnLogEvent_Stub(
1172 IRpcStubBuffer *This,
1173 IRpcChannelBuffer *_pRpcChannelBuffer,
1174 PRPC_MESSAGE _pRpcMessage,
1175 DWORD *_pdwStubPhase);
1176
1177
1178
1179#endif /* ___IKernelLogEvents_INTERFACE_DEFINED__ */
1180
1181
1182
1183#ifndef __ATLDEVICEMANAGERLib_LIBRARY_DEFINED__
1184#define __ATLDEVICEMANAGERLib_LIBRARY_DEFINED__
1185
1186/* library ATLDEVICEMANAGERLib */
1187/* [helpstring][version][uuid] */
1188
1189
1190EXTERN_C const IID LIBID_ATLDEVICEMANAGERLib;
1191
1192EXTERN_C const CLSID CLSID_Device;
1193
1194#ifdef __cplusplus
1195
1196class DECLSPEC_UUID("FEE2A68B-7F98-40E0-9853-183EE68BC7F8")
1197Device;
1198#endif
1199
1200EXTERN_C const CLSID CLSID_Information;
1201
1202#ifdef __cplusplus
1203
1204class DECLSPEC_UUID("D7AAF617-008A-4961-BB51-041CFD490ED3")
1205Information;
1206#endif
1207
1208EXTERN_C const CLSID CLSID_Kernel;
1209
1210#ifdef __cplusplus
1211
1212class DECLSPEC_UUID("51789667-9F20-40AF-AF7F-9856325DFB0B")
1213Kernel;
1214#endif
1215
1216EXTERN_C const CLSID CLSID_KernelLog;
1217
1218#ifdef __cplusplus
1219
1220class DECLSPEC_UUID("4BD327FC-9E4A-4A5D-9503-27C979A8E802")
1221KernelLog;
1222#endif
1223#endif /* __ATLDEVICEMANAGERLib_LIBRARY_DEFINED__ */
1224
1225/* Additional Prototypes for ALL interfaces */
1226
1227unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
1228unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
1229unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
1230void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
1231
1232/* end of Additional Prototypes */
1233
1234#ifdef __cplusplus
1235}
1236#endif
1237
1238#endif
Note: See TracBrowser for help on using the repository browser.