Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
1843cd35
Commit
1843cd35
authored
Sep 03, 2003
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Converted servprov.h to IDL.
parent
802ebc11
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
136 additions
and
43 deletions
+136
-43
Makefile.in
include/Makefile.in
+1
-1
servprov.h
include/servprov.h
+89
-42
servprov.idl
include/servprov.idl
+46
-0
No files found.
include/Makefile.in
View file @
1843cd35
...
...
@@ -9,6 +9,7 @@ IDL_SRCS = \
oaidl.idl
\
objidl.idl
\
oleidl.idl
\
servprov.idl
\
strmif.idl
\
unknwn.idl
\
wtypes.idl
...
...
@@ -145,7 +146,6 @@ WINDOWS_INCLUDES = \
rpcndr.h
\
rpcnterr.h
\
rpcproxy.h
\
servprov.h
\
setupapi.h
\
shellapi.h
\
shlguid.h
\
...
...
include/servprov.h
View file @
1843cd35
/*
* Copyright (C) 1999 Francois Gouget
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*** Autogenerated by WIDL 0.1 from servprov.idl - Do not edit ***/
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#ifndef __WIDL_SERVPROV_H
#define __WIDL_SERVPROV_H
#ifdef __cplusplus
extern
"C"
{
#endif
#include <objidl.h>
#ifndef __IServiceProvider_FWD_DEFINED__
#define __IServiceProvider_FWD_DEFINED__
typedef
struct
IServiceProvider
IServiceProvider
;
#endif
#ifndef __WINE_SERVPROV_H
#define __WINE_SERVPROV_H
typedef
IServiceProvider
*
LPSERVICEPROVIDER
;
/*****************************************************************************
* IServiceProvider interface
*/
#ifndef __IServiceProvider_INTERFACE_DEFINED__
#define __IServiceProvider_INTERFACE_DEFINED__
#include <objbase.h>
DEFINE_GUID
(
IID_IServiceProvider
,
0x6d5140c1
,
0x7436
,
0x11ce
,
0x80
,
0x34
,
0x00
,
0xaa
,
0x00
,
0x60
,
0x09
,
0xfa
);
#if defined(__cplusplus) && !defined(CINTERFACE)
struct
IServiceProvider
:
public
IUnknown
{
virtual
HRESULT
STDMETHODCALLTYPE
QueryService
(
REFGUID
guidService
,
REFIID
riid
,
void
**
ppvObject
)
=
0
;
};
#else
typedef
struct
IServiceProviderVtbl
IServiceProviderVtbl
;
struct
IServiceProvider
{
const
IServiceProviderVtbl
*
lpVtbl
;
};
struct
IServiceProviderVtbl
{
ICOM_MSVTABLE_COMPAT_FIELDS
/*****************************************************************************
* Predeclare the interfaces
*/
DEFINE_GUID
(
IID_IServiceProvider
,
0x6d5140c1L
,
0x7436
,
0x11ce
,
0x80
,
0x34
,
0x00
,
0xaa
,
0x00
,
0x60
,
0x09
,
0xfa
);
typedef
struct
IServiceProvider
IServiceProvider
,
*
LPSERVICEPROVIDER
;
/*** IUnknown methods ***/
HRESULT
(
STDMETHODCALLTYPE
*
QueryInterface
)(
IServiceProvider
*
This
,
REFIID
riid
,
void
**
ppvObject
)
;
ULONG
(
STDMETHODCALLTYPE
*
AddRef
)(
IServiceProvider
*
This
);
/*****************************************************************************
* IServiceProvider interface
*/
#define INTERFACE IServiceProvider
#define IServiceProvider_METHODS \
IUnknown_METHODS \
STDMETHOD(QueryService)(THIS_ REFGUID guidService, REFIID riid, void **ppvObject) PURE;
ICOM_DEFINE
(
IServiceProvider
,
IUnknown
)
#undef INTERFACE
ULONG
(
STDMETHODCALLTYPE
*
Release
)(
IServiceProvider
*
This
);
/*** IServiceProvider methods ***/
HRESULT
(
STDMETHODCALLTYPE
*
QueryService
)(
IServiceProvider
*
This
,
REFGUID
guidService
,
REFIID
riid
,
void
**
ppvObject
);
};
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IServiceProvider_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
#define IServiceProvider_AddRef(p)
(p)->lpVtbl->AddRef(p)
#define IServiceProvider_Release(p)
(p)->lpVtbl->Release(p)
#define IServiceProvider_AddRef(p) (p)->lpVtbl->AddRef(p)
#define IServiceProvider_Release(p) (p)->lpVtbl->Release(p)
/*** IServiceProvider methods ***/
#define IServiceProvider_QueryService(p,a,b,c) (p)->lpVtbl->QueryService(p,a,b,c)
#endif
#define IServiceProvider_METHODS \
ICOM_MSVTABLE_COMPAT_FIELDS \
/*** IUnknown methods ***/
\
STDMETHOD_(HRESULT,QueryInterface)(THIS_ REFIID riid, void** ppvObject) PURE; \
STDMETHOD_(ULONG,AddRef)(THIS) PURE; \
STDMETHOD_(ULONG,Release)(THIS) PURE; \
/*** IServiceProvider methods ***/
\
STDMETHOD_(HRESULT,QueryService)(THIS_ REFGUID guidService, REFIID riid, void** ppvObject) PURE;
HRESULT
CALLBACK
IServiceProvider_RemoteQueryService_Proxy
(
IServiceProvider
*
This
,
REFGUID
guidService
,
REFIID
riid
,
IUnknown
**
ppvObject
);
void
__RPC_STUB
IServiceProvider_RemoteQueryService_Stub
(
struct
IRpcStubBuffer
*
This
,
struct
IRpcChannelBuffer
*
pRpcChannelBuffer
,
PRPC_MESSAGE
pRpcMessage
,
DWORD
*
pdwStubPhase
);
HRESULT
CALLBACK
IServiceProvider_QueryService_Proxy
(
IServiceProvider
*
This
,
REFGUID
guidService
,
REFIID
riid
,
void
**
ppvObject
);
HRESULT
__RPC_STUB
IServiceProvider_QueryService_Stub
(
IServiceProvider
*
This
,
REFGUID
guidService
,
REFIID
riid
,
IUnknown
**
ppvObject
);
#endif
/* __WINE_SERVPROV_H */
#endif
/* __IServiceProvider_INTERFACE_DEFINED__ */
#ifdef __cplusplus
}
#endif
#endif
/* __WIDL_SERVPROV_H */
include/servprov.idl
0 → 100644
View file @
1843cd35
/*
*
Copyright
(
C
)
1999
Francois
Gouget
*
Copyright
(
C
)
2003
Alexandre
Julliard
*
*
This
library
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
Lesser
General
Public
*
License
as
published
by
the
Free
Software
Foundation
; either
*
version
2.1
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*
*
This
library
is
distributed
in
the
hope
that
it
will
be
useful
,
*
but
WITHOUT
ANY
WARRANTY
; without even the implied warranty of
*
MERCHANTABILITY
or
FITNESS
FOR
A
PARTICULAR
PURPOSE
.
See
the
GNU
*
Lesser
General
Public
License
for
more
details
.
*
*
You
should
have
received
a
copy
of
the
GNU
Lesser
General
Public
*
License
along
with
this
library
; if not, write to the Free Software
*
Foundation
,
Inc
.
,
59
Temple
Place
,
Suite
330
,
Boston
,
MA
02111
-
1307
USA
*/
import
"objidl.idl"
;
/*****************************************************************************
*
IServiceProvider
interface
*/
[
object
,
uuid
(
6
d5140c1
-
7436
-
11
ce
-
8034
-
00
aa006009fa
),
pointer_default
(
unique
)
]
interface
IServiceProvider
:
IUnknown
{
typedef
[
unique
]
IServiceProvider
*
LPSERVICEPROVIDER
;
[
local
]
HRESULT
QueryService
(
[
in
]
REFGUID
guidService
,
[
in
]
REFIID
riid
,
[
out
]
void
**
ppvObject
)
;
[
call_as
(
QueryService
)
]
HRESULT
RemoteQueryService
(
[
in
]
REFGUID
guidService
,
[
in
]
REFIID
riid
,
[
out
,
iid_is
(
riid
)
]
IUnknown
**
ppvObject
)
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment