Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method is used by applications to set various image flags.
HRESULT SetImageFlags( UINT flags);
Parameters
- flags
[in] A UINT value containing one or both ImageFlags enumeration values, ImageFlagsReadOnly or ImageFlagsCaching.
Return Values
If successful, this method returns S_OK.
If it fails, this method should return one of the following error values:
- IMGERR_OBJECTBUSY
- E_FAIL
- E_INVALIDARG
For more information, see Error Codes for the Imaging API.
Remarks
When you set the value of flags to ImageFlagsCaching, it is interpreted as a hint by the image object. The image object makes the final determination as to whether or how the image is cached.
Requirements
OS Versions: Windows CE 5.0 and later.
Header: Imaging.h.
Link Library: Imaging.lib.
See Also
Send Feedback on this topic to the authors