Lines Matching refs:instance
52 NPError WindowRegionIsSetToClipRect::NPP_SetWindow(NPP instance, NPWindow* window)
59 pluginLog(instance, "window->type should be NPWindowTypeWindow but was %d", window->type);
67 pluginLog(instance, "::GetWindowRgnBox failed with error %u", ::GetLastError());
74 pluginLog(instance, "Expected region rect {left=%u, top=%u, right=%u, bottom=%u}, but got {left=%d, top=%d, right=%d, bottom=%d}", expectedRect.left, expectedRect.top, expectedRect.right, expectedRect.bottom, regionRect.left, regionRect.top, regionRect.right, regionRect.bottom);
78 pluginLog(instance, "PASS: Plugin's window's window region has been set as expected");
87 pluginLog(instance, "::GetClassName failed with error %u", ::GetLastError());
98 pluginLog(instance, "::GetModuleHandleW failed with error %u", ::GetLastError());
104 pluginLog(instance, "::GetClassInfoW failed with error %u", ::GetLastError());
109 pluginLog(instance, "FAIL: Plugin's window's class has the CS_PARENTDC style, which will defeat clipping");
111 pluginLog(instance, "PASS: Plugin's window's class does not have the CS_PARENTDC style");