XPQUEUE.H
资源名称:MSDN_VC98.zip [点击查看]
上传用户:bangxh
上传日期:2007-01-31
资源大小:42235k
文件大小:1k
源码类别:
Windows编程
开发平台:
Visual C++
- /*
- - X P Q U E U E . H
- -
- * Purpose:
- * Background transmit queue definitions for Sample Transport Provider.
- *
- * Copyright 1992-1995 Microsoft Corporation. All Rights Reserved.
- */
- /* Structures used to build a adrlist from a recipient table. */
- /* This is a lot like a ADRLIST except we keep track of the size of
- the contained ADRLIST for resizing purposes. */
- typedef struct _myadrlist
- {
- ULONG cMaxEntries;
- LPADRLIST lpAdrList;
- } MYADRLIST, *LPMYADRLIST;
- /* Prototype of callback function which can be invoked as part of
- operation of the HrBuildAdrList() function. */
- typedef HRESULT (*LPMYCALLBACK) (LPXPL lpxpl,
- LPSPropValue lpPropArray,
- LPMESSAGE lpMessage,
- ULONG ulRecipType,
- LPTSTR lpszEmailAddress,
- BOOL FAR * lpfSent);
- /* Build one or two ADRLISTs for use by send/receive logic */
- HRESULT HrBuildAdrList (LPXPL lpxpl,
- LPSPropValue lpPropArray,
- LPMESSAGE lpMessage,
- LPMAPITABLE lpTable,
- BOOL fSetResponsibility,
- LPMYCALLBACK lpfnCallBack,
- LPMYADRLIST FAR * lppMyAdrListGood,
- LPMYADRLIST FAR * lppMyAdrListBad);
- /* Send a single message from inside a restriction. */
- HRESULT HrSendOneMessage (LPXPL lpxpl,
- LPSPropValue lpPropArray,
- LPMESSAGE lpMessage,
- ULONG ulRecipType,
- LPTSTR lpszEmailAddress,
- BOOL FAR * lpfSent);
- /* Free a MYADRLIST structure */
- void FreeMyAdrList (LPXPL lpxpl, LPMYADRLIST lpMyAdrList);