ASPEN_NewsNotice

 

Related Topics

 

 

Purpose

Inform the application that a news story has arrived.

 

 

Notice

For this event notice, the notice parameter of the AspenEvent() function receives a pointer to a ASPEN_NEWS_NOTICE structure.

 

This structure is dynamically allocated by Aspen and must be freed using the AspenFreeMemory() function after use.

 

 

Structure

typedef struct

{

   long     story_handle;

   long     story_number;

   long     story_time;

   short    story_size;

   USHORT   character_set;

   short    category_count;

   short    deletion_count;

   short    keyword_count;

   char     packed_offset[];

}ASPEN_NEWS_NOTICE;

 

 

Remarks

If an application has requested real-time updates on news stories, those updates will be reported as ASPEN_NewsNotice events.

 

News story updates reflect real-time news coverage as reported by the data feed. Real-time updates for news must be enabled by making an ASPEN_SetNewsWatch service request with a TRUE (1) boolean. Updates may be disabled by making an ASPEN_SetNewsWatch service request with a FALSE (0) boolean.

 

 

See Also

AspenEvent()

AspenFreeMemory()

ASPEN_NEWS_NOTICE

ASPEN_SetNewsWatch

ASPEN_GetNewsIndex

ASPEN_GetStoryInfo

ASPEN_GetNewsStory

ASPEN_GetNumberedStory

 

 

Example

NA

 

©2006 Aspen Research Group, Ltd. All rights reserved. Terms of Use.