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 _
)
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: UInt32
- ulHeight
Type: UInt32
- pulOutputLength
Type: UInt32%
- pulOutputHeight
Type: UInt32%
- phOutputBitmap
Type: 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.