Skip to content

Commit 050d3dd

Browse files
remove redundant declarations (#924)
1 parent 3498619 commit 050d3dd

File tree

2 files changed

+1
-33
lines changed

2 files changed

+1
-33
lines changed

core/mapi/mapiFunctions.h

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,6 @@
33

44
namespace mapi
55
{
6-
// Definitions for WrapCompressedRTFStreamEx in param for WrapCompressedRTFStreamEX
7-
// http://msdn2.microsoft.com/en-us/library/bb905293.aspx
8-
struct RTF_WCSINFO
9-
{
10-
ULONG size; // Size of the structure
11-
ULONG ulFlags;
12-
/****** MAPI_MODIFY ((ULONG) 0x00000001) above */
13-
/****** STORE_UNCOMPRESSED_RTF ((ULONG) 0x00008000) above */
14-
/****** MAPI_NATIVE_BODY ((ULONG) 0x00010000) mapidefs.h Only used for reading*/
15-
ULONG ulInCodePage; // Codepage of the message, used when passing MAPI_NATIVE_BODY, ignored otherwise
16-
ULONG ulOutCodePage; // Codepage of the Returned Stream, used when passing MAPI_NATIVE_BODY, ignored otherwise
17-
};
18-
19-
// out param type information for WrapCompressedRTFStreamEX
20-
// http://msdn2.microsoft.com/en-us/library/bb905294.aspx
21-
struct RTF_WCSRETINFO
22-
{
23-
ULONG size; // Size of the structure
24-
ULONG ulStreamFlags;
25-
/****** MAPI_NATIVE_BODY_TYPE_RTF ((ULONG) 0x00000001) mapidefs.h */
26-
/****** MAPI_NATIVE_BODY_TYPE_HTML ((ULONG) 0x00000002) mapidefs.h */
27-
/****** MAPI_NATIVE_BODY_TYPE_PLAINTEXT ((ULONG) 0x00000004) mapidefs.h */
28-
};
29-
30-
// Declaration missing from headers
31-
STDAPI_(HRESULT)
32-
WrapCompressedRTFStreamEx(
33-
LPSTREAM pCompressedRTFStream,
34-
const RTF_WCSINFO* pWCSInfo,
35-
LPSTREAM* ppUncompressedRTFStream,
36-
RTF_WCSRETINFO* pRetInfo);
37-
386
// http://msdn.microsoft.com/en-us/library/office/dn433223.aspx
397
#pragma pack(4)
408
struct CONTAB_ENTRYID

0 commit comments

Comments
 (0)