File Index Symbol Index

#include <winapifamily.h>
//+---------------------------------------------------------------------------
//
// Microsoft Windows
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// File: objbase.h
//
// Contents: Component object model definitions.
//
//----------------------------------------------------------------------------
#include <rpc.h>
#include <rpcndr.h>
#if !defined( _OBJBASE_H_ )
#define _OBJBASE_H_
#if _MSC_VER > 1000
#pragma once
#endif
#include <pshpack8.h> #include <combaseapi.h> #include <coml2api.h>
// COM initialization flags; passed to CoInitialize.
typedef
enum
tagCOINIT
{
COINIT_APARTMENTTHREADED
=
0x2
,
// Apartment model
#if (_WIN32_WINNT >= 0x0400 ) || defined(_WIN32_DCOM) // DCOM
// These constants are only valid on Windows NT 4.0
COINIT_MULTITHREADED
=
COINITBASE_MULTITHREADED
,
COINIT_DISABLE_OLE1DDE
=
0x4
,
// Don't use DDE for Ole1 support.
COINIT_SPEED_OVER_MEMORY
=
0x8
,
// Trade memory for speed.
#endif // DCOM
}
COINIT
;
// interface marshaling definitions
#define MARSHALINTERFACE_MIN 500 // minimum number of bytes for interface marshal
/* flags for internet asynchronous and layout docfile */
#define ASYNC_MODE_COMPATIBILITY 0x00000001L
#define ASYNC_MODE_DEFAULT 0x00000000L
#define STGTY_REPEAT 0x00000100L
#define STG_TOEND 0xFFFFFFFFL
#define STG_LAYOUT_SEQUENTIAL 0x00000000L
#define STG_LAYOUT_INTERLEAVED 0x00000001L
#include <objidl.h>
#ifdef _OLE32_
#ifdef _OLE32PRIV_
BOOL _fastcall wIsEqualGUID(REFGUID rguid1, REFGUID rguid2);
#define IsEqualGUID(rguid1, rguid2) wIsEqualGUID(rguid1, rguid2)
#else
#define __INLINE_ISEQUAL_GUID
#endif // _OLE32PRIV_
#endif // _OLE32_
#pragma region Desktop Partition
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
/****** STD Object API Prototypes *****************************************/
/* init/uninit */
#define COM_SUPPORT_MALLOC_SPIES
#if (_WIN32_WINNT >= 0x0501)
// COM System Security Descriptors (used when the corresponding registry
// entries are absent)
typedef
enum
tagCOMSD
{
SD_LAUNCHPERMISSIONS
=
0
,
// Machine wide launch permissions
SD_ACCESSPERMISSIONS
=
1
,
// Machine wide acesss permissions
SD_LAUNCHRESTRICTIONS
=
2
,
// Machine wide launch limits
SD_ACCESSRESTRICTIONS
=
3
// Machine wide access limits
}
COMSD
;
#endif
/* dll loading helpers; keeps track of ref counts and unloads all on exit */
#if (_WIN32_WINNT >= 0x0400 ) || defined(_WIN32_DCOM) // DCOM
#endif // DCOM
/* Call related APIs */
#if (_WIN32_WINNT >= 0x0500 ) || defined(_WIN32_DCOM) // DCOM
#endif
/* other helpers */
#if (_WIN32_WINNT >= 0x0400 ) || defined(_WIN32_DCOM) // DCOM
/* TreatAs APIS */
/****** DV APIs ***********************************************************/
/****** Storage API Prototypes ********************************************/
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion #pragma region Desktop Partition
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion #pragma region PC Application Partition
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PC_APP)
//
// Moniker APIs
//
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PC_APP) */
#pragma endregion #pragma region Desktop Partition
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#include <urlmon.h> #include <propidl.h>
#pragma region Desktop Partition
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
//
// Standard Progress Indicator implementation
//
#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion
#ifndef RC_INVOKED #include <poppack.h> #endif // RC_INVOKED
#endif // __OBJBASE_H__