|
|
|
| 1 |
|
//-------------------------------------------------------------------------- |
| 2 |
|
// |
| 3 |
|
// Copyright (c) Microsoft Corporation. All rights reserved. |
| 4 |
|
// |
| 5 |
|
// File: journal.h |
| 6 |
|
// Microsoft Tablet PC API definitions |
| 7 |
|
// |
| 8 |
|
//-------------------------------------------------------------------------- |
| 9 |
|
|
| 10 |
|
|
| 11 |
|
|
| 12 |
|
|
| 13 |
|
|
| 14 |
|
/* this ALWAYS GENERATED file contains the definitions for the interfaces */ |
| 15 |
|
|
| 16 |
|
|
| 17 |
|
/* File created by MIDL compiler version 7.00.0499 */ |
| 18 |
|
/* Compiler settings for journal.idl: |
| 19 |
|
Oicf, W1, Zp8, env=Win32 (32b run) |
| 20 |
|
protocol : dce , ms_ext, c_ext, robust |
| 21 |
|
error checks: allocation ref bounds_check enum stub_data |
| 22 |
|
VC __declspec() decoration level: |
| 23 |
|
__declspec(uuid()), __declspec(selectany), __declspec(novtable) |
| 24 |
|
DECLSPEC_UUID(), MIDL_INTERFACE() |
| 25 |
|
*/ |
| 26 |
|
//@@MIDL_FILE_HEADING( ) |
| 27 |
|
|
| 28 |
|
#pragma warning( disable: 4049 ) /* more than 64k source lines */ |
| 29 |
|
|
| 30 |
|
|
| 31 |
|
/* verify that the <rpcndr.h> version is high enough to compile this file*/ |
| 32 |
|
#ifndef __REQUIRED_RPCNDR_H_VERSION__ |
| 33 |
|
#define __REQUIRED_RPCNDR_H_VERSION__ 500 |
| 34 |
|
#endif |
| 35 |
|
|
| 36 |
|
/* verify that the <rpcsal.h> version is high enough to compile this file*/ |
| 37 |
|
#ifndef __REQUIRED_RPCSAL_H_VERSION__ |
| 38 |
|
#define __REQUIRED_RPCSAL_H_VERSION__ 100 |
| 39 |
|
#endif |
| 40 |
|
|
| 41 |
|
#include "rpc.h" |
| 42 |
|
#include "rpcndr.h" |
| 43 |
|
|
| 44 |
|
#ifndef __RPCNDR_H_VERSION__ |
| 45 |
|
#error this stub requires an updated version of <rpcndr.h> |
| 46 |
|
#endif // __RPCNDR_H_VERSION__ |
| 47 |
|
|
| 48 |
|
|
| 49 |
|
#ifndef __journal_h__ |
| 50 |
|
#define __journal_h__ |
| 51 |
|
|
| 52 |
|
#if defined(_MSC_VER) && (_MSC_VER >= 1020) |
| 53 |
|
#pragma once |
| 54 |
|
#endif |
| 55 |
|
|
| 56 |
|
/* Forward Declarations */ |
| 57 |
|
|
| 58 |
|
#ifndef __IJournalReader_FWD_DEFINED__ |
| 59 |
|
#define __IJournalReader_FWD_DEFINED__ |
| 60 |
|
typedef interface IJournalReader IJournalReader; |
| 61 |
|
#endif /* __IJournalReader_FWD_DEFINED__ */ |
| 62 |
|
|
| 63 |
|
|
| 64 |
|
#ifndef __JournalReader_FWD_DEFINED__ |
| 65 |
|
#define __JournalReader_FWD_DEFINED__ |
| 66 |
|
|
| 67 |
|
#ifdef __cplusplus |
| 68 |
|
typedef class JournalReader JournalReader; |
| 69 |
|
#else |
| 70 |
|
typedef struct JournalReader JournalReader; |
| 71 |
|
#endif /* __cplusplus */ |
| 72 |
|
|
| 73 |
|
#endif /* __JournalReader_FWD_DEFINED__ */ |
| 74 |
|
|
| 75 |
|
|
| 76 |
|
/* header files for imported files */ |
| 77 |
|
#include "oaidl.h" |
| 78 |
|
#include "ocidl.h" |
| 79 |
|
|
| 80 |
|
#ifdef __cplusplus |
| 81 |
|
extern "C"{ |
| 82 |
|
#endif |
| 83 |
|
|
| 84 |
|
|
| 85 |
|
|
| 86 |
|
#ifndef __JournalLib_LIBRARY_DEFINED__ |
| 87 |
|
#define __JournalLib_LIBRARY_DEFINED__ |
| 88 |
|
|
| 89 |
|
/* library JournalLib */ |
| 90 |
|
/* [helpstring][version][uuid] */ |
| 91 |
|
|
| 92 |
|
#define GUID_STROKE_TIMESTAMP L"{04EA66C4-F33A-461B-B8FE-68070D9C7575}" |
| 93 |
|
#define GUID_STROKE_TIMEID L"{050B6BC8-3B7D-4816-8C61-BC7E905B2132}" |
| 94 |
|
#define GUID_HIGHLIGHTER L"{9B6267B8-3968-4048-AB74-F490406A2DFA}" |
| 95 |
|
#define GUID_INK_STYLE_BOLD L"{E02FB5C1-9693-4312-A434-00DE7F3AD493}" |
| 96 |
|
#define GUID_INK_STYLE_ITALICS L"{05253b51-49C6-4A04-8993-64DD9ABD842A}" |
| 97 |
|
|
| 98 |
|
EXTERN_C const IID LIBID_JournalLib; |
| 99 |
|
|
| 100 |
|
#ifndef __IJournalReader_INTERFACE_DEFINED__ |
| 101 |
|
#define __IJournalReader_INTERFACE_DEFINED__ |
| 102 |
|
|
| 103 |
|
/* interface IJournalReader */ |
| 104 |
|
/* [unique][helpstring][uuid][object] */ |
| 105 |
|
|
| 106 |
|
|
| 107 |
|
EXTERN_C const IID IID_IJournalReader; |
| 108 |
|
|
| 109 |
|
#if defined(__cplusplus) && !defined(CINTERFACE) |
| 110 |
|
|
| 111 |
|
MIDL_INTERFACE("26213A0B-5A6C-4472-923D-9F29EFF608B2") |
| 112 |
|
IJournalReader : public IUnknown |
| 123 |
|
typedef struct IJournalReaderVtbl |
| 124 |
|
{ |
| 125 |
|
BEGIN_INTERFACE |
| 126 |
|
|
| 127 |
|
HRESULT ( STDMETHODCALLTYPE *QueryInterface )( |
| 128 |
|
IJournalReader * This, |
| 129 |
|
/* [in] */ __RPC__in REFIID riid, |
| 130 |
|
/* [iid_is][out] */ |
| 131 |
|
__RPC__deref_out void **ppvObject); |
| 132 |
|
|
| 133 |
|
ULONG ( STDMETHODCALLTYPE *AddRef )( |
| 134 |
|
IJournalReader * This); |
| 135 |
|
|
| 136 |
|
ULONG ( STDMETHODCALLTYPE *Release )( |
| 137 |
|
IJournalReader * This); |
| 138 |
|
|
| 139 |
|
/* [helpstring] */ HRESULT ( STDMETHODCALLTYPE *ReadFromStream )( |
| 140 |
|
IJournalReader * This, |
| 141 |
|
/* [in] */ __RPC__in_opt IStream *pJntFile, |
| 142 |
|
/* [retval][out] */ __RPC__deref_out_opt IStream **ppJntXml); |
| 143 |
|
|
| 144 |
|
END_INTERFACE |
| 145 |
|
} IJournalReaderVtbl; |
| 146 |
|
|
| 147 |
|
interface IJournalReader |
| 148 |
|
{ |
| 149 |
|
CONST_VTBL struct IJournalReaderVtbl *lpVtbl; |
| 150 |
|
}; |
| 151 |
|
|
| 152 |
|
|
| 153 |
|
|
| 154 |
|
#ifdef COBJMACROS |
| 155 |
|
|
| 156 |
|
|
| 157 |
|
#define IJournalReader_QueryInterface(This,riid,ppvObject) \ |
| 158 |
|
( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) |
| 159 |
|
|
| 160 |
|
#define IJournalReader_AddRef(This) \ |
| 161 |
|
( (This)->lpVtbl -> AddRef(This) ) |
| 162 |
|
|
| 163 |
|
#define IJournalReader_Release(This) \ |
| 164 |
|
( (This)->lpVtbl -> Release(This) ) |
| 165 |
|
|
| 166 |
|
|
| 167 |
|
#define IJournalReader_ReadFromStream(This,pJntFile,ppJntXml) \ |
| 168 |
|
( (This)->lpVtbl -> ReadFromStream(This,pJntFile,ppJntXml) ) |
| 169 |
|
|
| 170 |
|
#endif /* COBJMACROS */ |
| 171 |
|
|
| 172 |
|
|
| 173 |
|
#endif /* C style interface */ |
| 174 |
|
|
| 175 |
|
|
| 176 |
|
|
| 177 |
|
|
| 178 |
|
#endif /* __IJournalReader_INTERFACE_DEFINED__ */ |
| 179 |
|
|
| 180 |
|
|
| 181 |
|
EXTERN_C const CLSID CLSID_JournalReader; |
| 182 |
|
|
| 183 |
|
#ifdef __cplusplus |
| 184 |
|
|
| 185 |
|
class DECLSPEC_UUID("B4124623-FC0E-47CE-BCA9-126A6104ADA1") |
| 186 |
|
JournalReader; |
| 187 |
|
#endif |
| 188 |
|
#endif /* __JournalLib_LIBRARY_DEFINED__ */ |
| 189 |
|
|
| 190 |
|
/* Additional Prototypes for ALL interfaces */ |
| 191 |
|
|
| 192 |
|
/* end of Additional Prototypes */ |
| 193 |
|
|
| 194 |
|
#ifdef __cplusplus |
| 195 |
|
} |
| 196 |
|
#endif |
| 197 |
|
|
| 198 |
|
#endif |
| 199 |
|
|
| 200 |
|
|
| 201 |
|
|
| 202 |
|
|
|
|
|