|
|
| INT
NntpSelectGroup(
|
|
|
HCLIENT
hClient, |
|
|
|
|
LPCTSTR
lpszGroupName |
|
|
| );
|
The NntpSelectGroup function selects the specified
newsgroup from which articles will be retrieved.
Parameters
- hClient
- Handle to the client session.
- lpszGroupName
- Pointer to a null-terminated string which specifies the
newsgroup to be selected. This value may be NULL, in which case the
current newsgroup is unchanged, but the article count is
updated.
Return Value
If the function succeeds, the return value is the server result
code. If the function fails, the return value is NNTP_ERROR. To get
extended error information, call NntpGetLastError.
Remarks
This function selects the newsgroup and obtains a description
and the first and last article numbers for that group.
Requirements
Client: Requires Windows Vista, Windows XP or Windows
2000 Professional.
Server: Requires Windows Server 2008, Windows Server 2003 or
Windows 2000 Server.
Header: Include cstools6.h.
Library: Use csnwsav6.lib.
Unicode: Implemented as Unicode and ANSI versions.
See Also
NntpGetGroupName, NntpGetGroupTitle, NntpListGroups, NntpListNewGroups
|
|