IVsTextImageUtilities::GetTextFormat Method (UInt32, UInt32, array<Byte>^, UInt32)
Visual Studio 2015
Gets text format
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
int GetTextFormat( unsigned int vstffIn, unsigned int cbData, array<unsigned char>^ pData, [OutAttribute] unsigned int% pvstffOut )
Parameters
- vstffIn
-
Type:
System::UInt32
[in] Instructions for format and detection.
- cbData
-
Type:
System::UInt32
[in] The size of data in bytes.
- pData
-
Type:
array<System::Byte>^
[in] The data.
- pvstffOut
-
Type:
System::UInt32
[out] The result text format.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From textfind.idl:
HRESULT IVsTextImageUtilities::GetTextFormat( [in] VSTFF vstffIn, [in] DWORD cbData, [in, size_is(cbData)] const BYTE * pData, [out, retval] VSTFF * pvstffOut );
Show: