WinCopyObject: Difference between revisions
Appearance
m Ak120 moved page OS2 API:PMI:WinCopyObject to WinCopyObject |
No edit summary |
||
Line 18: | Line 18: | ||
INCL_WINWORKPLACE | INCL_WINWORKPLACE | ||
=== Calling | === Calling Convention === | ||
[[Cdecl32]] | [[Cdecl32]] | ||
Revision as of 19:01, 18 January 2017
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:
- HOBJECT - Newly copied object.
- NULLHANDLE - If pre-existing or destination folder is NULLHANDLE.
Define (C/C++)
INCL_WINWORKPLACE
Calling Convention
Example Code
HOBJECT hndlOriginalObject; HOBJECT hndlDestinationObject; APIRET rc; ... rc = WinCopyObject(hndlOriginalObject, hndlDestinationObject, 0L); ...
Related Functions
Notes
The REXX version of this function is SysCopyObject.
OS Version Introduced
- OS2 Warp 3.0