WinMoveObject: Difference between revisions
Appearance
m Ak120 moved page OS2 API:PMI:WinMoveObject to WinMoveObject |
|||
Line 31: | Line 31: | ||
=== Export name/Ordinal === | === Export name/Ordinal === | ||
=== Calling | === Calling Convention === | ||
[[Cdecl32]] | [[Cdecl32]] | ||
Revision as of 04:34, 17 January 2017
WinMoveObject
- WinMoveObject(moveObject, destinationObject, option)
- Moves object from one location to the desired location.
Parameters
- moveObject - HOBJECT - input
- Handle of the object to be moved.
- destinationObject - HOBJECT - input
- Handle of the destination folder to move the moveObject into.
- option - ULONG - input
- The only supported option is CO_FAILIFEXISTS.
Constants
- CO_FAILIFEXISTS
Returns
HOBJECT of the object moved or NULLHANDLE if the object exists already exists or the current object's handle is NULLHANDLE. Returns from WinGetLastError should WinMoveObject fail:
Module
Define (C/C++)
INCL_WINWORKPLACE
Export name/Ordinal
Calling Convention
Example Code
... HOBJECT moveObject; HOBJECT destinationObject; ULONG option; HOBJECT rc; ... rc = WinMoveObject (moveObject, destinationObject, option); ...
Related Functions
Notes
The REXX function is SysMoveObject.
OS Version Introduced
- OS/2 Warp 3.0