Share via


NNTPSTATE enumeration

[NNTPSTATE is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

These are the various states the NNTP Transport can be in. These states are also used to determine which type of data is being returned in the client's OnResponse callback.

Syntax

typedef enum tagNNTPSTATE { 
  NS_DISCONNECTED  = 0,
  NS_CONNECT       = 1,
  NS_AUTHINFO      = 2,
  NS_POST          = 3,
  NS_IDLE          = 4,
  NS_LIST          = 5,
  NS_LISTGROUP     = 6,
  NS_NEWGROUPS     = 7,
  NS_GROUP         = 8,
  NS_LAST          = 9,
  NS_NEXT          = 10,
  NS_STAT          = 11,
  NS_ARTICLE       = 12,
  NS_HEAD          = 13,
  NS_BODY          = 14,
  NS_DATE          = 15,
  NS_MODE          = 16,
  NS_QUIT          = 17,
  NS_HEADERS       = 18,
  NS_XHDR          = 19
} ACCESSTYPE;

Constants

NS_DISCONNECTED

not connected

NS_CONNECT

awaiting connect response

NS_AUTHINFO

awaiting authorization

NS_POST

awaiting CommandPOST() to complete

NS_IDLE

connected (and authorized if necessary)

NS_LIST

awaiting LIST data

NS_LISTGROUP

awaiting LISTGROUP data

NS_NEWGROUPS

awaiting NEWGROUPS data

NS_GROUP

awaiting GROUP response

NS_LAST

awaiting LAST response

NS_NEXT

awaiting NEXT response

NS_STAT

awaiting STAT response

NS_ARTICLE

awaiting ARTICLE data

NS_HEAD

awaiting HEAD data

NS_BODY

awaiting BODY data

NS_DATE

awaiting DATE response

NS_MODE

awaiting MODE response

NS_QUIT

awaiting QUIT response

NS_HEADERS

awaiting XOVER or XHDR data from GetHeaders

NS_XHDR

awaiting XHDR data

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Imnxport.h
IDL
Imnxport.idl