====== IUNKNOWN_RELEASE Service ====== ==== Description ==== Calls the Release() method on a passed OLE IUnknown pointer. Note: This is a Windows only function. ==== Parameters ==== ^Parameter^Description^ ||(Required) A valid IUnknown pointer.| ==== See Also ==== [[beep_service|BEEP]] Service [[destroy_service|DESTROY]] Service [[removedir_service|REMOVEDIR]] Service [[choosecolor_service|CHOOSECOLOR]] Service [[flush_service|FLUSH]] Service [[renamedir_service|RENAMEDIR]] Service [[choosedir_service|CHOOSEDIR]] Service [[get_event_service|GET_EVENT]] Service [[renamefile_service|RENAMEFILE]] Service [[choosefile_service|CHOOSEFILE]] Service [[getlogicaldrives_service|GETLOGICALDRIVES]] Service [[runhelp_service|RUNHELP]] Service [[choosefont_service|CHOOSEFONT]] Service [[makedir_service|MAKEDIR]] Service [[runwin_service|RUNWIN]] Service [[copyfile_service|COPYFILE]] Service [[objectid_service|OBJECTID]] Service [[textrect_service|TEXTRECT]] Service [[create_service|CREATE]] Service [[objectlist_service|OBJECTLIST]] Service [[wincount_service|WINCOUNT]] Service [[cursor_service|CURSOR]] Service [[printsetup_service|PRINTSETUP]] Service [[utility|Utility]] function ==== Note ==== Ensure that you pass a valid interface pointer to this method otherwise you may cause your application to crash. For more details on the IUnknown interface please see the Microsoft documentation on COM and OLE programming. ==== Example ==== // Load a OLE Picture object bmpFile = ".\bmps\somepic.bmp" pPicture = Utility( "LOAD_PICTURE", bmpFile ) // Do something with the picture object ... // Call it's release method call Utility( "IUNKNOWN_RELEASE", pPicture )