在好例子网,分享、交流、成长!
您当前所在位置:首页C/C++ 开发实例Windows系统编程 → com组件.pdf(共907页)

com组件.pdf(共907页)

Windows系统编程

下载此实例
  • 开发语言:C/C++
  • 实例大小:4.84M
  • 下载次数:12
  • 浏览次数:121
  • 发布时间:2020-11-27
  • 实例类别:Windows系统编程
  • 发 布 人:PandaLee
  • 文件格式:.pdf
  • 所需积分:2
 相关标签: COM组件 COM 组件

实例介绍

【实例简介】
【实例截图】

【核心代码】

Contents
Component Object Model (COM)
COM Fundamentals
Guide
What's New in COM
Changes to COM in Windows 7
Changes to COM in Windows Vista
The Component Object Model
COM Technical Overview
COM Objectsand Interfaces
Interfacesand Interface Implementations
Interface Pointersand Interfaces
IUnknown and Interface Inheritance
Using and Implementing IUnknown
QueryInterface: Navigating in an Object
Rules for Implementing QueryInterface
Managing Object Lifetimes Through Reference Counting
Reusing Objects
Containment/Delegation
Aggregation
The COM Library
Managing Memory Allocation
The OLE Memory Allocator
Memory Management Rules
Debugging Memory Allocations
Processes, Threads, and Apartments
Choosing the Threading Model
Single-Threaded Apartments
Multithreaded Apartments
Single-Threaded and Multithreaded Communication
In-ProcessServer Threading Issues
Accessing Interfaces Across Apartments
Creating the Global Interface Table
When to Use the Global Interface Table
COM Clientsand Servers
Getting a Pointer to an Object
Creating an ObjectThrough a Class Object
COM Class Objectsand CLSIDs
Locating a Remote Object
Instance Creation Helper Functions
COM Server Responsibilities
Implementing IClassFactory
Licensing and IClassFactory2
Registering COM Servers
Out-of-ProcessServer Implementation Helpers
GUID Creation and Optimizations
Persistent ObjectState
Persistent Object Interfaces
Initializing Persistent Objects
Providing Class Information
Inter-Object Communication
Marshaling Details
Proxy
Stub
Channel
Microsoft RPC
Making and Processing Asynchronous Calls
Making an Asynchronous Call
ClientSecurity During an Asynchronous Call
Impersonation and Asynchronous Calls
Canceling an Asynchronous Call
Canceling Method Calls
Call Synchronization
Defining COM Interfaces
Interface Marshaling
Anatomy of an IDL File
MIDL Compilation
MIDL Compiler Options
Loading and Registering a Type Library
Building and Registering a Proxy DLL
Interface Design Rules
Designing Remotable Interfaces
Using a COM Interface
Registering COM Applications
Registry Hierarchy
Classesand Servers
Classifying Components
Using OleView
Registering Components
Checking Registration
Unknown User Types
COM Registry Keys
Security in COM
Determining Your Security Needs
COM Security Defaults
Activation Security
Security Values
Authentication Level
Delegation and Impersonation
Application Identity
Software Restriction Policy
Reference Tracking
Setting Security for COM Applications
Modifying the Security Defaults for a Computer
Setting Process-Wide Security
Setting Security at the Interface Proxy Level
Enabling COM Security Using DCOMCNFG
Turning Off Security
Turning Off Activation Security
Turning Off Call Security
Server-Side Security
Security Blanket Negotiation
COM and Security Packages
NTLMSSP
Kerberos v5 Protocol
Schannel
Snego
DCOM Security Enhancements in Windows XP Service Pack 2 and Windows
Server 2003 Service Pack 1
Access Control Lists for COM
The COM Elevation Moniker
Error Handling in COM
Structure of COM Error Codes
Codes in FACILITY_ITF
Using Macros for Error Handling
COM Error Handling in Javaand Visual Basic
Returning Error Information
Retrieving Error Information
Error Handling Strategies
Handling Unknown Errors
COM Handlers
The OLE Handler
The Lightweight Client-Side Handler
Implementing and Activating a Handler with No Extra Server Data
Implementing and Activating a Handler with Extra Data Supplied by Server
Delegation of QueryInterface
DLL Surrogates
DLL Server Requirements
Surrogate Sharing
Registering the DLL Server for Surrogate Activation
Using the System-Supplied Surrogate
Writing a Custom Surrogate
Monikers
Moniker Clients
Moniker Providers
OLE Moniker Implementations
File Monikers
Composite Monikers
Item Monikers
Anti-Monikers
Pointer Monikers
Class Monikers
Asynchronous Monikers
URL Monikers
Events in COM and Connectable Objects
Architecture of Connectable Objects
Connectable Object Interfaces
Using IConnectionPointContainer
Using IConnectionPoint
Using IProvideClassInfo
Component Categories Manager Implementation
Categorizing by Component Capabilities
Categorizing by Container Capabilities
The Component Categories Manager
Default Classesand Associations
Defining Component Categories
Associating Icons with a Category
Reference
Constants
Access Flags
Authentication Level Constants
Authentication Service Constants
Authorization Constants
COM Error Codes
COM Error Codes (Generic)
COM Error Codes (XACT, SCHED, OLE)
COM Error Codes (STG, RPC)
COM Error Codes (Security and Setup)
COM Error Codes (COMADMIN, FILTER, GRAPHICS)
COM Error Codes (TPM, PLA, FVE)
COM Error Codes (FWP, WS, NDIS, HyperV)
COM Error Codes (VOLMGR, BCD, VHD, SDIAG)
COM Error Codes (WPN, MBN, P2P, Bluetooth)
COM Error Codes (UI, Audio, DirectX, Codec)
Impersonation Level Constants
Enumerations
CWMO_FLAGS
APTTYPE
APTTYPEQUALIFIER
BIND_FLAGS
BINDSPEED
CALLFRAME_COPY
CALLFRAME_FREE
CALLFRAME_NULL
CALLFRAME_WALK
CALLTYPE
CLSCTX
CO_MARSHALING_CONTEXT_ATTRIBUTES
COINIT
COMSD
COWAIT_FLAGS
EOC_ChangeType
EOLE_AUTHENTICATION_CAPABILITIES
EXTCONN
GLOBALOPT_PROPERTIES
GLOBALOPT_UNMARSHALING_POLICY_VALUES
MKRREDUCE
MKSYS
MSHCTX
MSHLFLAGS
PENDINGMSG
PENDINGTYPE
RECORD_READING_POLICY
REGCLS
SERVERCALL
THDTYPE
TYSPEC
Interfaces
IAccessibilityDockingService
GetAvailableSize method
DockWindow method
UndockWindow method
IAccessibilityDockingServiceCallback
Undocked method
IAccessControl
GetAllAccessRights Method
GrantAccessRights Method
IsAccessAllowed Method
RevokeAccessRights Method
SetAccessRights Method
SetOwner Method
IAgileObject
IBindCtx
EnumObjectParam Method
GetBindOptions Method
GetObjectParam Method
GetRunningObjectTable Method
RegisterObjectBound Method
RegisterObjectParam Method
ReleaseBoundObjects Method
RevokeObjectBound Method
RevokeObjectParam Method
SetBindOptions Method
IBlockingLock
Lock Method
Unlock Method
ICallFactory
CreateCall Method
ICallFrame
Copy Method
Free Method
FreeParam Method
GetIIDAndMethod Method
GetInfo Method
GetMarshalSizeMax Method
GetNames Method
GetParam Method
GetParamInfo Method
GetReturnValue Method
GetStackLocation Method
Invoke Method
Marshal Method
ReleaseMarshalData Method
SetParam Method
SetReturnValue Method
SetStackLocation Method
Unmarshal Method
WalkFrame Method
ICallFrameEvents
OnCall Method
ICallFrameWalker
OnWalkInterface Method
ICallIndirect
CallIndirect Method
GetIID Method
GetMethodInfo Method
GetStackSize Method
ICallInterceptor
GetRegisteredSink Method
RegisterSink Method
ICallUnmarshal
ReleaseMarshalData Method
Unmarshal Method
ICancelMethodCalls
Cancel Method
TestCancel Method
ICatInformation
EnumCategories Method
EnumClassesOfCategories Method
EnumImplCategoriesOfClass Method
EnumReqCategoriesOfClass Method
GetCategoryDesc Method
IsClassOfCategories Method
ICatRegister
RegisterCategories Method
RegisterClassImplCategories Method
RegisterClassReqCategories Method
UnRegisterCategories Method
UnRegisterClassImplCategories Method
UnRegisterClassReqCategories Method
IClassActivator
GetClassObject Method
IClassFactory
CreateInstance Method
LockServer Method
IClassFactory2
CreateInstanceLic Method
GetLicInfo Method
RequestLicKey Method
IClientSecurity
CopyProxy Method
QueryBlanket Method
SetBlanket Method
IComThreadingInfo
GetCurrentApartmentType Method
GetCurrentLogicalThreadId Method
GetCurrentThreadType Method
SetCurrentLogicalThreadId Method
IConnectionPoint
Advise Method
EnumConnections Method
GetConnectionInterface Method
GetConnectionPointContainer Method
Unadvise Method
IConnectionPointContainer
EnumConnectionPoints Method
FindConnectionPoint Method
IContext
EnumContextProps Method
GetProperty Method
RemoveProperty Method
SetProperty Method
IContextCallback
ContextCallback Method
IContinueCallback
FContinue Method
FContinuePrinting Method
IEnumCATEGORYINFO
Clone Method
Next Method
Reset Method
Skip Method
IEnumConnectionPoints
Clone Method
Next Method
Reset Method
Skip Method
IEnumConnections
Clone Method
Next Method
Reset Method
Skip Method
IEnumContextProps
Clone Method
Count Method
Next Method
Reset Method
Skip Method
IEnumGUID
Clone Method
Next Method
Reset Method
Skip Method
IEnumString
Clone Method
Next Method
Reset Method
Skip Method
IEnumUnknown
Clone Method
Next Method
Reset Method
Skip Method
IEventProperty
Name Property
Value Property
IEventPublisher
Description Property
GetDefaultProperty Method
GetDefaultPropertyCollection Method
OwnerSID Property
PublisherID Property
PublisherName Property
PublisherType Property
PutDefaultProperty Method
RemoveDefaultProperty Method
IExternalConnection
AddConnection Method
ReleaseConnection Method
IFastRundown
IFileBasedLogInit
InitNew Method
IForegroundTransfer
AllowForegroundTransfer Method
IGlobalInterfaceTable
GetInterfaceFromGlobal Method
RegisterInterfaceInGlobal Method
RevokeInterfaceFromGlobal Method
IGlobalOptions
Query Method
Set Method
IInitializeSpy
PostInitialize Method
PostUninitialize Method
PreInitialize Method
PreUninitialize Method
IInternalUnknown
QueryInternalInterface Method
ILog
AppendRecord Method
Force Method
GetLogLimits Method
ReadRecord Method
ReadRecordPrefix Method
SetAccessPolicyHint Method
TruncatePrefix Method
IMalloc
Alloc Method
DidAlloc Method
Free Method
GetSize Method
HeapMinimize Method
Realloc Method
IMallocSpy
PostAlloc Method
PostDidAlloc Method
PostFree Method
PostGetSize Method
PostHeapMinimize Method
PostRealloc Method
PreAlloc Method
PreDidAlloc Method
PreFree Method
PreGetSize Method
PreHeapMinimize Method
PreRealloc Method
IMarshal
DisconnectObject Method
GetMarshalSizeMax Method
GetUnmarshalClass Method
MarshalInterface Method
ReleaseMarshalData Method
UnmarshalInterface Method
IMarshalingStream
GetMarshalingContextAttribute method
IMessageDispatcher
PumpMessages method
IMessageFilter
HandleInComingCall Method
MessagePending Method
RetryRejectedCall Method
IMoniker
BindToObject Method
BindToStorage Method
CommonPrefixWith Method
ComposeWith Method
Enum Method
GetDisplayName Method
GetTimeOfLastChange Method
Hash Method
Inverse Method
IsEqual Method
IsRunning Method
IsSystemMoniker Method
ParseDisplayName Method
Reduce Method
RelativePathTo Method
IMultiQI
QueryMultipleInterfaces Method
INoMarshal
IObjContext
IOleItemContainer
GetObject Method
GetObjectStorage Method
IsRunning Method
IOrpcDebugNotify
ClientGetBufferSize Method
ClientFillBuffer Method
ClientNotify Method
ServerNotify Method
ServerGetBufferSize Method
ServerFillBuffer Method
IParseDisplayName
ParseDisplayName Method
IPersist
GetClassID Method
IPersistFile
GetCurFile Method
IsDirty Method
Load Method
Save Method
SaveCompleted Method
IPersistStorage
HandsOffStorage Method
InitNew Method
IsDirty Method
Load Method
Save Method
SaveCompleted Method
IPersistStream
GetSizeMax Method
IsDirty Method
Load Method
Save Method
IPersistStreamInit
GetSizeMax Method
InitNew Method
IsDirty Method
Load Method
Save Method
IPipeByte
Pull Method
Push Method
IPipeDouble
Pull Method
Push Method
IPipeLong
Pull Method
Push Method
IProcessInitControl
ResetInitializerTimeout Method
IProcessLock
AddRefOnProcess Method
ReleaseRefOnProcess Method
IProgressNotify
OnProgress Method
IProvideClassInfo
GetClassInfo Method
IProvideClassInfo2
GetGUID Method
IProvideMultipleClassInfo
GetInfoOfIndex Method
GetMultiTypeInfoCount Method
IPSFactoryBuffer
CreateProxy Method
CreateStub Method
IROTData
GetComparisonData Method
IRpcChannelBuffer
FreeBuffer Method
GetBuffer Method
GetDestCtx Method
IsConnected Method
SendReceive Method
IRpcOptions
Query Method
Set Method
IRpcProxyBuffer
Connect Method
Disconnect Method
IRpcStubBuffer
Connect Method
CountRefs Method
DebugServerQueryInterface Method
DebugServerRelease Method
Disconnect Method
Invoke Method
IsIIDSupported Method
IRunnableObject
GetRunningClass Method
IsRunning Method
LockRunning Method
Run Method
SetContainedObject Method
IRunningObjectTable
EnumRunning Method
GetObject Method
GetTimeOfLastChange Method
IsRunning Method
NoteChangeTime Method
Register Method
Revoke Method
IServerSecurity
ImpersonateClient Method
IsImpersonating Method
QueryBlanket Method
RevertToSelf Method
IStdMarshalInfo
GetClassForHandler Method
ISurrogate
FreeSurrogate Method
LoadDllServer Method
ISurrogateService
ApplicationFree Method
ApplicationLaunch Method
CatalogRefresh Method
Init Method
ProcessShutdown Method
ISynchronize
Reset Method
Signal Method
Wait Method
ISynchronizeContainer
AddSynchronize Method
WaitMultiple Method
ISynchronizeEvent
SetEventHandle Method
ISynchronizeHandle
GetHandle Method
IUnknown
AddRef Method
QueryInterface Method
Release Method
Macros
FAILED
HRESULT_CODE
HRESULT_FACILITY
HRESULT_FROM_NT
HRESULT_FROM_WIN32
HRESULT_SEVERITY
IS_ERROR
MAKE_HRESULT
MAKE_SCODE
OLESTR
SCODE_CODE
SCODE_FACILITY
SCODE_SEVERITY
SUCCEEDED
Registry Entries
HKEY_LOCAL_MACHINE_SOFTWARE\Classes
AppID Key
CLSID Key
<file_extension> Key
FileType Key
Interface Key
<ProgID> Key
<version-independent ProgID> Key
HKEY_LOCAL_MACHINE_SOFTWARE\Microsoft\Ole
ActivationFailureLoggingLevel
CallFailureLoggingLevel
DCOMSCMRemoteCallFlags
DefaultAccessPermission
DefaultLaunchPermission
DoNotAddAllApplicationPackagesToRestrictions
EnableDCOM
InvalidSecurityDescriptorLoggingLevel
LegacyAuthenticationLevel
LegacyImpersonationLevel
LegacySecureReferences
MachineAccessRestriction
MachineLaunchRestriction
NONREDIST
SRPActivateAsActivatorChecks
SRPRunningObjectChecks
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
DebugObjectRPCEnabled
Structures
ACTRL_ACCESS
ACTRL_ACCESS_ENTRY
ACTRL_ACCESS_ENTRY_LIST
ACTRL_PROPERTY_ENTRY
BIND_OPTS
BIND_OPTS2
BIND_OPTS3
CALLFRAME_MARSHALCONTEXT
CALLFRAMEINFO
CALLFRAMEPARAMINFO
CATEGORYINFO
COAUTHIDENTITY
COAUTHINFO
CONNECTDATA
COSERVERINFO
CSPLATFORM
INTERFACEINFO
MULTI_QI
ORPC_DBG_ALL
ORPC_DBG_BUFFER
ORPC_INIT_ARGS
QUERYCONTEXT
RPCOLEMESSAGE
SOLE_AUTHENTICATION_INFO
SOLE_AUTHENTICATION_LIST
SOLE_AUTHENTICATION_SERVICE
SOleTlsData
Functions
BindMoniker
CLSIDFromProgID
CLSIDFromProgIDEx
CLSIDFromString
CoAddRefServerProcess
CoAllowSetForegroundWindow
CoAllowUnmarshalerCLSID
CoCancelCall
CoCopyProxy
CoCreateFreeThreadedMarshaler
CoCreateGuid
CoCreateInstance
CoCreateInstanceEx
CoCreateInstanceFromApp
CoDecrementMTAUsage
CoDisableCallCancellation
CoDisconnectContext
CoDisconnectObject
CoDosDateTimeToFileTime
CoEnableCallCancellation
CoFileTimeNow
CoFileTimeToDosDateTime
CoFreeAllLibraries
CoFreeLibrary
CoFreeUnusedLibraries
CoFreeUnusedLibrariesEx
CoGetApartmentType
CoGetCallContext
CoGetCallerTID
CoGetCancelObject
CoGetClassObject
CoGetContextToken
CoGetCurrentLogicalThreadId
CoGetCurrentProcess
CoGetInstanceFromFile
CoGetInstanceFromIStorage
CoGetInterceptor
CoGetInterfaceAndReleaseStream
CoGetMalloc
CoGetMarshalSizeMax
CoGetObject
CoGetObjectContext
CoGetPSClsid
CoGetStandardMarshal
CoGetStdMarshalEx
CoGetSystemSecurityPermissions
CoGetTreatAsClass
CoHandlePriorityEventsFromMessagePump
CoImpersonateClient
CoIncrementMTAUsage
CoInitialize
CoInitializeEx
CoInitializeSecurity
CoInstall
CoInvalidateRemoteMachineBindings
CoIsHandlerConnected
CoIsOle1Class
CoLoadLibrary
CoLockObjectExternal
CoMarshalHresult
CoMarshalInterface
CoMarshalInterThreadInterfaceInStream
CoQueryAuthenticationServices
CoQueryClientBlanket
CoQueryProxyBlanket
CoRegisterActivationFilter
CoRegisterChannelHook
CoRegisterClassObject
CoRegisterInitializeSpy
CoRegisterMallocSpy
CoRegisterMessageFilter
CoRegisterPSClsid
CoRegisterSurrogate
CoReleaseMarshalData
CoReleaseServerProcess
CoResumeClassObjects
CoRevertToSelf
CoRevokeClassObject
CoRevokeInitializeSpy
CoRevokeMallocSpy
CoSetCancelObject
CoSetMessageDispatcher
CoSetProxyBlanket
CoSuspendClassObjects
CoSwitchCallContext
CoTaskMemAlloc
CoTaskMemFree
CoTaskMemRealloc
CoTestCancel
CoTreatAsClass
CoUninitialize
CoUnmarshalHresult
CoUnmarshalInterface
CoWaitForMultipleHandles
CoWaitForMultipleObjects
CreateAntiMoniker
CreateAsyncBindCtx
CreateBindCtx
CreateClassMoniker
CreateFileMoniker
CreateGenericComposite
CreateItemMoniker
CreateObjrefMoniker
CreatePointerMoniker
LPFNCANUNLOADNOW
DllDebugObjectRPCHook
DllGetClassObject
DllRegisterServer
DllUnregisterServer
GetClassFile
GetRunningObjectTable
IIDFromString
Initialize
IsAccelerator
IsEqualCLSID
IsEqualGUID
IsEqualIID
MkParseDisplayName
MonikerCommonPrefixWith
MonikerRelativePathTo
OleBuildVersion
OleDoAutoConvert
OleGetAutoConvert
OleGetIconOfClass
OleGetIconOfFile
OleIconToCursor
OleRegGetMiscStatus
OleRegGetUserType
OleSetAutoConvert
ProgIDFromCLSID
StringFromCLSID
StringFromGUID2
StringFromIID
OLE and Data Transfer
Guide
Guide
Compound Documents
Containersand Servers
Linking and Embedding
Linked Objects
Embedded Objects
Object Handlers
The Default Handler and Custom Handlers
In-ProcessServers
Advantages
Disadvantages
Linked Objectsand Monikers
Notifications
Types of Notifications
How Notifications Work
Compound Document Interfaces
ObjectStates
Entering the Loaded State
Entering the Running State
Entering the Passive State
Implementing In-Place Activation
Creating Linked and Embedded Objects from Existing Data
View Caching
Data Transfer
Data Transfer Interfaces
Data Formatsand Transfer Media
The FORMATETC Structure
The STGMEDIUM Structure
Drag and Drop
Drag Source Responsibilities
Data Notification
Reference
Constants
DROPEFFECT Constants
Enumerations
ACTIVATEFLAGS
ADVF
DATADIR
DISCARDCACHE
DOCMISC
DVASPECT
DVASPECT2
DVASPECTINFOFLAG
DVEXTENTMODE
HITRESULT
OLECLOSE
OLECMDEXECOPT
OLECMDF
OLECMDID
OLECMDID_WINDOWSTATE_FLAG
OLECMDTEXTF
OLECONTF
OLEDCFLAGS
OLEGETMONIKER
OLELINKBIND
OLEMISC
OLERENDER
OLEUIPASTEFLAG
OLEUPDATE
OLEVERBATTRIB
OLEWHICHMK
TYMED
UASFLAGS
USERCLASSTYPE
VIEWSTATUS
Functions
CreateDataAdviseHolder
CreateDataCache
CreateFormatEnumerator
CreateOleAdviseHolder
DoDragDrop
OleCreate
OleCreateDefaultHandler
OleCreateEmbeddingHelper
OleCreateEx
OleCreateFontIndirect
OleCreateFromData
OleCreateFromDataEx
OleCreateFromFile
OleCreateFromFileEx
OleCreateLink
OleCreateLinkEx
OleCreateLinkFromData
OleCreateLinkFromDataEx
OleCreateLinkToFile
OleCreateLinkToFileEx
OleCreateMenuDescriptor
OleCreatePictureIndirect
OleCreateStaticFromData
OleDestroyMenuDescriptor
OleDraw
OleDuplicateData
OleFlushClipboard
OleGetClipboard
OleGetClipboardWithEnterpriseInfo
OleInitialize
OleIsCurrentClipboard
OleIsRunning
OleLoad
OleLoadFromStream
OleLoadPicture
OleLoadPictureEx
OleLockRunning
OleMetafilePictFromIconAndLabel
OleNoteObjectVisible
OleQueryCreateFromData
OleQueryLinkFromData
OleRegEnumFormatEtc
OleRegEnumVerbs
OleRun
OleSave
OleSaveToStream
OleSetClipboard
OleSetContainedObject
OleSetMenuDescriptor
OleTranslateAccelerator
OleUIAddVerbMenu
OleUIBusy
OleUICanConvertOrActivateAs
OleUIChangeIcon
OleUIChangeSource
OleUIConvert
OleUIEditLinks
OleUIInsertObject
OleUIObjectProperties
OleUIPasteSpecial
OleUIPromptUser
OleUIUpdateLinks
OleUninitialize
RegisterDragDrop
ReleaseStgMedium
RevokeDragDrop
Interfaces
IAdviseSink
OnClose Method
OnDataChange Method
OnRename Method
OnSave Method
OnViewChange Method
IAdviseSink2
OnLinkSrcChange Method
IAdviseSinkEx
OnViewStatusChange Method
IDataAdviseHolder
Advise Method
EnumAdvise Method
SendOnDataChange Method
Unadvise Method
IDataObject
DAdvise Method
DUnadvise Method
EnumDAdvise Method
EnumFormatEtc Method
GetCanonicalFormatEtc Method
GetData Method
GetDataHere Method
QueryGetData Method
SetData Method
IDropSource
GiveFeedback Method
QueryContinueDrag Method
IDropSourceNotify
DragEnterTarget Method
DragLeaveTarget Method
IDropTarget
DragEnter Method
DragLeave Method
DragOver Method
Drop Method
IEnterpriseDropTarget
SetDropSourceEnterpriseId method
IsEvaluatingEdpPolicy method
IEnumFORMATETC
Clone Method
Next Method
Reset Method
Skip Method
IEnumMoniker
Clone Method
Next Method
Reset Method
Skip Method
IEnumOleDocumentViews
Clone Method
Next Method
Reset Method
Skip Method
IEnumOleUndoUnits
Clone Method
Next Method
Reset Method
Skip Method
IEnumOLEVERB
Clone Method
Next Method
Reset Method
Skip Method
IEnumSTATDATA
Clone Method
Next Method
Reset Method
Skip Method
IObjectWithSite
GetSite Method
SetSite Method
IOleAdviseHolder
Advise Method
EnumAdvise Method
SendOnClose Method
SendOnRename Method
SendOnSave Method
Unadvise Method
IOleCache
Cache Method
EnumCache Method
InitCache Method
SetData Method
Uncache Method
IOleCache2
DiscardCache Method
UpdateCache Method
IOleCacheControl
OnRun Method
OnStop Method
IOleClientSite
GetContainer Method
GetMoniker Method
OnShowWindow Method
RequestNewObjectLayout Method
SaveObject Method
ShowObject Method
IOleCommandTarget
Exec Method
QueryStatus Method
IOleContainer
EnumObjects Method
LockContainer Method
IOleDocument
CreateView Method
EnumViews Method
GetDocMiscStatus Method
IOleDocumentSite
ActivateMe Method
IOleDocumentView
ApplyViewState Method
Clone Method
CloseView Method
GetDocument Method
GetInPlaceSite Method
GetRect Method
Open Method
SaveViewState Method
SetInPlaceSite Method
SetRect Method
SetRectComplex Method
Show Method
UIActivate Method
IOleInPlaceActiveObject
EnableModeless Method
OnDocWindowActivate Method
OnFrameWindowActivate Method
ResizeBorder Method
TranslateAccelerator Method
IOleInPlaceFrame
EnableModeless Method
InsertMenus Method
RemoveMenus Method
SetMenu Method
SetStatusText Method
TranslateAccelerator Method
IOleInPlaceObject
InPlaceDeactivate Method
ReactivateAndUndo Method
SetObjectRects Method
UIDeactivate Method
IOleInPlaceObjectWindowless
GetDropTarget Method
OnWindowMessage Method
IOleInPlaceSite
CanInPlaceActivate Method
DeactivateAndUndo Method
DiscardUndoState Method
GetWindowContext Method
OnInPlaceActivate Method
OnInPlaceDeactivate Method
OnPosRectChange Method
OnUIActivate Method
OnUIDeactivate Method
Scroll Method
IOleInPlaceSiteEx
OnInPlaceActivateEx Method
OnInPlaceDeactivateEx Method
RequestUIActivate Method
IOleInPlaceSiteWindowless
AdjustRect Method
CanWindowlessActivate Method
GetCapture Method
GetDC Method
GetFocus Method
InvalidateRect Method
InvalidateRgn Method
OnDefWindowMessage Method
ReleaseDC Method
ScrollRect Method
SetCapture Method
SetFocus Method
IOleInPlaceUIWindow
GetBorder Method
RequestBorderSpace Method
SetActiveObject Method
SetBorderSpace Method
IOleLink
BindIfRunning Method
BindToSource Method
GetBoundSource Method
GetSourceDisplayName Method
GetSourceMoniker Method
GetUpdateOptions Method
SetSourceDisplayName Method
SetSourceMoniker Method
SetUpdateOptions Method
UnbindSource Method
Update Method
IOleObject
Advise Method
Close Method
DoVerb Method
EnumAdvise Method
EnumVerbs Method
GetClientSite Method
GetClipboardData Method
GetExtent Method
GetMiscStatus Method
GetMoniker Method
GetUserClassID Method
GetUserType Method
InitFromData Method
IsUpToDate Method
SetClientSite Method
SetColorScheme Method
SetExtent Method
SetHostNames Method
SetMoniker Method
Unadvise Method
Update Method
IOleParentUndoUnit
Add Method
Close Method
FindUnit Method
GetParentState Method
Open Method
IOleUILinkContainer
CancelLink Method
GetLinkSource Method
GetLinkUpdateOptions Method
GetNextLink Method
OpenLinkSource Method
SetLinkSource Method
SetLinkUpdateOptions Method
UpdateLink Method
IOleUILinkInfo
GetLastUpdate Method
IOleUIObjInfo
ConvertObject Method
GetConvertInfo Method
GetObjectInfo Method
GetViewInfo Method
SetViewInfo Method
IOleUndoManager
Add Method
Close Method
DiscardFrom Method
Enable Method
EnumRedoable Method
EnumUndoable Method
GetLastRedoDescription Method
GetLastUndoDescription Method
GetOpenParentState Method
Open Method
RedoTo Method
UndoTo Method
IOleUndoUnit
Do Method
GetDescription Method
GetUnitType Method
OnNextAdd Method
IOleWindow
ContextSensitiveHelp Method
GetWindow Method
IViewObject
Draw Method
Freeze Method
GetAdvise Method
GetColorSet Method
SetAdvise Method
Unfreeze Method
IViewObject2
GetExtent Method
IViewObjectEx
GetNaturalExtent Method
GetRect Method
GetViewStatus Method
QueryHitPoint Method
QueryHitRect Method
Structures
DVASPECTINFO
DVEXTENTINFO
DVTARGETDEVICE
FORMATETC
OBJECTDESCRIPTOR
OLECMD
OLECMDTEXT
OLEINPLACEFRAMEINFO
OLEMENUGROUPWIDTHS
OLEUIBUSY
OLEUICHANGEICON
OLEUICHANGESOURCE
OLEUICONVERT
OLEUIEDITLINKS
OLEUIGNRLPROPS
OLEUIINSERTOBJECT
OLEUILINKPROPS
OLEUIOBJECTPROPS
OLEUIPASTEENTRY
OLEUIPASTESPECIAL
OLEUIVIEWPROPS
OLEVERB
POINTF
STATDATA
STGMEDIUM
Controlsand Property Pages
Guide
ActiveX Controls
ActiveX Controls Architecture
ActiveX Controls Interfaces
Propertiesand Methods
Control Properties
Control Methods
Control Events
Visual Representation
Keyboard Handling for Controls
Persistence
Registration and Licensing
ActiveX Controls Registry Information
Property Pagesand Property Sheets
Property Sheetsand Property Pages
Data Binding through IPropertyNotifySink
ActiveX Controland Control Container Guidelines
Overview of Controland Control Container Guidelines
Controls
Self Registration for Controls
WhatSupport for an Interface Means
Persistence Interfaces
Optional Methods in Control Interfaces
Class Factory Options
Exposing Properties through IDispatch
Exposing Methods through IDispatch
Events in Controls
Property Pages
Ambient Properties for Controls
Using the Container's Functionality
Containers
Required Interfaces
Optional Methods
MiscellaneousStatus BitsSupport
Keyboard Handling in Controls
Storage Interfaces
Ambient Properties
Extended Properties, Eventsand Methods
Message Reflection
Automatic Clipping
Degrading Gracefully in the Absence of an Interface
Component Categories
Component Categoriesand How they Work
Simple Frame Site Containment
Simple Data Binding
Advanced Data Binding
Visual Basic Private Interfaces
Internet-Aware Objects
Windowless Controls
Categorizing DCOM Proxiesand Stubs
General Guidelines
Overloading IPropertyNotifySink
Container-Specific Private Interfaces
Multi-Threaded Issues
Event Freezing
Container Controls
WS_GROUP and WS_TABSTOP Flags in Controls
Multiple Controls in One DLL
The IOleContainer::EnumObjects Method
Enhanced Metafiles
Licensing
Dual Interfaces
IPropertyBag and IPersistPropertyBag
Event Coordinate Translation
Standard DISPIDS
Databinding
Reference
Constants
PICTYPE Constants
Enumerations
GUIDKIND
PICTUREATTRIBUTES
POINTERINACTIVE
QACONTAINERFLAGS
Functions
OleCreatePropertyFrame
OleCreatePropertyFrameIndirect
OleLoadPicturePath
OleTranslateColor
Interfaces
IFont
AddRefHfont Method
Clone Method
get_Bold Method
get_Charset Method
get_hFont Method
get_Italic Method
get_Name Method
get_Size Method
get_Strikethrough Method
get_Underline Method
get_Weight Method
IsEqual Method
put_Bold Method
put_Charset Method
put_Italic Method
put_Name Method
put_Size Method
put_Strikethrough Method
put_Underline Method
put_Weight Method
QueryTextMetrics Method
ReleaseHfont Method
SetHdc Method
SetRatio Method
IFontDisp
IOleControl
FreezeEvents Method
GetControlInfo Method
OnAmbientPropertyChange Method
OnMnemonic Method
IOleControlSite
GetExtendedControl Method
LockInPlaceActive Method
OnControlInfoChanged Method
OnFocus Method
ShowPropertyFrame Method
TransformCoords Method
TranslateAccelerator Method
IPerPropertyBrowsing
GetDisplayString Method
GetPredefinedStrings Method
GetPredefinedValue Method
MapPropertyToPage Method
IPicture
get_Attributes Method
get_CurDC Method
get_Handle Method
get_Height Method
get_hPal Method
get_KeepOriginalFormat Method
get_Type Method
get_Width Method
PictureChanged Method
put_KeepOriginalFormat Method
Render Method
SaveAsFile Method
SelectPicture Method
set_hPal Method
IPictureDisp
IPointerInactive
GetActivationPolicy Method
OnInactiveMouseMove Method
OnInactiveSetCursor Method
IPrint
GetPageInfo Method
Print Method
SetInitialPageNum Method
IPropertyNotifySink
OnChanged Method
OnRequestEdit Method
IPropertyPage
Activate Method
Apply Method
Deactivate Method
GetPageInfo Method
Help Method
IsPageDirty Method
Move Method
SetObjects Method
SetPageSite Method
Show Method
TranslateAccelerator Method
IPropertyPage2
EditProperty Method
IPropertyPageSite
GetLocaleID Method
GetPageContainer Method
OnStatusChange Method
TranslateAccelerator Method
IQuickActivate
GetContentExtent Method
QuickActivate Method
SetContentExtent Method
ISimpleFrameSite
PostMessageFilter Method
PreMessageFilter Method
ISpecifyPropertyPages
GetPages Method
Structures
CADWORD
CALPOLESTR
CAUUID
CONTROLINFO
FONTDESC
LICINFO
OCPFIPARAMS
PAGERANGE
PAGESET
PICTDESC
PROPPAGEINFO
QACONTAINER
QACONTROL
COM Language Translations
Syntax Differences
Data Type Conversions
IDL Files
Translating COM ObjectSyntax for Programming Languages
Type Library Viewersand Conversion Tools
How Developer Tools Use Type Libraries
Translating to C  
Translating to C   from Visual Basic
Translating to C   from Java
Adding an ActiveX Control to a Visual C   Project
MIDL Compiler
MkTypLib Command-Line Tool
OLE-COM Object Viewer
Translating to Visual Basic
Translating to Visual Basic from C  
Translating to Visual Basic from Java
Adding a Component to a Visual Basic Project
Adding a Reference to a Visual Basic Project
Visual Basic Object Browser
Translating to Java
Translating to Javafrom C  
Translating to Javafrom Visual Basic
JActiveX Command-Line Tool
Java Type Library Wizard
JavaTLB Command-Line Tool
Scripting with COM Objects
Embedding COM Objects in Web Pages
Using COM Objects in Active Server Pages
Using COM Objects in WindowsScript Host
Scripting COM Objects in Custom Applications
Translating to VBScript
Translating to VBScript from JScript
Translating to VBScript from JavaScript
Translating to JScript
Translating to JScript from VBScript
Translating to JScript from JavaScript
Translating to JavaScript
Translating to JavaScript from VBScript
Translating to JavaScript from JScript
COM Glossary

标签: COM组件 COM 组件

实例下载地址

com组件.pdf(共907页)

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警