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.
 
 
 
 
 
 

29 lines
1.2 KiB

/*
* _VCard.H - VCard definitions
*
*
*
* Copyright 1992 - 1996 Microsoft Corporation. All Rights Reserved.
*
*/
#define VCARD TRUE // comment out to disable vCard support
#ifdef VCARD
typedef ULONG (VCARD_READ)(HANDLE hVCard, LPVOID lpBuffer, ULONG uBytes, LPULONG ulBytesRead);
typedef VCARD_READ FAR *LPVCARD_READ;
typedef ULONG (VCARD_WRITE)(HANDLE hVCard, LPVOID lpBuffer, ULONG uBytes, LPULONG ulBytesWritten);
typedef VCARD_WRITE FAR *LPVCARD_WRITE;
HRESULT FileReadFn(HANDLE handle, LPVOID lpBuffer, ULONG uBytes, LPULONG lpcbRead);
HRESULT BufferReadFn(HANDLE handle, LPVOID lpBuffer, ULONG uBytes, LPULONG lpcbRead);
HRESULT FileWriteFn(HANDLE handle, LPVOID lpBuffer, ULONG uBytes, LPULONG lpcbWritten);
HRESULT ReadVCard(HANDLE hVCard, VCARD_READ ReadFn, LPMAILUSER lpMailUser);
HRESULT WriteVCard(HANDLE hVCard, VCARD_WRITE WriteFn, LPMAILUSER lpMailUser);
BOOL VCardGetBuffer(LPTSTR lpszFileName, LPSTR lpszBuf, LPSTR * lppBuf);
BOOL VCardGetNextBuffer(LPSTR lpBuf, LPSTR * lppVCard, LPSTR * lppNext);
#define WAB_W_END_OF_DATA (MAKE_MAPI_S(0x1001))
#define WAB_E_VCARD_NOT_ASCII (MAKE_MAPI_E(0x1002))
#endif