55 references to BStr
Microsoft.AspNetCore.Server.IIS (2)
NativeMethods.cs (2)
110[MarshalAs(UnmanagedType.BStr)] out string value); 165private static partial int http_get_authentication_information(NativeSafeHandle pInProcessHandler, [MarshalAs(UnmanagedType.BStr)] out string authType, out IntPtr token);
Microsoft.Build.Tasks.CodeAnalysis (1)
src\Compilers\Core\MSBuildTask\ICompilerOptionsHostObject.cs (1)
15bool SetCompilerOptions([MarshalAs(UnmanagedType.BStr)] string compilerOptions);
Microsoft.Build.Tasks.CodeAnalysis.Sdk (1)
src\Compilers\Core\MSBuildTask\ICompilerOptionsHostObject.cs (1)
15bool SetCompilerOptions([MarshalAs(UnmanagedType.BStr)] string compilerOptions);
Microsoft.CodeAnalysis.VisualBasic (1)
Symbols\Source\SourceParameterSymbol.vb (1)
468info.SetMarshalAsSimpleType(UnmanagedType.BStr)
Microsoft.Interop.SourceGeneration (1)
MarshalAsWithCustomMarshallersParser.cs (1)
102UnmanagedType.BStr => TypeNames.BStrStringMarshaller,
Microsoft.VisualStudio.LanguageServices (14)
ProjectSystem\Interop\ICompilerOptionsHostObject.cs (1)
22int SetCompilerOptions([MarshalAs(UnmanagedType.BStr)] string compilerOptions, [MarshalAs(UnmanagedType.VariantBool)] out bool supported);
Snippets\IVsExpansionSessionInternal.cs (1)
33int GetSnippetNode([MarshalAs(UnmanagedType.BStr)] string? bstrNode, out IntPtr pNode);
Utilities\IVsLanguageDebugInfo.cs (2)
27int GetNameOfLocation(IVsTextBuffer pBuffer, int iLine, int iCol, [MarshalAs(UnmanagedType.BStr)] out string? pbstrName, out int piLineOffset); 32[MarshalAs(UnmanagedType.BStr)] out string? pbstrMkDoc,
Venus\IVsContainedLanguageCodeSupport.cs (8)
25[MarshalAs(UnmanagedType.BStr)] out string pbstrEventHandlerName); 33[In, ComAliasName("Microsoft.VisualStudio.Shell.Interop.VSITEMID")] uint itemidInsertionPoint, [MarshalAs(UnmanagedType.BStr)] out string pbstrUniqueMemberID, 34[MarshalAs(UnmanagedType.BStr)] out string pbstrEventBody, [Out, ComAliasName("Microsoft.VisualStudio.TextManager.Interop.TextSpan"), 55[In, MarshalAs(UnmanagedType.BStr)] string bstrOldID, 56[In, MarshalAs(UnmanagedType.BStr)] string bstrNewID); 60[In, MarshalAs(UnmanagedType.BStr)] string bstrID, 66[MarshalAs(UnmanagedType.BStr)] out string pbstrBaseClassName); 74[MarshalAs(UnmanagedType.BStr)] out string pbstrUniqueMemberID);
Venus\IVsContainedLanguageStaticEventBinding.cs (2)
51[MarshalAs(UnmanagedType.BStr)] out string pbstrUniqueMemberID, 52[MarshalAs(UnmanagedType.BStr)] out string pbstrEventBody,
Microsoft.VisualStudio.LanguageServices.CSharp (4)
ProjectSystemShim\Interop\ICSharpProjectRoot.cs (4)
29[return: MarshalAs(UnmanagedType.BStr)] 34[return: MarshalAs(UnmanagedType.BStr)] 42[return: MarshalAs(UnmanagedType.BStr)] 46[return: MarshalAs(UnmanagedType.BStr)]
Microsoft.VisualStudio.LanguageServices.Implementation (8)
CodeModel\Interop\ICodeClassBase.cs (1)
17int GetBaseName([MarshalAs(UnmanagedType.BStr)] out string pBaseName);
CodeModel\Interop\ICodeElements.cs (2)
48bool CreateUniqueID([MarshalAs(UnmanagedType.BStr)] string prefix, [MarshalAs(UnmanagedType.BStr)] ref string newName);
CodeModel\Interop\IEventHandler.cs (3)
18int AddHandler([MarshalAs(UnmanagedType.BStr)] string bstrEventName); 21int RemoveHandler([MarshalAs(UnmanagedType.BStr)] string bstrEventName); 27int HandlesEvent([MarshalAs(UnmanagedType.BStr)] string bstrEventName, [MarshalAs(UnmanagedType.Bool)] out bool result);
CodeModel\Interop\IMethodXML.cs (2)
16[return: MarshalAs(UnmanagedType.BStr)] 20int SetXML([MarshalAs(UnmanagedType.BStr)] string bstrXML);
PresentationCore (3)
MS\Internal\WindowsRuntime\Windows\UI\ViewManagement\InputPaneRcw.cs (2)
53void GetRuntimeClassName([MarshalAs(UnmanagedType.BStr)] out string className); 70void GetRuntimeClassName([MarshalAs(UnmanagedType.BStr)] out string className);
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_exports.cs (1)
36[In, MarshalAs(UnmanagedType.BStr)] string /* LPOLESTR */ src
PresentationFramework (1)
System\Windows\Documents\NLGSpellerInterop.cs (1)
1076void ReadFrom ([MarshalAs( UnmanagedType.BStr )]string fileName);
ReachFramework (3)
MS\Internal\Printing\Configuration\UnsafeNativeMethods.cs (3)
340[MarshalAs(UnmanagedType.BStr)] out string errorMsg); 359[MarshalAs(UnmanagedType.BStr)] out string errorMsg); 398[MarshalAs(UnmanagedType.BStr)] out string errorMsg);
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\ComTypes\ITypeInfo.cs (3)
213[MarshalAs(UnmanagedType.BStr)] public string bstrSource; 214[MarshalAs(UnmanagedType.BStr)] public string bstrDescription; 215[MarshalAs(UnmanagedType.BStr)] public string bstrHelpFile;
UIAutomationClient (9)
MS\Internal\Automation\UiaCoreApi.cs (9)
328[MarshalAs(UnmanagedType.BStr)] string pTreeStructure); 1160private static extern bool UiaGetErrorDescription([MarshalAs(UnmanagedType.BStr)] out string pDescription); 1228private static extern int RawUiaNavigate(SafeNodeHandle hnode, NavigateDirection direction, SafeConditionMemoryHandle condition, UiaMiniCacheRequest pRequest, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] out object[,] requestedData, [MarshalAs(UnmanagedType.BStr)] out string treeStructure); 1243private static extern int RawUiaNodeFromPoint(double x, double y, UiaMiniCacheRequest request, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] out object[,] requestedData, [MarshalAs(UnmanagedType.BStr)] out string treeStructure); 1246private static extern int RawUiaNodeFromFocus(UiaMiniCacheRequest pRequest, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] out object[,] requestedData, [MarshalAs(UnmanagedType.BStr)] out string treeStructure); 1249private static extern int RawUiaGetUpdatedCache(SafeNodeHandle hnode, UiaMiniCacheRequest pRequest, NormalizeState normalizeState, SafeConditionMemoryHandle pNormalizeCondition, [MarshalAs(UnmanagedType.SafeArray, SafeArraySubType = VarEnum.VT_VARIANT)] out object[,] requestedData, [MarshalAs(UnmanagedType.BStr)] out string treeStructure); 1302private static extern int RawMultipleViewPattern_GetViewName(SafePatternHandle hobj, int viewId, [MarshalAs(UnmanagedType.BStr)] out string ppStr); 1402private static extern int RawTextRange_FindText(SafeTextRangeHandle hobj, [MarshalAs(UnmanagedType.BStr)] string text, bool backward, bool ignoreCase, out SafeTextRangeHandle result); 1414private static extern int RawTextRange_GetText(SafeTextRangeHandle hobj, int maxLength, [MarshalAs(UnmanagedType.BStr)] out string result);
UIAutomationTypes (4)
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\NativeMethodsCLR.cs (3)
2265[MarshalAs(UnmanagedType.BStr)] 2267[MarshalAs(UnmanagedType.BStr)] 2269[MarshalAs(UnmanagedType.BStr)]
src\Microsoft.DotNet.Wpf\src\Shared\MS\Win32\UnsafeNativeMethodsCLR.cs (1)
1288[In, MarshalAs(UnmanagedType.BStr)]