What should QueryInterface functions do if requested object
was not found?



What should QueryInterface functions do if requested object was not found?..

Answer / jitendra

Returns a pointer to the current interface if successful or
E_NOINTERFACE otherwise.

Is This Answer Correct ?    4 Yes 1 No

Post New Answer

More COM DCOM Interview Questions

What is dcom?

0 Answers  


How to create an instance of the object in COM?

0 Answers  


C is aggregated by B, which in turn aggregated by A. Our client requested C. What will happen?

2 Answers  


What is the difference, if any, between OLE and COM?

3 Answers  


How can would you create an instance of the object in COM

2 Answers  






how do you know it is general dll or com dll

5 Answers  


How does a DCOM component know where to instantiate itself?

1 Answers  


What are the purposes of AddRef, Release and QueryInterface functions

2 Answers  


How to Use structs in COM interfaces when Automation compatibility is not an issue?

1 Answers  


Explain Futures of COM?

0 Answers  


Suppose we have object b and aggregated object c (in- proc server), created by b. Can you access any interface of b from c? What?s the difference between aggregated and contained objects?

0 Answers  


Do COM keep track of all the object references(Accounting)?

3 Answers   Microsoft,


Categories