Jump to content

WinCopyObject

From EDM2
Revision as of 21:11, 11 May 2005 by Daniel.lee.kruse (talk | contribs) (WinCopyObject created.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

WinCopyObject

WinCopyObject(hndlOriginalObject, hndlDestinationObject, reserved)

Copies object from its existing location to the destination location.

Parameters

hndlOriginalObject - HOBJECT - input

Handle of Workplace object being copied.

hndlDestinationObject - HOBJECT - input

Handle of the destination folder where hndlOriginalObject will be copied.

reserved - ULONG - input

Must be set to zero, reserved paramter.

Constants

None

Returns

APIRET with values of:

Module

Define (C/C++)

INCL_WINWORKPLACE

Export name/Ordinal

Calling conversion

Cdecl32

Example Code

HOBJECT hndlOriginalObject;
HOBJECT hndlDestinationObject;
APIRET rc;
...
rc = WinCopyObject(hndlOriginalObject, hndlDestinationObject, 0L);
...

Related Functions

WinCreateObject WinDestroyObject WinMoveObject WinQueryObjectWindow WinSaveObject

Notes

The REXX version of this function is SysCopyObject.

OS Version Introduced

OS2 Warp 3.0