summaryrefslogtreecommitdiffstats
path: root/public/sdk/inc/srvhdl.h
blob: d135fb24d5e5af3f14a420eeb33e4b97981c7e6f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
/* this ALWAYS GENERATED file contains the definitions for the interfaces */


/* File created by MIDL compiler version 3.00.44 */
/* at Fri Nov 15 09:36:20 1996
 */
/* Compiler settings for srvhdl.idl:
    Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
    error checks: none
*/
//@@MIDL_FILE_HEADING(  )
#include "rpc.h"
#include "rpcndr.h"
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __srvhdl_h__
#define __srvhdl_h__

#ifdef __cplusplus
extern "C"{
#endif 

/* Forward Declarations */ 

#ifndef __IServerHandler_FWD_DEFINED__
#define __IServerHandler_FWD_DEFINED__
typedef interface IServerHandler IServerHandler;
#endif 	/* __IServerHandler_FWD_DEFINED__ */


#ifndef __IClientSiteHandler_FWD_DEFINED__
#define __IClientSiteHandler_FWD_DEFINED__
typedef interface IClientSiteHandler IClientSiteHandler;
#endif 	/* __IClientSiteHandler_FWD_DEFINED__ */


/* header files for imported files */
#include "oleidl.h"

void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
void __RPC_USER MIDL_user_free( void __RPC_FAR * ); 

#ifndef __IServerHandler_INTERFACE_DEFINED__
#define __IServerHandler_INTERFACE_DEFINED__

/****************************************
 * Generated header for interface: IServerHandler
 * at Fri Nov 15 09:36:20 1996
 * using MIDL 3.00.44
 ****************************************/
/* [unique][uuid][object] */ 


//+-------------------------------------------------------------------------
//
//  Microsoft Windows
//  Copyright (C) Microsoft Corporation, 1992 - 1995.
//
//--------------------------------------------------------------------------
typedef /* [unique] */ IServerHandler __RPC_FAR *LPSERVERHANDLER;

typedef struct  tagInSrvRun
    {
    DWORD dwOperation;
    IMoniker __RPC_FAR *pMnk;
    IOleContainer __RPC_FAR *pOCont;
    IStorage __RPC_FAR *pStg;
    LONG iVerb;
    LPMSG lpmsg;
    LONG lindex;
    HWND hwndParent;
    RECT __RPC_FAR *lprcPosRect;
    DWORD dwInPlace;
    DWORD dwInFlags;
    DWORD dwInOptions;
    LPOLESTR pszContainerApp;
    LPOLESTR pszContainerObj;
    IAdviseSink __RPC_FAR *pAS;
    DWORD dwConnOle;
    CLSID __RPC_FAR *pContClassID;
    }	INSRVRUN;

typedef struct tagInSrvRun __RPC_FAR *PINSRVRUN;

typedef struct  tagOutSrvRunInit
    {
    DWORD dwOperation;
    IOleObject __RPC_FAR *pOO;
    IDataObject __RPC_FAR *pDO;
    IPersistStorage __RPC_FAR *pPStg;
    HRESULT hrSetHostNames;
    HRESULT hrPStg;
    HRESULT hrAdvise;
    DWORD dwConnOle;
    CLSID __RPC_FAR *pUserClassID;
    DWORD dwOutFlag;
    DWORD dwOutOptions;
    }	OUTSRVRUN;

typedef struct tagOutSrvRunInit __RPC_FAR *POUTSRVRUN;

typedef struct  tagSrvRunDoVerb
    {
    IUnknown __RPC_FAR *pUnk;
    }	SRVRUNDOVERB;

typedef struct tagSrvRunDoVerb __RPC_FAR *PSRVRUNDOVERB;

typedef struct  tagSrvDoVerb
    {
    IUnknown __RPC_FAR *pUnk;
    }	SRVDOVERB;

typedef struct tagSrvDoVerb __RPC_FAR *PSRVDOVERB;


EXTERN_C const IID IID_IServerHandler;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    interface IServerHandler : public IUnknown
    {
    public:
        virtual HRESULT STDMETHODCALLTYPE RunAndInitialize( 
            /* [in] */ INSRVRUN __RPC_FAR *pInSrvRun,
            /* [out] */ OUTSRVRUN __RPC_FAR *__RPC_FAR *pOutSrvRun) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE RunAndDoVerb( 
            /* [in] */ INSRVRUN __RPC_FAR *pInSrvRun,
            /* [out] */ OUTSRVRUN __RPC_FAR *__RPC_FAR *pOutSrvRun) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE DoVerb( 
            /* [in] */ INSRVRUN __RPC_FAR *pInSrvRun,
            /* [out] */ OUTSRVRUN __RPC_FAR *__RPC_FAR *pOutSrvRun) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE CloseAndRelease( 
            /* [in] */ DWORD dwClose) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IServerHandlerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IServerHandler __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IServerHandler __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IServerHandler __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RunAndInitialize )( 
            IServerHandler __RPC_FAR * This,
            /* [in] */ INSRVRUN __RPC_FAR *pInSrvRun,
            /* [out] */ OUTSRVRUN __RPC_FAR *__RPC_FAR *pOutSrvRun);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RunAndDoVerb )( 
            IServerHandler __RPC_FAR * This,
            /* [in] */ INSRVRUN __RPC_FAR *pInSrvRun,
            /* [out] */ OUTSRVRUN __RPC_FAR *__RPC_FAR *pOutSrvRun);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DoVerb )( 
            IServerHandler __RPC_FAR * This,
            /* [in] */ INSRVRUN __RPC_FAR *pInSrvRun,
            /* [out] */ OUTSRVRUN __RPC_FAR *__RPC_FAR *pOutSrvRun);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CloseAndRelease )( 
            IServerHandler __RPC_FAR * This,
            /* [in] */ DWORD dwClose);
        
        END_INTERFACE
    } IServerHandlerVtbl;

    interface IServerHandler
    {
        CONST_VTBL struct IServerHandlerVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IServerHandler_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IServerHandler_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IServerHandler_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IServerHandler_RunAndInitialize(This,pInSrvRun,pOutSrvRun)	\
    (This)->lpVtbl -> RunAndInitialize(This,pInSrvRun,pOutSrvRun)

#define IServerHandler_RunAndDoVerb(This,pInSrvRun,pOutSrvRun)	\
    (This)->lpVtbl -> RunAndDoVerb(This,pInSrvRun,pOutSrvRun)

#define IServerHandler_DoVerb(This,pInSrvRun,pOutSrvRun)	\
    (This)->lpVtbl -> DoVerb(This,pInSrvRun,pOutSrvRun)

#define IServerHandler_CloseAndRelease(This,dwClose)	\
    (This)->lpVtbl -> CloseAndRelease(This,dwClose)

#endif /* COBJMACROS */


#endif 	/* C style interface */



HRESULT STDMETHODCALLTYPE IServerHandler_RunAndInitialize_Proxy( 
    IServerHandler __RPC_FAR * This,
    /* [in] */ INSRVRUN __RPC_FAR *pInSrvRun,
    /* [out] */ OUTSRVRUN __RPC_FAR *__RPC_FAR *pOutSrvRun);


void __RPC_STUB IServerHandler_RunAndInitialize_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IServerHandler_RunAndDoVerb_Proxy( 
    IServerHandler __RPC_FAR * This,
    /* [in] */ INSRVRUN __RPC_FAR *pInSrvRun,
    /* [out] */ OUTSRVRUN __RPC_FAR *__RPC_FAR *pOutSrvRun);


void __RPC_STUB IServerHandler_RunAndDoVerb_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IServerHandler_DoVerb_Proxy( 
    IServerHandler __RPC_FAR * This,
    /* [in] */ INSRVRUN __RPC_FAR *pInSrvRun,
    /* [out] */ OUTSRVRUN __RPC_FAR *__RPC_FAR *pOutSrvRun);


void __RPC_STUB IServerHandler_DoVerb_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IServerHandler_CloseAndRelease_Proxy( 
    IServerHandler __RPC_FAR * This,
    /* [in] */ DWORD dwClose);


void __RPC_STUB IServerHandler_CloseAndRelease_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IServerHandler_INTERFACE_DEFINED__ */


#ifndef __IClientSiteHandler_INTERFACE_DEFINED__
#define __IClientSiteHandler_INTERFACE_DEFINED__

/****************************************
 * Generated header for interface: IClientSiteHandler
 * at Fri Nov 15 09:36:20 1996
 * using MIDL 3.00.44
 ****************************************/
/* [unique][uuid][object] */ 


//+-------------------------------------------------------------------------
//
//  Microsoft Windows
//  Copyright (C) Microsoft Corporation, 1992 - 1995.
//
//--------------------------------------------------------------------------
typedef /* [unique] */ IClientSiteHandler __RPC_FAR *LPCLIENTSITEHANDLER;

typedef struct  tagInSrvInPlace
    {
    DWORD dwOperation;
    DWORD dwDelegateID;
    DWORD dwInFlags;
    DWORD dwInOptions;
    DWORD dwDrawAspect;
    SIZEL sizel;
    IOleInPlaceObject __RPC_FAR *pOIPObj;
    }	INSRVINPLACE;

typedef struct tagInSrvInPlace __RPC_FAR *PINSRVINPLACE;

typedef struct  tagOutSrvInPlace
    {
    DWORD dwOperation;
    DWORD dwOutFlags;
    DWORD dwOutOptions;
    HWND hwnd;
    IOleInPlaceFrame __RPC_FAR *pOIPFrame;
    IOleInPlaceUIWindow __RPC_FAR *pOIPUIWnd;
    LPRECT lprcPosRect;
    LPRECT lprcClipRect;
    LPOLEINPLACEFRAMEINFO lpFrameInfo;
    RECT rcPosRect;
    RECT rcClipRect;
    OLEINPLACEFRAMEINFO FrameInfo;
    HMENU hmenuShared;
    OLEMENUGROUPWIDTHS MenuWidths;
    LPOLESTR pszStatusText;
    DWORD dwDrawAspect;
    SIZEL sizel;
    }	OUTSRVINPLACE;

typedef struct tagOutSrvInPlace __RPC_FAR *POUTSRVINPLACE;


EXTERN_C const IID IID_IClientSiteHandler;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    interface IClientSiteHandler : public IUnknown
    {
    public:
        virtual /* [local] */ HRESULT __stdcall PrivQueryInterface( 
            /* [in] */ DWORD dwId,
            /* [in] */ REFIID riidResult,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvResult) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE PrivAddRef( 
            /* [in] */ DWORD dwId) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE PrivRelease( 
            /* [in] */ DWORD dwId) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE SaveObject( 
            /* [in] */ DWORD dwId) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE GetMoniker( 
            /* [in] */ DWORD dwId,
            /* [in] */ DWORD dwAssign,
            /* [in] */ DWORD dwWhichMoniker,
            /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE GetContainer( 
            /* [in] */ DWORD dwId,
            /* [out] */ IOleContainer __RPC_FAR *__RPC_FAR *ppContainer) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE ShowObject( 
            /* [in] */ DWORD dwId) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE OnShowWindow( 
            /* [in] */ DWORD dwId,
            /* [in] */ BOOL fShow) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE RequestNewObjectLayout( 
            /* [in] */ DWORD dwId) = 0;
        
        virtual /* [input_sync] */ HRESULT STDMETHODCALLTYPE GetWindow( 
            /* [out] */ HWND __RPC_FAR *phwnd) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE ContextSensitiveHelp( 
            /* [in] */ BOOL fEnterMode) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE CanInPlaceActivate( void) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE OnInPlaceActivate( void) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE OnUIActivate( void) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE GetWindowContext( 
            /* [out] */ IOleInPlaceFrame __RPC_FAR *__RPC_FAR *ppFrame,
            /* [out] */ IOleInPlaceUIWindow __RPC_FAR *__RPC_FAR *ppDoc,
            /* [out] */ LPRECT lprcPosRect,
            /* [out] */ LPRECT lprcClipRect,
            /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE Scroll( 
            /* [in] */ SIZE scrollExtant) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE OnUIDeactivate( 
            /* [in] */ BOOL fUndoable) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE OnInPlaceDeactivate( void) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE DiscardUndoState( void) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE DeactivateAndUndo( void) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE OnPosRectChange( 
            /* [in] */ LPCRECT lprcPosRect) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE GoInPlaceActivate( 
            /* [in] */ INSRVINPLACE __RPC_FAR *pInSrvInPlace,
            /* [out] */ OUTSRVINPLACE __RPC_FAR *__RPC_FAR *pOutSrvInPlace) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE GoInPlace( 
            /* [in] */ INSRVINPLACE __RPC_FAR *pInSrvInPlace,
            /* [out] */ OUTSRVINPLACE __RPC_FAR *__RPC_FAR *pOutSrvInPlace) = 0;
        
        virtual HRESULT STDMETHODCALLTYPE UndoPlace( 
            /* [in] */ INSRVINPLACE __RPC_FAR *pInSrvInPlace,
            /* [out] */ OUTSRVINPLACE __RPC_FAR *__RPC_FAR *pOutSrvInPlace) = 0;
        
    };
    
#else 	/* C style interface */

    typedef struct IClientSiteHandlerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ REFIID riid,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )( 
            IClientSiteHandler __RPC_FAR * This);
        
        ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )( 
            IClientSiteHandler __RPC_FAR * This);
        
        /* [local] */ HRESULT ( __stdcall __RPC_FAR *PrivQueryInterface )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ DWORD dwId,
            /* [in] */ REFIID riidResult,
            /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvResult);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PrivAddRef )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ DWORD dwId);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *PrivRelease )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ DWORD dwId);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SaveObject )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ DWORD dwId);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetMoniker )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ DWORD dwId,
            /* [in] */ DWORD dwAssign,
            /* [in] */ DWORD dwWhichMoniker,
            /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetContainer )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ DWORD dwId,
            /* [out] */ IOleContainer __RPC_FAR *__RPC_FAR *ppContainer);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ShowObject )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ DWORD dwId);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnShowWindow )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ DWORD dwId,
            /* [in] */ BOOL fShow);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RequestNewObjectLayout )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ DWORD dwId);
        
        /* [input_sync] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindow )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [out] */ HWND __RPC_FAR *phwnd);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ContextSensitiveHelp )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ BOOL fEnterMode);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanInPlaceActivate )( 
            IClientSiteHandler __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInPlaceActivate )( 
            IClientSiteHandler __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnUIActivate )( 
            IClientSiteHandler __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindowContext )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [out] */ IOleInPlaceFrame __RPC_FAR *__RPC_FAR *ppFrame,
            /* [out] */ IOleInPlaceUIWindow __RPC_FAR *__RPC_FAR *ppDoc,
            /* [out] */ LPRECT lprcPosRect,
            /* [out] */ LPRECT lprcClipRect,
            /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Scroll )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ SIZE scrollExtant);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnUIDeactivate )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ BOOL fUndoable);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnInPlaceDeactivate )( 
            IClientSiteHandler __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DiscardUndoState )( 
            IClientSiteHandler __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeactivateAndUndo )( 
            IClientSiteHandler __RPC_FAR * This);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *OnPosRectChange )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ LPCRECT lprcPosRect);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GoInPlaceActivate )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ INSRVINPLACE __RPC_FAR *pInSrvInPlace,
            /* [out] */ OUTSRVINPLACE __RPC_FAR *__RPC_FAR *pOutSrvInPlace);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GoInPlace )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ INSRVINPLACE __RPC_FAR *pInSrvInPlace,
            /* [out] */ OUTSRVINPLACE __RPC_FAR *__RPC_FAR *pOutSrvInPlace);
        
        HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UndoPlace )( 
            IClientSiteHandler __RPC_FAR * This,
            /* [in] */ INSRVINPLACE __RPC_FAR *pInSrvInPlace,
            /* [out] */ OUTSRVINPLACE __RPC_FAR *__RPC_FAR *pOutSrvInPlace);
        
        END_INTERFACE
    } IClientSiteHandlerVtbl;

    interface IClientSiteHandler
    {
        CONST_VTBL struct IClientSiteHandlerVtbl __RPC_FAR *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IClientSiteHandler_QueryInterface(This,riid,ppvObject)	\
    (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)

#define IClientSiteHandler_AddRef(This)	\
    (This)->lpVtbl -> AddRef(This)

#define IClientSiteHandler_Release(This)	\
    (This)->lpVtbl -> Release(This)


#define IClientSiteHandler_PrivQueryInterface(This,dwId,riidResult,ppvResult)	\
    (This)->lpVtbl -> PrivQueryInterface(This,dwId,riidResult,ppvResult)

#define IClientSiteHandler_PrivAddRef(This,dwId)	\
    (This)->lpVtbl -> PrivAddRef(This,dwId)

#define IClientSiteHandler_PrivRelease(This,dwId)	\
    (This)->lpVtbl -> PrivRelease(This,dwId)

#define IClientSiteHandler_SaveObject(This,dwId)	\
    (This)->lpVtbl -> SaveObject(This,dwId)

#define IClientSiteHandler_GetMoniker(This,dwId,dwAssign,dwWhichMoniker,ppmk)	\
    (This)->lpVtbl -> GetMoniker(This,dwId,dwAssign,dwWhichMoniker,ppmk)

#define IClientSiteHandler_GetContainer(This,dwId,ppContainer)	\
    (This)->lpVtbl -> GetContainer(This,dwId,ppContainer)

#define IClientSiteHandler_ShowObject(This,dwId)	\
    (This)->lpVtbl -> ShowObject(This,dwId)

#define IClientSiteHandler_OnShowWindow(This,dwId,fShow)	\
    (This)->lpVtbl -> OnShowWindow(This,dwId,fShow)

#define IClientSiteHandler_RequestNewObjectLayout(This,dwId)	\
    (This)->lpVtbl -> RequestNewObjectLayout(This,dwId)

#define IClientSiteHandler_GetWindow(This,phwnd)	\
    (This)->lpVtbl -> GetWindow(This,phwnd)

#define IClientSiteHandler_ContextSensitiveHelp(This,fEnterMode)	\
    (This)->lpVtbl -> ContextSensitiveHelp(This,fEnterMode)

#define IClientSiteHandler_CanInPlaceActivate(This)	\
    (This)->lpVtbl -> CanInPlaceActivate(This)

#define IClientSiteHandler_OnInPlaceActivate(This)	\
    (This)->lpVtbl -> OnInPlaceActivate(This)

#define IClientSiteHandler_OnUIActivate(This)	\
    (This)->lpVtbl -> OnUIActivate(This)

#define IClientSiteHandler_GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)	\
    (This)->lpVtbl -> GetWindowContext(This,ppFrame,ppDoc,lprcPosRect,lprcClipRect,lpFrameInfo)

#define IClientSiteHandler_Scroll(This,scrollExtant)	\
    (This)->lpVtbl -> Scroll(This,scrollExtant)

#define IClientSiteHandler_OnUIDeactivate(This,fUndoable)	\
    (This)->lpVtbl -> OnUIDeactivate(This,fUndoable)

#define IClientSiteHandler_OnInPlaceDeactivate(This)	\
    (This)->lpVtbl -> OnInPlaceDeactivate(This)

#define IClientSiteHandler_DiscardUndoState(This)	\
    (This)->lpVtbl -> DiscardUndoState(This)

#define IClientSiteHandler_DeactivateAndUndo(This)	\
    (This)->lpVtbl -> DeactivateAndUndo(This)

#define IClientSiteHandler_OnPosRectChange(This,lprcPosRect)	\
    (This)->lpVtbl -> OnPosRectChange(This,lprcPosRect)

#define IClientSiteHandler_GoInPlaceActivate(This,pInSrvInPlace,pOutSrvInPlace)	\
    (This)->lpVtbl -> GoInPlaceActivate(This,pInSrvInPlace,pOutSrvInPlace)

#define IClientSiteHandler_GoInPlace(This,pInSrvInPlace,pOutSrvInPlace)	\
    (This)->lpVtbl -> GoInPlace(This,pInSrvInPlace,pOutSrvInPlace)

#define IClientSiteHandler_UndoPlace(This,pInSrvInPlace,pOutSrvInPlace)	\
    (This)->lpVtbl -> UndoPlace(This,pInSrvInPlace,pOutSrvInPlace)

#endif /* COBJMACROS */


#endif 	/* C style interface */



/* [call_as] */ HRESULT __stdcall IClientSiteHandler_RemotePrivQueryInterface_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ DWORD dwId,
    /* [in] */ REFIID riidResult,
    /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvResult);


