IThumbnailExtractor.ExtractThumbnail Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaration
Sub ExtractThumbnail ( _
pstg As IStorage, _
ulLength As UInteger, _
ulHeight As UInteger, _
<OutAttribute> ByRef pulOutputLength As UInteger, _
<OutAttribute> ByRef pulOutputHeight As UInteger, _
<OutAttribute> ByRef phOutputBitmap As IntPtr _
)
'Usage
Dim instance As IThumbnailExtractor
Dim pstg As IStorage
Dim ulLength As UInteger
Dim ulHeight As UInteger
Dim pulOutputLength As UInteger
Dim pulOutputHeight As UInteger
Dim phOutputBitmap As IntPtr
instance.ExtractThumbnail(pstg, ulLength, _
ulHeight, pulOutputLength, pulOutputHeight, _
phOutputBitmap)
void ExtractThumbnail(
IStorage pstg,
uint ulLength,
uint ulHeight,
out uint pulOutputLength,
out uint pulOutputHeight,
out IntPtr phOutputBitmap
)
void ExtractThumbnail(
[InAttribute] IStorage^ pstg,
[InAttribute] unsigned int ulLength,
[InAttribute] unsigned int ulHeight,
[OutAttribute] unsigned int% pulOutputLength,
[OutAttribute] unsigned int% pulOutputHeight,
[OutAttribute] IntPtr% phOutputBitmap
)
abstract ExtractThumbnail :
pstg:IStorage *
ulLength:uint32 *
ulHeight:uint32 *
pulOutputLength:uint32 byref *
pulOutputHeight:uint32 byref *
phOutputBitmap:IntPtr byref -> unit
function ExtractThumbnail(
pstg : IStorage,
ulLength : uint,
ulHeight : uint,
pulOutputLength : uint,
pulOutputHeight : uint,
phOutputBitmap : IntPtr
)
Parameters
- pstg
Type: Microsoft.VisualStudio.OLE.Interop.IStorage
- ulLength
Type: System.UInt32
- ulHeight
Type: System.UInt32
- pulOutputLength
Type: System.UInt32%
- pulOutputHeight
Type: System.UInt32%
- phOutputBitmap
Type: System.IntPtr%
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.