/usr/include/wine/windows/comsvcs.h is in libwine-dev 3.0-1ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | /*** Autogenerated by WIDL 3.0 from comsvcs.idl - Do not edit ***/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 475
#endif
#include <rpc.h>
#include <rpcndr.h>
#ifndef COM_NO_WINDOWS_H
#include <windows.h>
#include <ole2.h>
#endif
#ifndef __comsvcs_h__
#define __comsvcs_h__
/* Forward declarations */
#ifndef __IHolder_FWD_DEFINED__
#define __IHolder_FWD_DEFINED__
typedef interface IHolder IHolder;
#ifdef __cplusplus
interface IHolder;
#endif /* __cplusplus */
#endif
#ifndef __IDispenserDriver_FWD_DEFINED__
#define __IDispenserDriver_FWD_DEFINED__
typedef interface IDispenserDriver IDispenserDriver;
#ifdef __cplusplus
interface IDispenserDriver;
#endif /* __cplusplus */
#endif
#ifndef __IDispenserManager_FWD_DEFINED__
#define __IDispenserManager_FWD_DEFINED__
typedef interface IDispenserManager IDispenserManager;
#ifdef __cplusplus
interface IDispenserManager;
#endif /* __cplusplus */
#endif
#ifndef __DispenserManager_FWD_DEFINED__
#define __DispenserManager_FWD_DEFINED__
#ifdef __cplusplus
typedef class DispenserManager DispenserManager;
#else
typedef struct DispenserManager DispenserManager;
#endif /* defined __cplusplus */
#endif /* defined __DispenserManager_FWD_DEFINED__ */
/* Headers for imported files */
#include <unknwn.h>
#include <objidl.h>
#include <oaidl.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef DWORD_PTR INSTID;
typedef DWORD_PTR RESID;
typedef DWORD RESOURCERATING;
typedef DWORD_PTR RESTYPID;
typedef LPOLESTR SRESID;
typedef LONG TIMEINSECS;
typedef DWORD_PTR TRANSID;
DEFINE_GUID(LIBID_COMSVCSLib, 0x2a005c00, 0xa5de, 0x11cf, 0x9e,0x66, 0x00,0xaa,0x00,0xa3,0xf4,0x64);
/*****************************************************************************
* IHolder interface
*/
#ifndef __IHolder_INTERFACE_DEFINED__
#define __IHolder_INTERFACE_DEFINED__
DEFINE_GUID(IID_IHolder, 0xbf6a1850, 0x2b45, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("bf6a1850-2b45-11cf-be10-00aa00a2fa25")
IHolder : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE AllocResource(
const RESTYPID typeid,
RESID *resid) = 0;
virtual HRESULT STDMETHODCALLTYPE FreeResource(
const RESID _resid) = 0;
virtual HRESULT STDMETHODCALLTYPE TrackResource(
const RESID resid) = 0;
virtual HRESULT STDMETHODCALLTYPE TrackResourceS(
const SRESID resid) = 0;
virtual HRESULT STDMETHODCALLTYPE UntrackResource(
const RESID resid,
const BOOL value) = 0;
virtual HRESULT STDMETHODCALLTYPE UntrackResourceS(
const SRESID resid,
const BOOL value) = 0;
virtual HRESULT STDMETHODCALLTYPE Close(
) = 0;
virtual HRESULT STDMETHODCALLTYPE RequestDestroyResource(
const RESID resid) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IHolder, 0xbf6a1850, 0x2b45, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25)
#endif
#else
typedef struct IHolderVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IHolder *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IHolder *This);
ULONG (STDMETHODCALLTYPE *Release)(
IHolder *This);
/*** IHolder methods ***/
HRESULT (STDMETHODCALLTYPE *AllocResource)(
IHolder *This,
const RESTYPID typeid,
RESID *resid);
HRESULT (STDMETHODCALLTYPE *FreeResource)(
IHolder *This,
const RESID _resid);
HRESULT (STDMETHODCALLTYPE *TrackResource)(
IHolder *This,
const RESID resid);
HRESULT (STDMETHODCALLTYPE *TrackResourceS)(
IHolder *This,
const SRESID resid);
HRESULT (STDMETHODCALLTYPE *UntrackResource)(
IHolder *This,
const RESID resid,
const BOOL value);
HRESULT (STDMETHODCALLTYPE *UntrackResourceS)(
IHolder *This,
const SRESID resid,
const BOOL value);
HRESULT (STDMETHODCALLTYPE *Close)(
IHolder *This);
HRESULT (STDMETHODCALLTYPE *RequestDestroyResource)(
IHolder *This,
const RESID resid);
END_INTERFACE
} IHolderVtbl;
interface IHolder {
CONST_VTBL IHolderVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IHolder_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IHolder_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IHolder_Release(This) (This)->lpVtbl->Release(This)
/*** IHolder methods ***/
#define IHolder_AllocResource(This,typeid,resid) (This)->lpVtbl->AllocResource(This,typeid,resid)
#define IHolder_FreeResource(This,_resid) (This)->lpVtbl->FreeResource(This,_resid)
#define IHolder_TrackResource(This,resid) (This)->lpVtbl->TrackResource(This,resid)
#define IHolder_TrackResourceS(This,resid) (This)->lpVtbl->TrackResourceS(This,resid)
#define IHolder_UntrackResource(This,resid,value) (This)->lpVtbl->UntrackResource(This,resid,value)
#define IHolder_UntrackResourceS(This,resid,value) (This)->lpVtbl->UntrackResourceS(This,resid,value)
#define IHolder_Close(This) (This)->lpVtbl->Close(This)
#define IHolder_RequestDestroyResource(This,resid) (This)->lpVtbl->RequestDestroyResource(This,resid)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IHolder_QueryInterface(IHolder* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IHolder_AddRef(IHolder* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IHolder_Release(IHolder* This) {
return This->lpVtbl->Release(This);
}
/*** IHolder methods ***/
static FORCEINLINE HRESULT IHolder_AllocResource(IHolder* This,const RESTYPID typeid,RESID *resid) {
return This->lpVtbl->AllocResource(This,typeid,resid);
}
static FORCEINLINE HRESULT IHolder_FreeResource(IHolder* This,const RESID _resid) {
return This->lpVtbl->FreeResource(This,_resid);
}
static FORCEINLINE HRESULT IHolder_TrackResource(IHolder* This,const RESID resid) {
return This->lpVtbl->TrackResource(This,resid);
}
static FORCEINLINE HRESULT IHolder_TrackResourceS(IHolder* This,const SRESID resid) {
return This->lpVtbl->TrackResourceS(This,resid);
}
static FORCEINLINE HRESULT IHolder_UntrackResource(IHolder* This,const RESID resid,const BOOL value) {
return This->lpVtbl->UntrackResource(This,resid,value);
}
static FORCEINLINE HRESULT IHolder_UntrackResourceS(IHolder* This,const SRESID resid,const BOOL value) {
return This->lpVtbl->UntrackResourceS(This,resid,value);
}
static FORCEINLINE HRESULT IHolder_Close(IHolder* This) {
return This->lpVtbl->Close(This);
}
static FORCEINLINE HRESULT IHolder_RequestDestroyResource(IHolder* This,const RESID resid) {
return This->lpVtbl->RequestDestroyResource(This,resid);
}
#endif
#endif
#endif
#endif /* __IHolder_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDispenserDriver interface
*/
#ifndef __IDispenserDriver_INTERFACE_DEFINED__
#define __IDispenserDriver_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDispenserDriver, 0x208b3651, 0x2b48, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("208b3651-2b48-11cf-be10-00aa00a2fa25")
IDispenserDriver : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE CreateResource(
const RESTYPID restypid,
RESID *resid,
TIMEINSECS *destroy) = 0;
virtual HRESULT STDMETHODCALLTYPE RateResource(
const RESTYPID restypid,
const RESID resid,
const BOOL requires,
RESOURCERATING *rating) = 0;
virtual HRESULT STDMETHODCALLTYPE EnlistResource(
const RESID resid,
const TRANSID transid) = 0;
virtual HRESULT STDMETHODCALLTYPE ResetResource(
const RESID resid) = 0;
virtual HRESULT STDMETHODCALLTYPE DestroyResource(
const RESID resid) = 0;
virtual HRESULT STDMETHODCALLTYPE DestroyResourceS(
const SRESID resid) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDispenserDriver, 0x208b3651, 0x2b48, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25)
#endif
#else
typedef struct IDispenserDriverVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDispenserDriver *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDispenserDriver *This);
ULONG (STDMETHODCALLTYPE *Release)(
IDispenserDriver *This);
/*** IDispenserDriver methods ***/
HRESULT (STDMETHODCALLTYPE *CreateResource)(
IDispenserDriver *This,
const RESTYPID restypid,
RESID *resid,
TIMEINSECS *destroy);
HRESULT (STDMETHODCALLTYPE *RateResource)(
IDispenserDriver *This,
const RESTYPID restypid,
const RESID resid,
const BOOL requires,
RESOURCERATING *rating);
HRESULT (STDMETHODCALLTYPE *EnlistResource)(
IDispenserDriver *This,
const RESID resid,
const TRANSID transid);
HRESULT (STDMETHODCALLTYPE *ResetResource)(
IDispenserDriver *This,
const RESID resid);
HRESULT (STDMETHODCALLTYPE *DestroyResource)(
IDispenserDriver *This,
const RESID resid);
HRESULT (STDMETHODCALLTYPE *DestroyResourceS)(
IDispenserDriver *This,
const SRESID resid);
END_INTERFACE
} IDispenserDriverVtbl;
interface IDispenserDriver {
CONST_VTBL IDispenserDriverVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDispenserDriver_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDispenserDriver_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDispenserDriver_Release(This) (This)->lpVtbl->Release(This)
/*** IDispenserDriver methods ***/
#define IDispenserDriver_CreateResource(This,restypid,resid,destroy) (This)->lpVtbl->CreateResource(This,restypid,resid,destroy)
#define IDispenserDriver_RateResource(This,restypid,resid,requires,rating) (This)->lpVtbl->RateResource(This,restypid,resid,requires,rating)
#define IDispenserDriver_EnlistResource(This,resid,transid) (This)->lpVtbl->EnlistResource(This,resid,transid)
#define IDispenserDriver_ResetResource(This,resid) (This)->lpVtbl->ResetResource(This,resid)
#define IDispenserDriver_DestroyResource(This,resid) (This)->lpVtbl->DestroyResource(This,resid)
#define IDispenserDriver_DestroyResourceS(This,resid) (This)->lpVtbl->DestroyResourceS(This,resid)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDispenserDriver_QueryInterface(IDispenserDriver* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDispenserDriver_AddRef(IDispenserDriver* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDispenserDriver_Release(IDispenserDriver* This) {
return This->lpVtbl->Release(This);
}
/*** IDispenserDriver methods ***/
static FORCEINLINE HRESULT IDispenserDriver_CreateResource(IDispenserDriver* This,const RESTYPID restypid,RESID *resid,TIMEINSECS *destroy) {
return This->lpVtbl->CreateResource(This,restypid,resid,destroy);
}
static FORCEINLINE HRESULT IDispenserDriver_RateResource(IDispenserDriver* This,const RESTYPID restypid,const RESID resid,const BOOL requires,RESOURCERATING *rating) {
return This->lpVtbl->RateResource(This,restypid,resid,requires,rating);
}
static FORCEINLINE HRESULT IDispenserDriver_EnlistResource(IDispenserDriver* This,const RESID resid,const TRANSID transid) {
return This->lpVtbl->EnlistResource(This,resid,transid);
}
static FORCEINLINE HRESULT IDispenserDriver_ResetResource(IDispenserDriver* This,const RESID resid) {
return This->lpVtbl->ResetResource(This,resid);
}
static FORCEINLINE HRESULT IDispenserDriver_DestroyResource(IDispenserDriver* This,const RESID resid) {
return This->lpVtbl->DestroyResource(This,resid);
}
static FORCEINLINE HRESULT IDispenserDriver_DestroyResourceS(IDispenserDriver* This,const SRESID resid) {
return This->lpVtbl->DestroyResourceS(This,resid);
}
#endif
#endif
#endif
#endif /* __IDispenserDriver_INTERFACE_DEFINED__ */
/*****************************************************************************
* IDispenserManager interface
*/
#ifndef __IDispenserManager_INTERFACE_DEFINED__
#define __IDispenserManager_INTERFACE_DEFINED__
DEFINE_GUID(IID_IDispenserManager, 0x5cb31e10, 0x2b5f, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("5cb31e10-2b5f-11cf-be10-00aa00a2fa25")
IDispenserManager : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE RegisterDispenser(
IDispenserDriver *driver,
LPCOLESTR name,
IHolder **dispenser) = 0;
virtual HRESULT STDMETHODCALLTYPE GetContext(
INSTID *id,
TRANSID *transid) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IDispenserManager, 0x5cb31e10, 0x2b5f, 0x11cf, 0xbe,0x10, 0x00,0xaa,0x00,0xa2,0xfa,0x25)
#endif
#else
typedef struct IDispenserManagerVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IDispenserManager *This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IDispenserManager *This);
ULONG (STDMETHODCALLTYPE *Release)(
IDispenserManager *This);
/*** IDispenserManager methods ***/
HRESULT (STDMETHODCALLTYPE *RegisterDispenser)(
IDispenserManager *This,
IDispenserDriver *driver,
LPCOLESTR name,
IHolder **dispenser);
HRESULT (STDMETHODCALLTYPE *GetContext)(
IDispenserManager *This,
INSTID *id,
TRANSID *transid);
END_INTERFACE
} IDispenserManagerVtbl;
interface IDispenserManager {
CONST_VTBL IDispenserManagerVtbl* lpVtbl;
};
#ifdef COBJMACROS
#ifndef WIDL_C_INLINE_WRAPPERS
/*** IUnknown methods ***/
#define IDispenserManager_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IDispenserManager_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IDispenserManager_Release(This) (This)->lpVtbl->Release(This)
/*** IDispenserManager methods ***/
#define IDispenserManager_RegisterDispenser(This,driver,name,dispenser) (This)->lpVtbl->RegisterDispenser(This,driver,name,dispenser)
#define IDispenserManager_GetContext(This,id,transid) (This)->lpVtbl->GetContext(This,id,transid)
#else
/*** IUnknown methods ***/
static FORCEINLINE HRESULT IDispenserManager_QueryInterface(IDispenserManager* This,REFIID riid,void **ppvObject) {
return This->lpVtbl->QueryInterface(This,riid,ppvObject);
}
static FORCEINLINE ULONG IDispenserManager_AddRef(IDispenserManager* This) {
return This->lpVtbl->AddRef(This);
}
static FORCEINLINE ULONG IDispenserManager_Release(IDispenserManager* This) {
return This->lpVtbl->Release(This);
}
/*** IDispenserManager methods ***/
static FORCEINLINE HRESULT IDispenserManager_RegisterDispenser(IDispenserManager* This,IDispenserDriver *driver,LPCOLESTR name,IHolder **dispenser) {
return This->lpVtbl->RegisterDispenser(This,driver,name,dispenser);
}
static FORCEINLINE HRESULT IDispenserManager_GetContext(IDispenserManager* This,INSTID *id,TRANSID *transid) {
return This->lpVtbl->GetContext(This,id,transid);
}
#endif
#endif
#endif
#endif /* __IDispenserManager_INTERFACE_DEFINED__ */
/*****************************************************************************
* DispenserManager coclass
*/
DEFINE_GUID(CLSID_DispenserManager, 0xecabb0c0, 0x7f19, 0x11d2, 0x97,0x8e, 0x00,0x00,0xf8,0x75,0x7e,0x2a);
#ifdef __cplusplus
class DECLSPEC_UUID("ecabb0c0-7f19-11d2-978e-0000f8757e2a") DispenserManager;
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(DispenserManager, 0xecabb0c0, 0x7f19, 0x11d2, 0x97,0x8e, 0x00,0x00,0xf8,0x75,0x7e,0x2a)
#endif
#endif
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __comsvcs_h__ */
|