Define Query Interface,Adref,Release?



Define Query Interface,Adref,Release? ..

Answer / kondapallysantoshkumar

every COM object supports atleast one interfaceie IUNKNOWN
interface.each interface supports method acess data and
perform operations transperantely to the programmer,example
iunknown supports 3 methods addref(),release
(),queryinterface().if p is apointer to any iunknow.p-
>addref()increments the reference count
2)release().p->deleting the obkects when the reference
count reaches zero.,
3)queryinterface(idesired,pdesired).p->checks to see if the
current interface supports another interface

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

Who will magage un-managed code?

7 Answers   HP,


What are Master Pages in ASP.NET?

0 Answers  


Differentiate between namespace and assembly.

0 Answers  


Describe the difference between inline and code behind.

5 Answers   Siebel Systems,


What data types do the RangeValidator control support?

2 Answers   Siebel Systems,


Explain the differences between clr & cts?

0 Answers  


What is Dynamic Web and discuss its usage with the help of real life examples?

0 Answers   Huawei,


How to create events for a control?

0 Answers  


How to disable cut, copy and paste in TextBox using jQuery in asp.net?

0 Answers   HCL,


Define managed code and managed data in .net?

0 Answers  


How can you change a Master page dynamically in which event of page life cycle?

2 Answers   Fulcrum Logic,


What kind of data we can store in viewstate?

0 Answers  


Categories