IVsSingleFileGeneratorFactory::GetGeneratorInformation Method (String^, Int32, Int32, Int32, Guid)
Visual Studio 2015
Gets information about a generator factory.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
int GetGeneratorInformation( String^ wszProgId, [OutAttribute] int% pbGeneratesDesignTimeSource, [OutAttribute] int% pbGeneratesSharedDesignTimeSource, [OutAttribute] int% pbUseTempPEFlag, [OutAttribute] Guid% pguidGenerator )
Parameters
- wszProgId
-
Type:
System::String^
[in] The prog ID of the generator factory.
- pbGeneratesDesignTimeSource
-
Type:
System::Int32
[out] Boolean value; true if the factory generates source at design time.
- pbGeneratesSharedDesignTimeSource
-
Type:
System::Int32
[out] Boolean value; true if the factory generates shared source at design time.
- pbUseTempPEFlag
-
Type:
System::Int32
[out] Boolean value; true if the factory uses temporary PE flags.
- pguidGenerator
-
Type:
System::Guid
[out] The GUID of the factory.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT GetGeneratorInformation(
[in] LPCWSTR wszProgID,
[out] BOOL* pbGeneratesDesignTimeSource,
[out] BOOL* pbGeneratesSharedDesignTimeSource,
[out] BOOL* pbUseTempPEFlag,
[out] GUID* pguidGenerator
);
Show: