Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
1.7 KiB

/*
* imaputil.h
*
* Purpose:
* IMAP utility functions
*
* Owner:
* Raych
*
* Copyright (C) Microsoft Corp. 1996
*/
#ifndef __IMAPUTIL_H
#define __IMAPUTIL_H
//---------------------------------------------------------------------------
// Function Prototypes
//---------------------------------------------------------------------------
HRESULT ImapUtil_MsgFlagsToString(IMAP_MSGFLAGS imfSource, LPSTR *ppszDestination,
DWORD *pdwLengthOfDestination);
void ImapUtil_LoadRootFldrPrefix(LPCTSTR pszAccountID, LPSTR pszRootFolderPrefix,
DWORD dwSizeofPrefixBuffer);
HRESULT ImapUtil_FolderIDToPath(FOLDERID idServer, FOLDERID idFolder, char **ppszPath,
LPDWORD pdwPathLen, char *pcHierarchyChar,
IMessageStore *pFldrCache, LPCSTR pszAppendStr,
LPCSTR pszRootFldrPrefix);
HRESULT ImapUtil_SpecialFldrTypeToPath(LPCSTR pszAccount, SPECIALFOLDER sfType,
LPSTR pszRootFldrPrefix, char cHierarchyChar,
LPSTR pszPath, DWORD dwSizeOfPath);
LPSTR ImapUtil_GetSpecialFolderType(LPSTR pszAccountName, LPSTR pszFullPath,
char cHierarchyChar, LPSTR pszRootFldrPrefix,
SPECIALFOLDER *psfType);
HRESULT ImapUtil_UIDToMsgSeqNum(IIMAPTransport *pIMAPTransport, DWORD_PTR dwUID, LPDWORD pdwMsgSeqNum);
LPSTR ImapUtil_ExtractLeafName(LPSTR pszFolderPath, char cHierarchyChar);
void ImapUtil_B2SetDirtyFlag(void);
#endif // __IMAPUTIL_H