HeaderPane
Main

SftPicture2 Documentation

Share Link
Print

Sft_IsPicture

Return TRUE if a SFT_PICTURE is non-empty (any picture type other than 0 has been assigned).

C

BOOL Sft_IsPicture(LPCSFT_PICTURE lpPicture);

Parameters

lpPicture

Pointer to a SFT_PICTURE. NULL is accepted and returns FALSE.

Return Value

TRUE if the slot is non-empty (the type field is non-zero), FALSE if the slot is empty or the pointer is NULL.

Comments

Use Sft_IsPicture as a guard before calling code that requires a populated picture - for example, before reading any of the union members. For type-specific checks, use the Sft_IsPicture* type-specific predicates.

See Also SftPicture2 | SFT_PICTURE | Sft_IsPicture* (type-specific)


Last Updated 05/09/2026 - (email)
© 2026 Softel vdm, Inc.