void __RPC_STUB IClientSiteHandler_RemotePrivQueryInterface_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_PrivAddRef_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ DWORD dwId);


void __RPC_STUB IClientSiteHandler_PrivAddRef_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_PrivRelease_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ DWORD dwId);


void __RPC_STUB IClientSiteHandler_PrivRelease_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_SaveObject_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ DWORD dwId);


void __RPC_STUB IClientSiteHandler_SaveObject_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_GetMoniker_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ DWORD dwId,
    /* [in] */ DWORD dwAssign,
    /* [in] */ DWORD dwWhichMoniker,
    /* [out] */ IMoniker __RPC_FAR *__RPC_FAR *ppmk);


void __RPC_STUB IClientSiteHandler_GetMoniker_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_GetContainer_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ DWORD dwId,
    /* [out] */ IOleContainer __RPC_FAR *__RPC_FAR *ppContainer);


void __RPC_STUB IClientSiteHandler_GetContainer_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_ShowObject_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ DWORD dwId);


void __RPC_STUB IClientSiteHandler_ShowObject_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_OnShowWindow_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ DWORD dwId,
    /* [in] */ BOOL fShow);


void __RPC_STUB IClientSiteHandler_OnShowWindow_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_RequestNewObjectLayout_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ DWORD dwId);


