This function is specific to OS/2 Version 3.0 or higher.
This function eithers opens a view of the given object or surfaces an existing view.
#define INCL_WINWORKPLACE #include <os2.h> HOBJECT hObjectofObject; /* Handle to a Workplace Shell object to be opened. */ ULONG ulView; /* View in which to open the specified object. */ BOOL fFlags; /* Flags. */ BOOL rc; /* Success indicator. */ rc = WinOpenObject(hObjectofObject, ulView, fFlags);