tagNMHL_LOAD_DATA Struct Reference

This structure is used by HLN_LOAD_DATA notification. More...

#include <htmlayout.h>


Data Fields

NMHDR hdr
 Default WM_NOTIFY header.
LPCWSTR uri
 [in] Zero terminated string, fully qualified uri, for example "http://server/folder/file.ext".
LPVOID outData
 [out] pointer to loaded data .
DWORD outDataSize
 [out] loaded data size.
UINT dataType
 [in] HTMLayoutResourceType
HELEMENT principal
 [in] element requested download, in case of context_menu:url( menu-url ) it is an element for which context menu was requested
HELEMENT initiator
 N/A.


Detailed Description

This structure is used by HLN_LOAD_DATA notification.

Notifies that HtmLayout is about to download a referred resource.

Parameters:
lParam LPNMHL_LOAD_DATA.
Returns:
LOAD_OK or LOAD_DISCARD
This notification gives application a chance to override built-in loader and implement loading of resources in its own way (for example images may be loaded from database or other resource). To do this set NMHL_LOAD_DATA::outData and NMHL_LOAD_DATA::outDataSize members of NMHL_LOAD_DATA. HTMLayout does not store pointer to this data. You can call HTMLayoutDataReady() function instead of filling these fields. This allows you to free your outData buffer immediately.


Field Documentation

NMHDR tagNMHL_LOAD_DATA::hdr

Default WM_NOTIFY header.

LPCWSTR tagNMHL_LOAD_DATA::uri

[in] Zero terminated string, fully qualified uri, for example "http://server/folder/file.ext".

LPVOID tagNMHL_LOAD_DATA::outData

[out] pointer to loaded data .

DWORD tagNMHL_LOAD_DATA::outDataSize

[out] loaded data size.


The documentation for this struct was generated from the following file:
Generated on Fri May 18 22:05:12 2007 for HTMLayout by  doxygen 1.5.1-p1