IExtendedTypeLib::SetExtenderInfo Method (String^, Type^, UInt32)
Visual Studio 2015
Sets the information for the extending type in the extended type library.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int SetExtenderInfo( String^ lpstrDirectoryName, Type^ ptinfoExtender, unsigned int dwReserved )
Parameters
- lpstrDirectoryName
-
Type:
System::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:
System::Type^
[in] Pointer to the ITypeInfo for the extending object.
- dwReserved
-
Type:
System::UInt32
[in] Not used. Use zero (0) or NULL.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From objext.idl:
[C++]
HRESULT IExtendedTypeLib::SetExtenderInfo( [in] LPCOLESTR lpstrDirectoryName, [in] ITypeInfo *ptinfoExtender, [in] DWORD dwReserved );
Show: