Click to open or copy the files for the Common sample.
The common files are used by the MAPI samples. The following files are representative of the contents of this directory.
File | Description |
Traces.cpp | Implements tracing functions for sending debug/trace strings to an attached debug monitor, the serial port, or a log file. |
Cindex.c | Creates and extends PR_CONVERSATION_INDEX. |
Imem.c | Per-instance global data for WIN32 (trivial), WIN16, and Mac. |
Mapidbg.c | MAPI debugging utilities. |
Pvalloc.c | A chained memory manager. |
Wep.c | WEP function for MAPI DLLs. This function is placed in a separate segment so marking the segment as FIXED is not hard on the system. |
Lasterr.cpp | Implements CLastError, which implements the GetLastError helper. |
_Tags.h | Property tag definitions for standard properties of MAPI objects. |
Chsfld.h | Prototype for HrPickFolder. Displays a dialog box allowing user to choose a folder from message stores in the current profile. |
This sample uses the following keywords:
_fmemset; _strdate; _strtime; addref; alloc; allocateandinitializesid; allocconsole; assert; assertmsg; assertsz; assertsz2; bytes; clasterror; closehandle; closeoutputhandles; code_seg; createthread; ctl3d_autosubclass; ctl3d_ceaseautosubclass; ctl3d_colorchange; ctl3d_getver; ctl3d_initialize; ctl3d_isautosubclass; ctl3d_subclass; ctl3d_subclassctl; ctl3d_uninitialize; ctl3dautosubclass; ctl3dautosubclassex; ctl3dcolorchange; ctl3dctlcolor; ctl3dctlcolorex; ctl3ddlgframepaint; ctl3denabled; ctl3dgetver; ctl3disautosubclass; ctl3dregister; ctl3dsubclassctl; ctl3dsubclassctlex; ctl3dsubclassdlg; ctl3dsubclassdlgex; ctl3dunautosubclass; ctl3dunregister; ctl3dunsubclassctl; ctl3dwininichange; dbgmem_addref; dbgmem_alloc; dbgmem_checkmemfn; dbgmem_didalloc; dbgmem_encapsulatefn; dbgmem_entercriticalsection; dbgmem_free; dbgmem_getsize; dbgmem_heapminimize; dbgmem_leakhook; dbgmem_leavecriticalsection; dbgmem_noleakdetectfn; dbgmem_queryinterface; dbgmem_realloc; dbgmem_release; dbgmem_reportleak; dbgmem_setfailureatfn; dbgmem_shutdownfn; dbgmem_validatepblk; dbgmem_validatepv; debugbreak; debugoutputfn; debugstr; debugtrace; debugtracefn; debugtraceproblemsfn; debugtrapfn; declare_interface; define_oleguid; defined; deletecriticalsection; disposeinstdata; disposeptr; entercriticalsection; equalsid; errorboxcallback; fcleanupinstanceglobals; fclose; fnnetalertraiseex; fopen; fpcolorchange; fpgetver; fpisautosubclass; fprintf; fpsubclassctl; free; freeconsole; freelibrary; freesid; getactivewindow; getasynckeystate; getcallstack; getcurrentprocess; getenv; getlasterror; getmodulehandle; getprivateprofileinta; getprivateprofilestring; getprocaddress; getscode; gettickcount; gettokeninformation; getversion; globalalloc; globalfree; globallock; globalsize; globalunlock; heapminimize; hresult_from_win32; hrgetlasterror; hrpickfolder; hrsetlasterror; ifindinst; ifromhr; initializecriticalsection; inittraces; isbadreadptr; isbadwriteptr; isdbgserviceanexe; leavecriticalsection; lmgetcurrenta5; loadlibrary; loadlibrarya; localalloc; localfree; logit; lstrcata; lstrcmpa; lstrcpy; lstrcpya; lstrcpyn; lstrlen; lstrlena; lstrlenw; make_hresult; make_mapi_e; makelangid; mapiallocatebuffer; mapifreebuffer; memcmp; memcopy; memcpy; memset; messageboxa; messageboxfn; messageboxfnthreadmain; messageboxindirect; multibytetowidechar; newptrclear; openprocesstoken; outputdebugstring; outputdebugstringa; pblkallocsize; pblkclientsize; pblkdequeue; pblkenqueue; pblktopv; pfnregistereventsourcea; pfnreportevent; prop_id; prop_tag; prop_type; pt; pvalloc; pvallocmore; pvfree; pvgetinstanceglobals; pvgetverifyinstanceglobals; pvslowgetinstanceglobals; pvtopblk; pvtovmbase; queryinterface; realloc; release; resultfromscode; sc; scaddconversationindex; sccheckscfn; scfillconvheader; scode; scode_facility; scodefromszfn; scsetinstanceglobals; scsetverifyinstanceglobals; setconsolescreenbuffersize; seterrormode; showerror; stdapi_; stdmethod; stdmethod_; stdmethodimp_; strcat; strcpy; switch; szdecodescode; szdecodescodefn; szdecodeulproptagfn; szdecodeulproptype; szdecodeulproptypefn; tracedebugger; traceinfomessage; traceio; traceio2; tracemessage; tracemessageif; traceprop; traceraw; traceresult; tracerpcerror; tracestring1; tracestring2; tracestring3; tracestring4; tracesyserror; tracesz3; trapsz; trapsz1; trapsz2; trapsz3; trapsz4; ulproptagfromszfn; uninittraces; va_end; va_start; verify; virtualalloc; virtualfree; vmalloc; vmallocex; vmfree; vmfreeex; vmgetsize; vmgetsizeex; vmrealloc; vmreallocex; vmvalidatepv; vmvalidatepvex; waitforsingleobject; warning; wep; winhelp; writeoutputstring; wsprintf; wsprintfa; wvsprintfa; zeromemory