1 //-----------------------------------------------------------------------------
2 // Copyright (c) Microsoft Corporation.  All rights reserved.
3 //-----------------------------------------------------------------------------
4 //=--------------------------------------------------------------------------=
5 // IChannelCredentials.h
6 //=--------------------------------------------------------------------------=
7 // Copyright (c) Microsoft Corporation. All rights reserved.
8 //
9 // THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
10 // ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
11 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
12 // PARTICULAR PURPOSE.
13 //=--------------------------------------------------------------------------=
14
15 /* this ALWAYS GENERATED file contains the definitions for the interfaces */
16
17
18  /* File created by MIDL compiler version 6.00.0366 */
19 /* Compiler settings for proxymanager.idl:
20       Oicf, W1, Zp8, env=Win32 (32b run)
21       protocol : dce , ms_ext, c_ext, robust
22       error checks: allocation ref bounds_check enum stub_data 
23       VC __declspec() decoration level: 
24                __declspec(uuid()), __declspec(selectany), __declspec(novtable)
25                DECLSPEC_UUID(), MIDL_INTERFACE()
26 */
27 //@@MIDL_FILE_HEADING(  )
28
29 #pragma warning( disable: 4049 )  /* more than 64k source lines */
30
31
32 /* verify that the <rpcndr.h> version is high enough to compile this file*/
33 #ifndef __REQUIRED_RPCNDR_H_VERSION__
34 #define __REQUIRED_RPCNDR_H_VERSION__ 475
35 #endif
36
37 #include "rpc.h"
38 #include "rpcndr.h"
39
40 #ifndef __RPCNDR_H_VERSION__
41 #error this stub requires an updated version of <rpcndr.h>
42 #endif // __RPCNDR_H_VERSION__
43
44 #ifndef COM_NO_WINDOWS_H
45 #include "windows.h"
46 #include "ole2.h"
47 #endif /*COM_NO_WINDOWS_H*/
48
49 #ifndef __ichannelcredentials_h__
50 #define __ichannelcredentials_h__
51
52 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
53 #pragma once
54 #endif
55
56 /* Forward Declarations */ 
57
58 #ifndef __IChannelCredentials_FWD_DEFINED__
59 #define __IChannelCredentials_FWD_DEFINED__
60 typedef interface IChannelCredentials IChannelCredentials;
61 #endif     /* __IChannelCredentials_FWD_DEFINED__ */
62
63
64 /* header files for imported files */
65 #include "ocidl.h"
66
67 #ifdef __cplusplus
68 extern "C"{
69 #endif 
70
71 void * __RPC_USER MIDL_user_allocate(size_t);
72 void __RPC_USER MIDL_user_free( void * ); 
73
74
75 #ifndef __IChannelCredentials_INTERFACE_DEFINED__
76 #define __IChannelCredentials_INTERFACE_DEFINED__
77
78 /* interface IChannelCredentials */
79 /* [unique][helpstring][uuid][local][object] */ 
80
81
82 EXTERN_C const IID IID_IChannelCredentials;
83
84 #if defined(__cplusplus) && !defined(CINTERFACE)
Lines 85 ... 288 are skipped.
289
290 #define IChannelCredentials_SetWindowsCredential(This,domain,username,password,impersonationLevel,allowNtlm)    \
291       (This)->lpVtbl -> SetWindowsCredential(This,domain,username,password,impersonationLevel,allowNtlm)
292
293 #define IChannelCredentials_SetUserNameCredential(This,username,password)    \
294       (This)->lpVtbl -> SetUserNameCredential(This,username,password)
295
296 #define IChannelCredentials_SetClientCertificateFromStore(This,storeLocation,storeName,findYype,findValue)    \
297       (This)->lpVtbl -> SetClientCertificateFromStore(This,storeLocation,storeName,findYype,findValue)
298
299 #define IChannelCredentials_SetClientCertificateFromStoreByName(This,subjectName,storeLocation,storeName)    \
300       (This)->lpVtbl -> SetClientCertificateFromStoreByName(This,subjectName,storeLocation,storeName)
301
302 #define IChannelCredentials_SetClientCertificateFromFile(This,filename,password,keystorageFlags)    \
303       (This)->lpVtbl -> SetClientCertificateFromFile(This,filename,password,keystorageFlags)
304
305 #define IChannelCredentials_SetDefaultServiceCertificateFromStore(This,storeLocation,storeName,findType,findValue)    \
306       (This)->lpVtbl -> SetDefaultServiceCertificateFromStore(This,storeLocation,storeName,findType,findValue)
307
308 #define IChannelCredentials_SetDefaultServiceCertificateFromStoreByName(This,subjectName,storeLocation,storeName)    \
309       (This)->lpVtbl -> SetDefaultServiceCertificateFromStoreByName(This,subjectName,storeLocation,storeName)
310
311 #define IChannelCredentials_SetDefaultServiceCertificateFromFile(This,filename,password,keystorageFlags)    \
312       (This)->lpVtbl -> SetDefaultServiceCertificateFromFile(This,filename,password,keystorageFlags)
313
314 #define IChannelCredentials_SetServiceCertificateAuthentication(This,storeLocation,revocationMode,certificateValidationMode)    \
315       (This)->lpVtbl -> SetServiceCertificateAuthentication(This,storeLocation,revocationMode,certificateValidationMode)
316
317 #define IChannelCredentials_SetIssuedToken(This,localIssuerAddres,localIssuerBindingType,localIssuerBinding)    \
318       (This)->lpVtbl -> SetIssuedToken(This,localIssuerAddres,localIssuerBindingType,localIssuerBinding)
319
320 #endif /* COBJMACROS */
321
322
323 #endif     /* C style interface */
324
325
326 #endif     /* __IChannelCredentials_INTERFACE_DEFINED__ */
327
328
329 #ifdef __cplusplus
330 }
331 #endif
332
333 #endif
334
335
336
337