wpStoreIconPosData
Appearance
This method is specific to Version 4, or higher, of the OS/2 operating system.
This instance method stores the ICONPOS data passed to this method on the folder object's .ICONPOS extended attribute (EA).
Syntax
_wpStoreIconPosData(somSelf, pIconPos, cbSize)
Parameters
- somSelf (WPFolder *) - input
- Pointer to the object on which the method is being invoked.
- Points to an object of class WPFolder.
- pIconPos (PICONPOS) - input
- Pointer to the ICONPOS data.
- cbSize (ULONG) - input
- Size of the ICONPOS data block.
Returns
- rc (BOOL) - returns
- Success indicator
- TRUE Successful completion.
- FALSE Error occurred.
How to Override
This method is not generally overridden.
Remarks
This method is invoked when the folder's open content view is closed.
Example Code
#define INCL_WINWORKPLACE
#include <os2.h>
WPFolder *somSelf; /* Pointer to the object on which the method is being invoked. */
PICONPOS *pIconPos; /* Pointer to the ICONPOS data. */
ULONG cbSize; /* Size of the ICONPOS data block. */
BOOL rc; /* Success indicator */
rc = _wpStoreIconPosData(somSelf, pIconPos,
cbSize);