Visual Basic (Declaration)
Function Generate ( _
wszInputFilePath As String, _
bstrInputFileContents As String, _
wszDefaultNamespace As String, _
<OutAttribute> rgbOutputFileContents As IntPtr(), _
<OutAttribute> ByRef pcbOutput As UInteger, _
pGenerateProgress As IVsGeneratorProgress _
) As Integer