Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Tue, 12 Feb 2008 17:12:32 -0000,    group: microsoft.public.platformsdk.mapi        back       


GetContentsTable()   
Hi

I was wondering what the behaviour of GetContentsTable() should be.

Should it return a pointer to the existing table or should it create a fresh 
view (with its own cursor, sort order and restriction)?

The documentation at

http://msdn2.microsoft.com/en-us/library/ms528853(EXCHG.10).aspx

doesn't really seem to specify what's actually required. My implementation 
used to return a fresh view each with its own column set, sort and cursor. 
This appears to work perfectly in OL2007. In Outlook 2003 this would render 
an empty view unless all views shared the same sort order.

What's actually required here? Is it a pointer to an existing table view or 
is it a fresh view?

Cheers
Win
date: Tue, 12 Feb 2008 17:12:32 -0000   author:   Windoze

Re: GetContentsTable()   
It is always a brand new IMAPITable that shares nothing with any other 
instance of that folder's contents table.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool

"Windoze"  wrote in message 
news:%23YKG2pZbIHA.5900@TK2MSFTNGP02.phx.gbl...
> Hi
>
> I was wondering what the behaviour of GetContentsTable() should be.
>
> Should it return a pointer to the existing table or should it create a 
> fresh view (with its own cursor, sort order and restriction)?
>
> The documentation at
>
> http://msdn2.microsoft.com/en-us/library/ms528853(EXCHG.10).aspx
>
> doesn't really seem to specify what's actually required. My implementation 
> used to return a fresh view each with its own column set, sort and cursor. 
> This appears to work perfectly in OL2007. In Outlook 2003 this would 
> render an empty view unless all views shared the same sort order.
>
> What's actually required here? Is it a pointer to an existing table view 
> or is it a fresh view?
>
> Cheers
> Win
>
date: Tue, 12 Feb 2008 11:34:14 -0700   author:   Dmitry Streblechenko

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us