Function Macro

GLibWin32clear_com

unstable since: 2.84

Declaration [src]

#define g_win32_clear_com (
  com_obj
)

Description [src]

Releases the referenced COM object, and clears its pointer to NULL.

The com_obj pointer must not be NULL.

If com_obj references a NULL COM object, this function is a no-op.

This is equivalent to g_clear_object() for dealing with Windows COM objects.

Available since: 2.84

This function is not directly available to language bindings.

Parameters

com_obj

Type: -

Pointer to COM object pointer to release and clear.