📄 pimstore.h
字号:
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
//
/* this ALWAYS GENERATED file contains the definitions for the interfaces */
/* File created by MIDL compiler version 3.02.88 */
/* at Mon Dec 07 11:02:04 1998
*/
/* Compiler settings for pimstore.idl:
Os (OptLev=s), W1, Zp8, env=Win32, ms_ext, c_ext
error checks: none
*/
//@@MIDL_FILE_HEADING( )
#include "rpc.h"
#include "rpcndr.h"
#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/
#ifndef __pimstore_h__
#define __pimstore_h__
// Flags for receiving notifications
#define PIMFOLDERNOTIFICATION_REMOTE (0x01) // Notification for changes from other processes
#define PIMFOLDERNOTIFICATION_LOCAL (0x02) // Notification for changes from this process
#define PIMFOLDERNOTIFICATION_ALL (PIMFOLDERNOTIFICATION_REMOTE | PIMFOLDERNOTIFICATION_LOCAL)
// Notification window messages for changes in the local process
#define PIM_ITEM_CREATED_LOCAL (WM_APP + 0x100)
#define PIM_ITEM_DELETED_LOCAL (WM_APP + 0x101)
#define PIM_ITEM_CHANGED_LOCAL (WM_APP + 0x102)
#define PIM_ITEM_CREATED_REMOTE (WM_APP + 0x105)
#define PIM_ITEM_DELETED_REMOTE (WM_APP + 0x106)
#define PIM_ITEM_CHANGED_REMOTE (WM_APP + 0x107)
//RESERVED for system use: (WM_APP + 0x108)
#ifdef __cplusplus
extern "C"{
#endif
/* Forward Declarations */
#ifndef __IException_FWD_DEFINED__
#define __IException_FWD_DEFINED__
typedef interface IException IException;
#endif /* __IException_FWD_DEFINED__ */
#ifndef __IExceptions_FWD_DEFINED__
#define __IExceptions_FWD_DEFINED__
typedef interface IExceptions IExceptions;
#endif /* __IExceptions_FWD_DEFINED__ */
#ifndef __ITimeZone_FWD_DEFINED__
#define __ITimeZone_FWD_DEFINED__
typedef interface ITimeZone ITimeZone;
#endif /* __ITimeZone_FWD_DEFINED__ */
#ifndef __IRecurrencePattern_FWD_DEFINED__
#define __IRecurrencePattern_FWD_DEFINED__
typedef interface IRecurrencePattern IRecurrencePattern;
#endif /* __IRecurrencePattern_FWD_DEFINED__ */
#ifndef __IRecipient_FWD_DEFINED__
#define __IRecipient_FWD_DEFINED__
typedef interface IRecipient IRecipient;
#endif /* __IRecipient_FWD_DEFINED__ */
#ifndef __IPOlRecipient_FWD_DEFINED__
#define __IPOlRecipient_FWD_DEFINED__
typedef interface IPOlRecipient IPOlRecipient;
#endif /* __IPOlRecipient_FWD_DEFINED__ */
#ifndef __IRecipient2_FWD_DEFINED__
#define __IRecipient2_FWD_DEFINED__
typedef interface IRecipient2 IRecipient2;
#endif /* __IRecipient2_FWD_DEFINED__ */
#ifndef __IRecipients_FWD_DEFINED__
#define __IRecipients_FWD_DEFINED__
typedef interface IRecipients IRecipients;
#endif /* __IRecipients_FWD_DEFINED__ */
#ifndef __IPOutlookItemCollection_FWD_DEFINED__
#define __IPOutlookItemCollection_FWD_DEFINED__
typedef interface IPOutlookItemCollection IPOutlookItemCollection;
#endif /* __IPOutlookItemCollection_FWD_DEFINED__ */
#ifndef __IPOlItems_FWD_DEFINED__
#define __IPOlItems_FWD_DEFINED__
typedef interface IPOlItems IPOlItems;
#endif /* __IPOlItems_FWD_DEFINED__ */
#ifndef __IItem_FWD_DEFINED__
#define __IItem_FWD_DEFINED__
typedef interface IItem IItem;
#endif /* __IItem_FWD_DEFINED__ */
#ifndef __IContact_FWD_DEFINED__
#define __IContact_FWD_DEFINED__
typedef interface IContact IContact;
#endif /* __IContact_FWD_DEFINED__ */
#ifndef __ITask_FWD_DEFINED__
#define __ITask_FWD_DEFINED__
typedef interface ITask ITask;
#endif /* __ITask_FWD_DEFINED__ */
#ifndef __IAppointment_FWD_DEFINED__
#define __IAppointment_FWD_DEFINED__
typedef interface IAppointment IAppointment;
#endif /* __IAppointment_FWD_DEFINED__ */
#ifndef __ICity_FWD_DEFINED__
#define __ICity_FWD_DEFINED__
typedef interface ICity ICity;
#endif /* __ICity_FWD_DEFINED__ */
#ifndef __IFolder_FWD_DEFINED__
#define __IFolder_FWD_DEFINED__
typedef interface IFolder IFolder;
#endif /* __IFolder_FWD_DEFINED__ */
#ifndef __IPOutlookApp_FWD_DEFINED__
#define __IPOutlookApp_FWD_DEFINED__
typedef interface IPOutlookApp IPOutlookApp;
#endif /* __IPOutlookApp_FWD_DEFINED__ */
#ifndef __Exception_FWD_DEFINED__
#define __Exception_FWD_DEFINED__
#ifdef __cplusplus
typedef class Exception Exception;
#else
typedef struct Exception Exception;
#endif /* __cplusplus */
#endif /* __Exception_FWD_DEFINED__ */
#ifndef __Exceptions_FWD_DEFINED__
#define __Exceptions_FWD_DEFINED__
#ifdef __cplusplus
typedef class Exceptions Exceptions;
#else
typedef struct Exceptions Exceptions;
#endif /* __cplusplus */
#endif /* __Exceptions_FWD_DEFINED__ */
#ifndef __TimeZone_FWD_DEFINED__
#define __TimeZone_FWD_DEFINED__
#ifdef __cplusplus
typedef class TimeZone TimeZone;
#else
typedef struct TimeZone TimeZone;
#endif /* __cplusplus */
#endif /* __TimeZone_FWD_DEFINED__ */
#ifndef __RecurrencePattern_FWD_DEFINED__
#define __RecurrencePattern_FWD_DEFINED__
#ifdef __cplusplus
typedef class RecurrencePattern RecurrencePattern;
#else
typedef struct RecurrencePattern RecurrencePattern;
#endif /* __cplusplus */
#endif /* __RecurrencePattern_FWD_DEFINED__ */
#ifndef __Recipient_FWD_DEFINED__
#define __Recipient_FWD_DEFINED__
#ifdef __cplusplus
typedef class Recipient Recipient;
#else
typedef struct Recipient Recipient;
#endif /* __cplusplus */
#endif /* __Recipient_FWD_DEFINED__ */
#ifndef __Recipients_FWD_DEFINED__
#define __Recipients_FWD_DEFINED__
#ifdef __cplusplus
typedef class Recipients Recipients;
#else
typedef struct Recipients Recipients;
#endif /* __cplusplus */
#endif /* __Recipients_FWD_DEFINED__ */
#ifndef __Items_FWD_DEFINED__
#define __Items_FWD_DEFINED__
#ifdef __cplusplus
typedef class Items Items;
#else
typedef struct Items Items;
#endif /* __cplusplus */
#endif /* __Items_FWD_DEFINED__ */
#ifndef __ContactItem_FWD_DEFINED__
#define __ContactItem_FWD_DEFINED__
#ifdef __cplusplus
typedef class ContactItem ContactItem;
#else
typedef struct ContactItem ContactItem;
#endif /* __cplusplus */
#endif /* __ContactItem_FWD_DEFINED__ */
#ifndef __TaskItem_FWD_DEFINED__
#define __TaskItem_FWD_DEFINED__
#ifdef __cplusplus
typedef class TaskItem TaskItem;
#else
typedef struct TaskItem TaskItem;
#endif /* __cplusplus */
#endif /* __TaskItem_FWD_DEFINED__ */
#ifndef __AppointmentItem_FWD_DEFINED__
#define __AppointmentItem_FWD_DEFINED__
#ifdef __cplusplus
typedef class AppointmentItem AppointmentItem;
#else
typedef struct AppointmentItem AppointmentItem;
#endif /* __cplusplus */
#endif /* __AppointmentItem_FWD_DEFINED__ */
#ifndef __CityItem_FWD_DEFINED__
#define __CityItem_FWD_DEFINED__
#ifdef __cplusplus
typedef class CityItem CityItem;
#else
typedef struct CityItem CityItem;
#endif /* __cplusplus */
#endif /* __CityItem_FWD_DEFINED__ */
#ifndef __Folder_FWD_DEFINED__
#define __Folder_FWD_DEFINED__
#ifdef __cplusplus
typedef class Folder Folder;
#else
typedef struct Folder Folder;
#endif /* __cplusplus */
#endif /* __Folder_FWD_DEFINED__ */
#ifndef __Application_FWD_DEFINED__
#define __Application_FWD_DEFINED__
#ifdef __cplusplus
typedef class Application Application;
#else
typedef struct Application Application;
#endif /* __cplusplus */
#endif /* __Application_FWD_DEFINED__ */
/* header files for imported files */
#include "unknwn.h"
#include "oaidl.h"
/****************************************
* Generated header for interface: __MIDL_itf_pimstore_0000
* at Mon Dec 07 11:02:04 1998
* using MIDL 3.02.88
****************************************/
/* [local] */
#ifndef __IException_INTERFACE_DEFINED__
#define __IException_INTERFACE_DEFINED__
/****************************************
* Generated header for interface: IException
* at Mon Dec 07 11:02:04 1998
* using MIDL 3.02.88
****************************************/
/* [dual][full][helpstring][uuid][object] */
DEFINE_GUID(IID_IException, 0xb47398d0, 0x3b73, 0x11d2, 0x8f, 0x1b, 0x0, 0x0, 0xf8, 0x7a, 0x43, 0x35);
#if defined(__cplusplus) && !defined(CINTERFACE)
interface DECLSPEC_UUID("B47398D0-3B73-11d2-8F1B-0000F87A4335")
IException : public IDispatch
{
public:
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_AppointmentItem(
/* [retval][out] */ IAppointment __RPC_FAR *__RPC_FAR *ppAppt) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_OriginalDate(
/* [retval][out] */ DATE __RPC_FAR *pdate) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Deleted(
/* [retval][out] */ VARIANT_BOOL __RPC_FAR *pfDeleted) = 0;
virtual /* [propget] */ HRESULT STDMETHODCALLTYPE get_Application(
/* [retval][out] */ IPOutlookApp __RPC_FAR *__RPC_FAR *polApp) = 0;
};
#else /* C style interface */
typedef struct IExceptionVtbl
{
BEGIN_INTERFACE
HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
IException __RPC_FAR * This,
/* [in] */ REFIID riid,
/* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
IException __RPC_FAR * This);
ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
IException __RPC_FAR * This);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -