home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tricks of the Windows Gam…ming Gurus (2nd Edition)
/
Disc2.iso
/
msdn_vcb
/
samples
/
vc98
/
sdk
/
dbmsg
/
mapi
/
peer.xp
/
xpdialog.h
< prev
next >
Wrap
Text File
|
1996-04-11
|
2KB
|
37 lines
/*
- X P T L O G O N . H
-
* Purpose:
* Definitions, typedefs and prototypes used by the Sample Transport
* Provider logon UI.
*
* Copyright 1992-1995 Microsoft Corporation. All Rights Reserved.
*/
/* Size of largest possible text edit in our logon dialog. */
#define MAX_TEXTFIELD 255
/* Structure passed into the logon dialog code from TransportLogon
and propagated in/out through LPARAM at WM_INITDIALOG time. */
typedef struct _XPDLG
{
HINSTANCE hInst; /* Instance of my DLL */
HWND hwnd; /* Handle of my parent window */
LPSPropValue *lppPropArray; /* Property array pointer */
LPSPropTagArray lpPTArray; /* List of property tags */
LPALLOCATEBUFFER AllocateBuffer; /* MAPIAllocateBuffer function */
LPALLOCATEMORE AllocateMore; /* MAPIAllocateMore function */
LPFREEBUFFER FreeBuffer; /* MAPIFreeBuffer function */
LPMALLOC lpMalloc; /* IMalloc object */
LPMAPISUP lpMAPISup; /* Transport support object */
BOOL fLogon; /* Called at Logon time */
ULONG ulFlags; /* 0 or UI_READONLY */
} XPDLG, * LPXPDLG;
/* Create a logon dialog. Return an error if unable to do so. Any
other result from the dialog is communicated through XPDLG. */
SCODE ScDoLogonDlg (LPXPDLG lpXPDialog);