INNTPTransport::CommandLIST method
[INNTPTransport::CommandLIST is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]
Sends a LIST
command to the news server. If pszArgs is NULL, then the command retrieves a list of newsgroups available on the news server. The pszArgs parameter can be used to issue one of the various extensions to the LIST
command, ie. LIST NEWSGROUPS, LIST ACTIVE, LIST OVERVIEW.FMT, or LIST SUBSCRIPTIONS. See RFC 977 at http://ds.internic.net/rfc/rfc977.txt for a full list of extensions.
Syntax
HRESULT CommandLIST(
[in] LPSTR pszArgs
);
Parameters
-
pszArgs [in]
-
Type: LPSTR
Any optional parameters that the user wants to send with the LIST command.
Return value
Type: HRESULT
Returns one of the following values.
Return code | Description |
---|---|
|
An invalid parameter was passed in |
|
A memory allocation failed |
Requirements
Minimum supported client |
Windows XP [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Product |
Outlook Express 6.0 |
Header |
|
IDL |
|
DLL |
|