IVsTypeLibraryWrapper::NeedsRegeneration Method (array<TLIBATTR>^, String^, String^, Int32, Int32, String^, Int32)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Determines whether a given wrapper for a given type library needs to be regenerated.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int NeedsRegeneration(
	array<TLIBATTR>^ pTypeLibToWrap,
	String^ wszKeyFile,
	String^ wszKeyContainerName,
	int bDelaySign,
	int bCurrentlyDelaySigned,
	String^ wszExistingWrapperFilename,
	[OutAttribute] int% pbNeedsRegeneration
)

Parameters

pTypeLibToWrap
Type: array<Microsoft.VisualStudio.OLE.Interop::TLIBATTR>^

[in] Pointer to a type library to be wrapped.

wszKeyFile
Type: System::String^

[in] Specifies wszkey file.

wszKeyContainerName
Type: System::String^

[in] Specifies wszkey container name.

bDelaySign
Type: System::Int32

[in] Boolean indicating whether delay signed. If true, the assembly is partially signed.

bCurrentlyDelaySigned
Type: System::Int32

[in] Boolean indicating whether currently delay signed.

wszExistingWrapperFilename
Type: System::String^

[in] Specifies the wrapper filename.

pbNeedsRegeneration
Type: System::Int32

[out] false if the wrapper does not need to be regenerated. true if the wrapper needs to be regenerated.

Return Value

Type: System::Int32

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

From compsvcspkg.idl:

HRESULT IVsTypeLibraryWrapper::NeedsRegeneration(
   [in] TLIBATTR* pTypeLibToWrap,
   [in] LPCOLESTR wszKeyFile,
   [in] LPCOLESTR wszKeyContainerName,
   [in] BOOL bDelaySign,
   [in] BOOL bCurrentlyDelaySigned,
   [in] LPCOLESTR wszExistingWrapperFilename,
   [out,retval] BOOL* pbNeedsRegeneration
);
Return to top
Show: