Platform SDK: SMTP Server Events

IDnsResolverRecord::GetItem

[This is preliminary documentation and subject to change.]

Returns an indexed DNS record from the sink.

HRESULT GetItem(
   [in] ULONG cIndex, 
   [out] LPSTR *ppszHostName, 
   [out] DWORD *pAddr 
);
cIndex
The index of the requested record.
ppszHostName
On return, the name of the host for the record.
pAddr
On return, the host's IP address.

Return Values

Value Description
S_OK Success. The hostname and associated IP address are returned.

Remarks