QHTM_PrintSetTextResource
BOOL WINAPI QHTM_PrintSetTextResource( QHTMCONTEXT qhtmCtx, HINSTANCE hInst, LPCTSTR pcszName );
Set the HTML for the given print context using a resource for the HTML.
Parameters
- qhtmCtx
- The print context.
- hInst
- The instance handle used to locate the resource.
- pcszFilename
- The resource name.
Return value
non-zero if it succeeds.Example
if( !QHTM_PrintSetTextResource( qhtmCtx, pcszFilename
, hInstance, MAKEINTRESOURCE( IDC_HTML ) ) )
{
// Error
}
See also QHTM_PrintSetTextFile QHTM_PrintSetText