Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding some declarations to the MAPI headers #29

Open
amtopel opened this issue Oct 1, 2024 · 0 comments
Open

Adding some declarations to the MAPI headers #29

amtopel opened this issue Oct 1, 2024 · 0 comments

Comments

@amtopel
Copy link

amtopel commented Oct 1, 2024

Hi, I was wondering if we could add some missing declarations to the MAPI headers, specifically these:

struct RTF_WCSINFO
{
	ULONG size;
	ULONG ulFlags;
	ULONG ulInCodePage;
	ULONG ulOutCodePage;
};

struct RTF_WCSRETINFO
{
	ULONG size;
	ULONG ulStreamFlags;
};

STDAPI_(HRESULT) OpenStreamOnFileW(LPALLOCATEBUFFER lpAllocateBuffer, LPFREEBUFFER lpFreeBuffer,
	ULONG ulFlags, LPWSTR lpszFileName, LPWSTR lpszPrefix, LPSTREAM FAR* lppStream);

STDAPI_(HRESULT) WrapCompressedRTFStreamEx(LPSTREAM pCompressedRTFStream, const RTF_WCSINFO* pWCSInfo,
	LPSTREAM* ppUncompressedRTFStream, RTF_WCSRETINFO* pRetInfo);

#define MAPI_NATIVE_BODY 0x00010000
#define pidExchangeXmitReservedMin 0x3FE0
#define PR_INTERNET_CPID PROP_TAG(PT_LONG, pidExchangeXmitReservedMin - 0x02)

I'd make a pull request, but I'm not exactly sure where or how these things should be properly declared. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant