Skip to content

Conversation

@amtopel
Copy link
Contributor

@amtopel amtopel commented Sep 20, 2025

Hi, I'm new to pull requests, but I was hoping to have the following declarations added to the MAPI headers:

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)

@amtopel
Copy link
Contributor Author

amtopel commented Sep 20, 2025

@microsoft-github-policy-service agree

@microsoft-github-policy-service agree

…Tags.h and mapiFunctions.h

Updates sub definition in mapiStubLibrary to match

Moved MAPI_NATIVE_BODY to MAPIDefs.h
Other defines were already in edkmdb.h so removed
@stephenegriffin stephenegriffin merged commit 8968fcf into microsoft:main Sep 26, 2025
16 checks passed
@amtopel amtopel deleted the Add-missing-declarations branch September 26, 2025 17:41
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

Successfully merging this pull request may close these issues.

3 participants