WebViewGetAllOptions Function  
 
BOOL WINAPI WebViewGetAllOptions(
  HWND hWndHost,  
  LPDWORD lpdwOptions  
);

The WebViewGetAllOptions function returns the current option flags for the instance.

Parameters

hWndHost
Handle to the window attached to the browser session.
lpdwOptions
A pointer to an unsigned integer which will contain the browser options for the current session. This parameter cannot be NULL.

Return Value

If the function succeeds, the return value is non-zero. If the function fails, the return value is zero. To get extended error information, call WebViewGetLastError.

Remarks

This function returns the options for the current session. For more information about the options available, review the WebView Options documentation. Always check the return value from this function; the option bitflags are only valid if this function returns a non-zero (TRUE) value.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: cshtmv12.lib

See Also