diff options
Diffstat (limited to 'sw/sdi/swpatch.txt')
-rw-r--r-- | sw/sdi/swpatch.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sw/sdi/swpatch.txt b/sw/sdi/swpatch.txt new file mode 100644 index 000000000000..5c52bb3c130b --- /dev/null +++ b/sw/sdi/swpatch.txt @@ -0,0 +1,21 @@ +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; +} + +#ifdef _MSC_VER +#pragma code_seg("swinter2","CODE") +#endif + |