🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #310

Re: IStream QueryInterface

#310
From: Remy Lebeau (TeamB)
Date: Fri, 07 Jan 2005 20:58
14 lines
1338 bytes
"Jonathan Benedicto" <incorrect@no.server> wrote in message
news:41ded7d8$1@newsgroups.borland.com...

> When I write a implementation for IStream, what IID's should I support.
>
> Eg. IID_IUnknown etc.

You need to always support IID_IUnknown, and you need to support the IID of
every interface you actually implement/return.  In this case, you are
implementing IStream, so you need to support IID_IStream.


Gambit
Technical Details
Message-ID: <41def917$2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!easynet-monga!easynet.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41ded7d8$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10d0fc,65766213d391cac8
X-Google-Attributes: gid10d0fc,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.multimedia
References: <41ded7d8$1@newsgroups.borland.com>
Subject: Re: IStream QueryInterface
Date: Fri, 7 Jan 2005 12:58:37 -0800
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <41def917$2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1105131799 68.69.17.41 (7 Jan 2005 13:03:19 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!easynet-monga!easynet.net!grolier!194.74.65.66.MISMATCH!news-peer0-test!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail