IsHardwareComposition method
Returns whether MSHTML is using hardware acceleration to do composition of the page contents.
![]() |
Syntax
HRESULT retVal = object.IsHardwareComposition(pIsHardwareComposition);
Parameters
- pIsHardwareComposition [out, retval]
-
Type: BOOL
A flag that determines if hardware acceleration is enabled in mshtml.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Show:
