Skip to content

Commit 4070208

Browse files
committed
Add missing declarations
1 parent 33740da commit 4070208

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

include/MAPIUtil.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,30 @@ HrIStorageFromStream (LPUNKNOWN lpUnkIn,
846846
STDAPI_(SCODE) ScInitMapiUtil(ULONG ulFlags);
847847
STDAPI_(VOID) DeinitMapiUtil(VOID);
848848

849+
struct RTF_WCSINFO
850+
{
851+
ULONG size;
852+
ULONG ulFlags;
853+
ULONG ulInCodePage;
854+
ULONG ulOutCodePage;
855+
};
856+
857+
struct RTF_WCSRETINFO
858+
{
859+
ULONG size;
860+
ULONG ulStreamFlags;
861+
};
862+
863+
// Declaration missing from headers
864+
STDAPI_(HRESULT) OpenStreamOnFileW(LPALLOCATEBUFFER lpAllocateBuffer, LPFREEBUFFER lpFreeBuffer,
865+
ULONG ulFlags, LPWSTR lpszFileName, LPWSTR lpszPrefix, LPSTREAM FAR* lppStream);
866+
867+
STDAPI_(HRESULT) WrapCompressedRTFStreamEx(LPSTREAM pCompressedRTFStream, const RTF_WCSINFO* pWCSInfo,
868+
LPSTREAM* ppUncompressedRTFStream, RTF_WCSRETINFO* pRetInfo);
869+
870+
#define MAPI_NATIVE_BODY 0x00010000
871+
#define pidExchangeXmitReservedMin 0x3FE0
872+
#define PR_INTERNET_CPID PROP_TAG(PT_LONG, pidExchangeXmitReservedMin - 0x02)
849873

850874
/*
851875
* Entry point names.

0 commit comments

Comments
 (0)