void __RPC_STUB IClientSiteHandler_RequestNewObjectLayout_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


/* [input_sync] */ HRESULT STDMETHODCALLTYPE IClientSiteHandler_GetWindow_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [out] */ HWND __RPC_FAR *phwnd);


void __RPC_STUB IClientSiteHandler_GetWindow_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_ContextSensitiveHelp_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ BOOL fEnterMode);


void __RPC_STUB IClientSiteHandler_ContextSensitiveHelp_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_CanInPlaceActivate_Proxy( 
    IClientSiteHandler __RPC_FAR * This);


void __RPC_STUB IClientSiteHandler_CanInPlaceActivate_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_OnInPlaceActivate_Proxy( 
    IClientSiteHandler __RPC_FAR * This);


void __RPC_STUB IClientSiteHandler_OnInPlaceActivate_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_OnUIActivate_Proxy( 
    IClientSiteHandler __RPC_FAR * This);


void __RPC_STUB IClientSiteHandler_OnUIActivate_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_GetWindowContext_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [out] */ IOleInPlaceFrame __RPC_FAR *__RPC_FAR *ppFrame,
    /* [out] */ IOleInPlaceUIWindow __RPC_FAR *__RPC_FAR *ppDoc,
    /* [out] */ LPRECT lprcPosRect,
    /* [out] */ LPRECT lprcClipRect,
    /* [out][in] */ LPOLEINPLACEFRAMEINFO lpFrameInfo);


