FACTOID # 60: Japan's water has a very high dissolved oxygen concentration - but not enough to prevent drowning in the bath.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RELATED ARTICLES
People who viewed "IUnknown" also viewed:
RECENT ARTICLES
More Recent Articles »
 

FACTS & STATISTICS    Simple view

  1. Select countries to view: (hold down Control key and click to select several)

     

     

    Compare:

     

     

  1. Select fact or statistic: (* = graphable)

     

     

     

  2. (OPTIONAL) Compare to statistic: (both need to be graphable)

     

     

     

  3. View result as:

     

       
(OR) SEARCH ALL encyclopedia, stats & forums:   

Encyclopedia > IUnknown

The published COM specification mandates that COM objects must minimally implement the IUnknown interface. This interface comprises three functions - QueryInterface, AddRef and Release. Component Object Model (COM) is a Microsoft platform for software componentry introduced by Microsoft in 1993. ...

  • QueryInterface is used to obtain a pointer to another interface, given a GUID that uniquely identifies that interface (commonly known as an IID). If the COM object does not implement that interface, an error is returned instead.
  • AddRef is used by clients to indicate that a COM object is being referenced. This is necessary to ensure that a COM object is not disposed prematurely
  • Release is used by clients to indicate that they have finished using the COM object. An unreferenced COM object may be safely disposed.
 interface IUnknown { virtual ULONG AddRef(void) = 0; virtual HRESULT QueryInterface(REFIID riid, void **ppvObject) = 0; virtual ULONG Release(void) = 0; }; 


The IUnknown interface is defined as a GUID with the value of {00000000-0000-0000-C0000-00000000046}. In computer science, a pointer is a programming language datatype whose value refers directly to (points to) another value stored elsewhere in the computer memory using its address. ... This article or section is in need of attention from an expert on the subject. ... This article or section is in need of attention from an expert on the subject. ...


Miscellanea

Core Foundation (also called CF) is a Mac OS X framework and API. CF provides: Primitive types for data (raw bytes, Unicode strings, numbers, calendar dates, UUIDs) and collections (arrays, sets, dictionaries) Application preferences management (CFPropertyList, Preferences Utilities) XML parsing Bundle handling File system I/O (CFReadStream, CFWriteStream, CFURL) Network...

See also


  Results from FactBites:
 
Using COM Objects from Java - Microsoft Technologies for Java (6082 words)
When all the clients using the COM object have released their references, the COM object removes itself from memory, and then unloads the associated library or application if it was the last object being used from that COM object provider.
IUnknown is the base interface in COM that every COM object must implement.
All COM interfaces extend IUnknown, have vtables that contain the three IUnknown methods in exactly the same vtable positions, and append their own methods to the base IUnknown vtable.
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.