Added stub for SetVirtualResolution.
diff --git a/dlls/gdi/gdi32.spec b/dlls/gdi/gdi32.spec
index bbd679c..6378005 100644
--- a/dlls/gdi/gdi32.spec
+++ b/dlls/gdi/gdi32.spec
@@ -383,7 +383,7 @@
@ stdcall SetTextJustification(long long long)
@ stdcall SetViewportExtEx(long long long ptr)
@ stdcall SetViewportOrgEx(long long long ptr)
-@ stub SetVirtualResolution
+@ stdcall SetVirtualResolution(long long long long long)
@ stdcall SetWinMetaFileBits(long ptr long ptr)
@ stdcall SetWindowExtEx(long long long ptr)
@ stdcall SetWindowOrgEx(long long long ptr)
diff --git a/objects/dc.c b/objects/dc.c
index 84a935f..67341f4 100644
--- a/objects/dc.c
+++ b/objects/dc.c
@@ -1407,3 +1407,14 @@
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return CLR_INVALID;
}
+
+/***********************************************************************
+ * SetVirtualResolution (GDI32.@)
+ *
+ * Undocumented on msdn. Called when powerpoint xp saves a file.
+ */
+DWORD WINAPI SetVirtualResolution(HDC hdc, DWORD dw2, DWORD dw3, DWORD dw4, DWORD dw5)
+{
+ FIXME("(%p %08lx %08lx %08lx %08lx): stub!\n", hdc, dw2, dw3, dw4, dw5);
+ return FALSE;
+}