summaryrefslogtreecommitdiff
path: root/sw/sdi/swpatch.txt
diff options
context:
space:
mode:
Diffstat (limited to 'sw/sdi/swpatch.txt')
-rw-r--r--sw/sdi/swpatch.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/sw/sdi/swpatch.txt b/sw/sdi/swpatch.txt
new file mode 100644
index 000000000000..2628f81618c0
--- /dev/null
+++ b/sw/sdi/swpatch.txt
@@ -0,0 +1,19 @@
+swinter.h:
+
+unsigned char SYSCALL SwDocumentGetIsPrinting( C_Object ObjHdl );
+
+
+swinter.c:
+
+unsigned char SYSCALL SwDocumentGetIsPrinting( C_Object ObjHdl )
+{
+ if( SvIPCIsConnected() )
+ {
+ return (unsigned char) pIPCCallFunction( SvIPCGetClient(), 136598,
+ ObjHdl , 1, NULL );
+ }
+ return 0;
+}
+
+#pragma code_seg("swinter2","CODE")
+