请单击以进行评分并提供反馈
MSDN
MSDN Library
Visual Studio
Visual C++
ATL
ATL Classes
CComModule Class
 CComModule::UnregisterServer

  开启低带宽视图
此页面仅适用于
Microsoft Visual Studio 2008/.NET Framework 3.5

同时提供下列产品的其他版本:
ATL Library Reference
CComModule::UnregisterServer

As of ATL 7.0, CComModule is obsolete: see ATL Module Classes for more details.

HRESULT UnregisterServer(
   const CLSID* pCLSID = NULL
) throw ( );
inline HRESULT UnregisterServer(
   BOOL bUnRegTypeLib,
   const CLSID* pCLSID = NULL
) throw ( );
bUnRegTypeLib

If TRUE, the type library is also unregistered.

pCLSID

Points to the CLSID of the object to be unregistered. If NULL (the default value), all objects in the object map will be unregistered.

A standard HRESULT value.

Depending on the pCLSID parameter, unregisters either a single class object or all objects in the object map.

UnregisterServer will be called automatically by DLLUnregisterServer for a DLL or by WinMain for an EXE run with the /UnregServer command line option.

See OBJECT_ENTRY_AUTO for information on how to add an entry to the object map.

Header: atlbase.h

社区内容   什么是社区内容?
添加新内容 RSS  批注
Processing
© 2009 Microsoft Corporation 版权所有。 保留所有权利  |  商标  |  隐私权声明
Page view tracker