void __RPC_STUB IClientSiteHandler_GetWindowContext_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_Scroll_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ SIZE scrollExtant);


void __RPC_STUB IClientSiteHandler_Scroll_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_OnUIDeactivate_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ BOOL fUndoable);


void __RPC_STUB IClientSiteHandler_OnUIDeactivate_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_OnInPlaceDeactivate_Proxy( 
    IClientSiteHandler __RPC_FAR * This);


void __RPC_STUB IClientSiteHandler_OnInPlaceDeactivate_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_DiscardUndoState_Proxy( 
    IClientSiteHandler __RPC_FAR * This);


void __RPC_STUB IClientSiteHandler_DiscardUndoState_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_DeactivateAndUndo_Proxy( 
    IClientSiteHandler __RPC_FAR * This);


void __RPC_STUB IClientSiteHandler_DeactivateAndUndo_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_OnPosRectChange_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ LPCRECT lprcPosRect);


void __RPC_STUB IClientSiteHandler_OnPosRectChange_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_GoInPlaceActivate_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ INSRVINPLACE __RPC_FAR *pInSrvInPlace,
    /* [out] */ OUTSRVINPLACE __RPC_FAR *__RPC_FAR *pOutSrvInPlace);


void __RPC_STUB IClientSiteHandler_GoInPlaceActivate_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_GoInPlace_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ INSRVINPLACE __RPC_FAR *pInSrvInPlace,
    /* [out] */ OUTSRVINPLACE __RPC_FAR *__RPC_FAR *pOutSrvInPlace);


