Calls the Release() method on a passed OLE IUnknown pointer.
Note: This is a Windows only function.
Parameter | Description |
---|---|
<object> | (Required) A valid IUnknown pointer. |
BEEP Service
DESTROY Service
REMOVEDIR Service
CHOOSECOLOR Service
FLUSH Service
RENAMEDIR Service
CHOOSEDIR Service
GET_EVENT Service
RENAMEFILE Service
CHOOSEFILE Service
GETLOGICALDRIVES Service
RUNHELP Service
CHOOSEFONT Service
MAKEDIR Service
RUNWIN Service
COPYFILE Service
OBJECTID Service
TEXTRECT Service
CREATE Service
OBJECTLIST Service
WINCOUNT Service
CURSOR Service
PRINTSETUP Service
Utility function
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.
// 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 )