File Index Symbol Index

#include <winapifamily.h>
#if _MSC_VER >= 1200
#pragma warning(push)
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: OLE2.h
// Contents: Main OLE2 header; Defines Linking and Emmebbeding interfaces, and API's.
// Also includes .h files for the compobj, and oleauto subcomponents.
//
//----------------------------------------------------------------------------
#if !defined( _OLE2_H_ )
#define _OLE2_H_
#if _MSC_VER > 1000
#pragma once
#endif
// Set packing to 8
#include <pshpack8.h>
// Make 100% sure WIN32 is defined
#ifndef WIN32
#define WIN32 100 // 100 == NT version 1.0
#endif
// SET to remove _export from interface definitions
#include <winerror.h> #include <objbase.h> #include <oleauto.h>
#include <coml2api.h>
// View OBJECT Error Codes
#define E_DRAW VIEW_E_DRAW
// IDataObject Error Codes
#define DATA_E_FORMATETC DV_E_FORMATETC
// Common stuff gleamed from OLE.2,
/* verbs */
#define OLEIVERB_PRIMARY (0L)
#define OLEIVERB_SHOW (-1L)
#define OLEIVERB_OPEN (-2L)
#define OLEIVERB_HIDE (-3L)
#define OLEIVERB_UIACTIVATE (-4L)
#define OLEIVERB_INPLACEACTIVATE (-5L)
#define OLEIVERB_DISCARDUNDOSTATE (-6L)
// for OleCreateEmbeddingHelper flags; roles in low word; options in high word
#define EMBDHLP_INPROC_HANDLER 0x0000L
#define EMBDHLP_INPROC_SERVER 0x0001L
#define EMBDHLP_CREATENOW 0x00000000L
#define EMBDHLP_DELAYCREATE 0x00010000L
/* extended create function flags */
#define OLECREATE_LEAVERUNNING 0x00000001
/* pull in the MIDL generated header */
#include <oleidl.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
/****** DV APIs ***********************************************************/
/* This function is declared in objbase.h and ole2.h. IsolationAware support is via objbase.h. */
#if !defined(ISOLATION_AWARE_ENABLED) \
/****** OLE API Prototypes ************************************************/
/* init/term */
/* APIs to query whether (Embedded/Linked) object can be created from the data object */
/* Object creation APIs */
_Check_return_
_Check_return_
_Check_return_
_Check_return_
/* Drag/Drop APIs */
/* Clipboard APIs */
#if (NTDDI_VERSION >= NTDDI_WIN10_RS1)
/* InPlace Editing APIs */
/* Helper APIs */
/* Icon extraction Helper APIs */
/* Registration Database Helper APIs */
/* OLE 1.0 conversion APIS */
/***** OLE 1.0 OLESTREAM declarations *************************************/
typedef
struct
_OLESTREAMVTBL
{ }
OLESTREAMVTBL
;
typedef
struct
_OLESTREAM
{
LPOLESTREAMVTBL
lpstbl
; }
OLESTREAM
;
/* ConvertTo APIS */
// Presentation data to OLESTREAM
// Presentation data from OLESTREAM
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#ifndef RC_INVOKED #include <poppack.h> #endif // RC_INVOKED
#endif // __OLE2_H__
#if _MSC_VER >= 1200
#pragma warning(pop)
#endif