/usr/include/wine/windows/indexsrv.h is in wine1.4-dev 1.4-0ubuntu4.
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 | /*** Autogenerated by WIDL 1.4 from indexsrv.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 __WIDL_INDEXSRV_H
#define __WIDL_INDEXSRV_H
/* Forward declarations */
#ifndef __IWordSink_FWD_DEFINED__
#define __IWordSink_FWD_DEFINED__
typedef interface IWordSink IWordSink;
#endif
#ifndef __IPhraseSink_FWD_DEFINED__
#define __IPhraseSink_FWD_DEFINED__
typedef interface IPhraseSink IPhraseSink;
#endif
#ifndef __IWordBreaker_FWD_DEFINED__
#define __IWordBreaker_FWD_DEFINED__
typedef interface IWordBreaker IWordBreaker;
#endif
/* Headers for imported files */
#include <oaidl.h>
#ifdef __cplusplus
extern "C" {
#endif
struct tagTEXT_SOURCE;
typedef HRESULT (WINAPI *PFNFILLTEXTBUFFER)(struct tagTEXT_SOURCE *pTextSource);
#if 0
typedef void *PFNFILLTEXTBUFFER;
#endif
typedef struct tagTEXT_SOURCE {
PFNFILLTEXTBUFFER pfnFillTextBuffer;
const WCHAR *awcBuffer;
ULONG iEnd;
ULONG iCur;
} TEXT_SOURCE;
typedef enum tagWORDREP_BREAK_TYPE {
WORDREP_BREAK_EOW = 0,
WORDREP_BREAK_EOS = 1,
WORDREP_BREAK_EOP = 2,
WORDREP_BREAK_EOC = 3
} WORDREP_BREAK_TYPE;
/*****************************************************************************
* IWordSink interface
*/
#ifndef __IWordSink_INTERFACE_DEFINED__
#define __IWordSink_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWordSink, 0xcc907054, 0xc058, 0x101a, 0xb5,0x54, 0x08,0x00,0x2b,0x33,0xb0,0xe6);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("cc907054-c058-101a-b554-08002b33b0e6")
IWordSink : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE PutWord(
ULONG cwc,
const WCHAR *pwcInBuf,
ULONG cwcSrcLen,
ULONG cwcSrcPos) = 0;
virtual HRESULT STDMETHODCALLTYPE PutAltWord(
ULONG cwc,
const WCHAR *pwcInBuf,
ULONG cwcSrcLen,
ULONG cwcSrcPos) = 0;
virtual HRESULT STDMETHODCALLTYPE StartAltPhrase(
) = 0;
virtual HRESULT STDMETHODCALLTYPE EndAltPhrase(
) = 0;
virtual HRESULT STDMETHODCALLTYPE PutBreak(
WORDREP_BREAK_TYPE breakType) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWordSink, 0xcc907054, 0xc058, 0x101a, 0xb5,0x54, 0x08,0x00,0x2b,0x33,0xb0,0xe6)
#endif
#else
typedef struct IWordSinkVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWordSink* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWordSink* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWordSink* This);
/*** IWordSink methods ***/
HRESULT (STDMETHODCALLTYPE *PutWord)(
IWordSink* This,
ULONG cwc,
const WCHAR *pwcInBuf,
ULONG cwcSrcLen,
ULONG cwcSrcPos);
HRESULT (STDMETHODCALLTYPE *PutAltWord)(
IWordSink* This,
ULONG cwc,
const WCHAR *pwcInBuf,
ULONG cwcSrcLen,
ULONG cwcSrcPos);
HRESULT (STDMETHODCALLTYPE *StartAltPhrase)(
IWordSink* This);
HRESULT (STDMETHODCALLTYPE *EndAltPhrase)(
IWordSink* This);
HRESULT (STDMETHODCALLTYPE *PutBreak)(
IWordSink* This,
WORDREP_BREAK_TYPE breakType);
END_INTERFACE
} IWordSinkVtbl;
interface IWordSink {
CONST_VTBL IWordSinkVtbl* lpVtbl;
};
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IWordSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWordSink_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWordSink_Release(This) (This)->lpVtbl->Release(This)
/*** IWordSink methods ***/
#define IWordSink_PutWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos) (This)->lpVtbl->PutWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos)
#define IWordSink_PutAltWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos) (This)->lpVtbl->PutAltWord(This,cwc,pwcInBuf,cwcSrcLen,cwcSrcPos)
#define IWordSink_StartAltPhrase(This) (This)->lpVtbl->StartAltPhrase(This)
#define IWordSink_EndAltPhrase(This) (This)->lpVtbl->EndAltPhrase(This)
#define IWordSink_PutBreak(This,breakType) (This)->lpVtbl->PutBreak(This,breakType)
#endif
#endif
HRESULT STDMETHODCALLTYPE IWordSink_PutWord_Proxy(
IWordSink* This,
ULONG cwc,
const WCHAR *pwcInBuf,
ULONG cwcSrcLen,
ULONG cwcSrcPos);
void __RPC_STUB IWordSink_PutWord_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWordSink_PutAltWord_Proxy(
IWordSink* This,
ULONG cwc,
const WCHAR *pwcInBuf,
ULONG cwcSrcLen,
ULONG cwcSrcPos);
void __RPC_STUB IWordSink_PutAltWord_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWordSink_StartAltPhrase_Proxy(
IWordSink* This);
void __RPC_STUB IWordSink_StartAltPhrase_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWordSink_EndAltPhrase_Proxy(
IWordSink* This);
void __RPC_STUB IWordSink_EndAltPhrase_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWordSink_PutBreak_Proxy(
IWordSink* This,
WORDREP_BREAK_TYPE breakType);
void __RPC_STUB IWordSink_PutBreak_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWordSink_INTERFACE_DEFINED__ */
/*****************************************************************************
* IPhraseSink interface
*/
#ifndef __IPhraseSink_INTERFACE_DEFINED__
#define __IPhraseSink_INTERFACE_DEFINED__
DEFINE_GUID(IID_IPhraseSink, 0xcc906ff0, 0xc058, 0x101a, 0xb5,0x54, 0x08,0x00,0x2b,0x33,0xb0,0xe6);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("cc906ff0-c058-101a-b554-08002b33b0e6")
IPhraseSink : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE PutSmallPhrase(
const WCHAR *pwcNoun,
ULONG cwcNoun,
const WCHAR *pwcModifier,
ULONG cwcModifier,
ULONG ulAttachmentType) = 0;
virtual HRESULT STDMETHODCALLTYPE PutPhrase(
const WCHAR *pwcPhrase,
ULONG cwcPhrase) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IPhraseSink, 0xcc906ff0, 0xc058, 0x101a, 0xb5,0x54, 0x08,0x00,0x2b,0x33,0xb0,0xe6)
#endif
#else
typedef struct IPhraseSinkVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IPhraseSink* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IPhraseSink* This);
ULONG (STDMETHODCALLTYPE *Release)(
IPhraseSink* This);
/*** IPhraseSink methods ***/
HRESULT (STDMETHODCALLTYPE *PutSmallPhrase)(
IPhraseSink* This,
const WCHAR *pwcNoun,
ULONG cwcNoun,
const WCHAR *pwcModifier,
ULONG cwcModifier,
ULONG ulAttachmentType);
HRESULT (STDMETHODCALLTYPE *PutPhrase)(
IPhraseSink* This,
const WCHAR *pwcPhrase,
ULONG cwcPhrase);
END_INTERFACE
} IPhraseSinkVtbl;
interface IPhraseSink {
CONST_VTBL IPhraseSinkVtbl* lpVtbl;
};
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IPhraseSink_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IPhraseSink_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IPhraseSink_Release(This) (This)->lpVtbl->Release(This)
/*** IPhraseSink methods ***/
#define IPhraseSink_PutSmallPhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType) (This)->lpVtbl->PutSmallPhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType)
#define IPhraseSink_PutPhrase(This,pwcPhrase,cwcPhrase) (This)->lpVtbl->PutPhrase(This,pwcPhrase,cwcPhrase)
#endif
#endif
HRESULT STDMETHODCALLTYPE IPhraseSink_PutSmallPhrase_Proxy(
IPhraseSink* This,
const WCHAR *pwcNoun,
ULONG cwcNoun,
const WCHAR *pwcModifier,
ULONG cwcModifier,
ULONG ulAttachmentType);
void __RPC_STUB IPhraseSink_PutSmallPhrase_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IPhraseSink_PutPhrase_Proxy(
IPhraseSink* This,
const WCHAR *pwcPhrase,
ULONG cwcPhrase);
void __RPC_STUB IPhraseSink_PutPhrase_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IPhraseSink_INTERFACE_DEFINED__ */
/*****************************************************************************
* IWordBreaker interface
*/
#ifndef __IWordBreaker_INTERFACE_DEFINED__
#define __IWordBreaker_INTERFACE_DEFINED__
DEFINE_GUID(IID_IWordBreaker, 0xd53552c8, 0x77e3, 0x101a, 0xb5,0x52, 0x08,0x00,0x2b,0x33,0xb0,0xe6);
#if defined(__cplusplus) && !defined(CINTERFACE)
MIDL_INTERFACE("d53552c8-77e3-101a-b552-08002b33b0e6")
IWordBreaker : public IUnknown
{
virtual HRESULT STDMETHODCALLTYPE Init(
BOOL fQuery,
ULONG ulMaxTokenSize,
BOOL *pfLicense) = 0;
virtual HRESULT STDMETHODCALLTYPE BreakText(
TEXT_SOURCE *pTextSource,
IWordSink *pWordSink,
IPhraseSink *pPhraseSink) = 0;
virtual HRESULT STDMETHODCALLTYPE ComposePhrase(
const WCHAR *pwcNoun,
ULONG cwcNoun,
const WCHAR *pwcModifier,
ULONG cwcModifier,
ULONG ulAttachmentType,
WCHAR *pwcPhrase,
ULONG *pcwcPhrase) = 0;
virtual HRESULT STDMETHODCALLTYPE GetLicenseToUse(
const WCHAR **ppwcsLicense) = 0;
};
#ifdef __CRT_UUID_DECL
__CRT_UUID_DECL(IWordBreaker, 0xd53552c8, 0x77e3, 0x101a, 0xb5,0x52, 0x08,0x00,0x2b,0x33,0xb0,0xe6)
#endif
#else
typedef struct IWordBreakerVtbl {
BEGIN_INTERFACE
/*** IUnknown methods ***/
HRESULT (STDMETHODCALLTYPE *QueryInterface)(
IWordBreaker* This,
REFIID riid,
void **ppvObject);
ULONG (STDMETHODCALLTYPE *AddRef)(
IWordBreaker* This);
ULONG (STDMETHODCALLTYPE *Release)(
IWordBreaker* This);
/*** IWordBreaker methods ***/
HRESULT (STDMETHODCALLTYPE *Init)(
IWordBreaker* This,
BOOL fQuery,
ULONG ulMaxTokenSize,
BOOL *pfLicense);
HRESULT (STDMETHODCALLTYPE *BreakText)(
IWordBreaker* This,
TEXT_SOURCE *pTextSource,
IWordSink *pWordSink,
IPhraseSink *pPhraseSink);
HRESULT (STDMETHODCALLTYPE *ComposePhrase)(
IWordBreaker* This,
const WCHAR *pwcNoun,
ULONG cwcNoun,
const WCHAR *pwcModifier,
ULONG cwcModifier,
ULONG ulAttachmentType,
WCHAR *pwcPhrase,
ULONG *pcwcPhrase);
HRESULT (STDMETHODCALLTYPE *GetLicenseToUse)(
IWordBreaker* This,
const WCHAR **ppwcsLicense);
END_INTERFACE
} IWordBreakerVtbl;
interface IWordBreaker {
CONST_VTBL IWordBreakerVtbl* lpVtbl;
};
#ifdef COBJMACROS
/*** IUnknown methods ***/
#define IWordBreaker_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
#define IWordBreaker_AddRef(This) (This)->lpVtbl->AddRef(This)
#define IWordBreaker_Release(This) (This)->lpVtbl->Release(This)
/*** IWordBreaker methods ***/
#define IWordBreaker_Init(This,fQuery,ulMaxTokenSize,pfLicense) (This)->lpVtbl->Init(This,fQuery,ulMaxTokenSize,pfLicense)
#define IWordBreaker_BreakText(This,pTextSource,pWordSink,pPhraseSink) (This)->lpVtbl->BreakText(This,pTextSource,pWordSink,pPhraseSink)
#define IWordBreaker_ComposePhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType,pwcPhrase,pcwcPhrase) (This)->lpVtbl->ComposePhrase(This,pwcNoun,cwcNoun,pwcModifier,cwcModifier,ulAttachmentType,pwcPhrase,pcwcPhrase)
#define IWordBreaker_GetLicenseToUse(This,ppwcsLicense) (This)->lpVtbl->GetLicenseToUse(This,ppwcsLicense)
#endif
#endif
HRESULT STDMETHODCALLTYPE IWordBreaker_Init_Proxy(
IWordBreaker* This,
BOOL fQuery,
ULONG ulMaxTokenSize,
BOOL *pfLicense);
void __RPC_STUB IWordBreaker_Init_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWordBreaker_BreakText_Proxy(
IWordBreaker* This,
TEXT_SOURCE *pTextSource,
IWordSink *pWordSink,
IPhraseSink *pPhraseSink);
void __RPC_STUB IWordBreaker_BreakText_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWordBreaker_ComposePhrase_Proxy(
IWordBreaker* This,
const WCHAR *pwcNoun,
ULONG cwcNoun,
const WCHAR *pwcModifier,
ULONG cwcModifier,
ULONG ulAttachmentType,
WCHAR *pwcPhrase,
ULONG *pcwcPhrase);
void __RPC_STUB IWordBreaker_ComposePhrase_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
HRESULT STDMETHODCALLTYPE IWordBreaker_GetLicenseToUse_Proxy(
IWordBreaker* This,
const WCHAR **ppwcsLicense);
void __RPC_STUB IWordBreaker_GetLicenseToUse_Stub(
IRpcStubBuffer* This,
IRpcChannelBuffer* pRpcChannelBuffer,
PRPC_MESSAGE pRpcMessage,
DWORD* pdwStubPhase);
#endif /* __IWordBreaker_INTERFACE_DEFINED__ */
/* Begin additional prototypes for all interfaces */
/* End additional prototypes */
#ifdef __cplusplus
}
#endif
#endif /* __WIDL_INDEXSRV_H */
|