guides:programming:programmers_reference_manual:iunknown_release_service

IUNKNOWN_RELEASE Service

Calls the Release() method on a passed OLE IUnknown pointer.

Note: This is a Windows only function.

ParameterDescription
<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 )
  • guides/programming/programmers_reference_manual/iunknown_release_service.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1