void __RPC_STUB IClientSiteHandler_GoInPlace_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);


HRESULT STDMETHODCALLTYPE IClientSiteHandler_UndoPlace_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ INSRVINPLACE __RPC_FAR *pInSrvInPlace,
    /* [out] */ OUTSRVINPLACE __RPC_FAR *__RPC_FAR *pOutSrvInPlace);


void __RPC_STUB IClientSiteHandler_UndoPlace_Stub(
    IRpcStubBuffer *This,
    IRpcChannelBuffer *_pRpcChannelBuffer,
    PRPC_MESSAGE _pRpcMessage,
    DWORD *_pdwStubPhase);



#endif 	/* __IClientSiteHandler_INTERFACE_DEFINED__ */


/* Additional Prototypes for ALL interfaces */

unsigned long             __RPC_USER  HACCEL_UserSize(     unsigned long __RPC_FAR *, unsigned long            , HACCEL __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  HACCEL_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HACCEL __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  HACCEL_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HACCEL __RPC_FAR * ); 
void                      __RPC_USER  HACCEL_UserFree(     unsigned long __RPC_FAR *, HACCEL __RPC_FAR * ); 

unsigned long             __RPC_USER  HMENU_UserSize(     unsigned long __RPC_FAR *, unsigned long            , HMENU __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  HMENU_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HMENU __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  HMENU_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HMENU __RPC_FAR * ); 
void                      __RPC_USER  HMENU_UserFree(     unsigned long __RPC_FAR *, HMENU __RPC_FAR * ); 

unsigned long             __RPC_USER  HWND_UserSize(     unsigned long __RPC_FAR *, unsigned long            , HWND __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  HWND_UserMarshal(  unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * ); 
unsigned char __RPC_FAR * __RPC_USER  HWND_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * ); 
void                      __RPC_USER  HWND_UserFree(     unsigned long __RPC_FAR *, HWND __RPC_FAR * ); 

/* [local] */ HRESULT __stdcall IClientSiteHandler_PrivQueryInterface_Proxy( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ DWORD dwId,
    /* [in] */ REFIID riidResult,
    /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvResult);


/* [call_as] */ HRESULT __stdcall IClientSiteHandler_PrivQueryInterface_Stub( 
    IClientSiteHandler __RPC_FAR * This,
    /* [in] */ DWORD dwId,
    /* [in] */ REFIID riidResult,
    /* [iid_is][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppvResult);



/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif