Compartilhar via


IExtendedTypeLib.SetExtenderInfo(String, Type, UInt32) Method

Definition

Sets the information for the extending type in the extended type library.

public:
 int SetExtenderInfo(System::String ^ lpstrDirectoryName, Type ^ ptinfoExtender, System::UInt32 dwReserved);
public:
 int SetExtenderInfo(Platform::String ^ lpstrDirectoryName, Platform::Type ^ ptinfoExtender, unsigned int dwReserved);
public int SetExtenderInfo (string lpstrDirectoryName, Type ptinfoExtender, uint dwReserved);
abstract member SetExtenderInfo : string * Type * uint32 -> int
Public Function SetExtenderInfo (lpstrDirectoryName As String, ptinfoExtender As Type, dwReserved As UInteger) As Integer

Parameters

lpstrDirectoryName
String

[in] Pointer to a string containing the complete path to write out the extended type library. Use NULL if not saving the library.

ptinfoExtender
Type

[in] Pointer to the ITypeInfo for the extending object.

dwReserved
UInt32

[in] Not used. Use zero (0) or NULL.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From objext.idl:

[C++]

HRESULT IExtendedTypeLib::SetExtenderInfo(  
   [in] LPCOLESTR lpstrDirectoryName,   
   [in] ITypeInfo *ptinfoExtender,   
   [in] DWORD dwReserved  
);  

Applies to