SAP 3D Visual Enterprise applications SDK
sDVLImage Struct Reference

#include <DVLTypes.h>

Public Attributes

uint16_t m_uSizeOfDVLImage
 Set it to sizeof(sDVLImage) before calling RetrieveThumbnail()
 
uint32_t m_uImageSize
 Zero if no thumbnail, the size of the data in the buffer otherwise.
 
void * m_pImageBuffer
 The buffer of the m_uImageSize size with the image data, or NULL if no image.
 

Detailed Description

This structure is used to retrieve thumbnails for folders, files, step views, etc

Notes

  • You need to initialize the m_uSizeOfDVLImage member of the sDVLImage structure with its size.
  • You need to call ReleaseThumbnail() after each RetrieveThumbnail()
  • Supported image types are PNG and JPG (you can guess the type by first 4 bytes of image buffer. PNG is 0x474E5089, JPG is 0xE1FFD8FF or 0xE0FFD8FF)

The documentation for this struct was generated from the following file: