TE Edit Control Win32 / Win64 Help
Product page

TerPictLinkName

Set or retrieve the link file name for a picture.

BOOL TerPictLinkName(hWnd, id, get, FileName)
BOOL TerPictLinkNameU(hWnd, id, get, FileNameW)
HWND hWnd;Handle of the window to be accessed
int id;picture id
BOOL get;TRUE to retrieve the file name, FALSE to set a new name.
LPBYTE FileName;The new link file name for the picture, or the pointer to receive the current picture name. This parameter is used by the TerPictLinkName method only.
LPWORD FileNameW;The new unicode link file name for the picture, or the pointer to receive the current picture name. This parameter is used by the TerPictLinkNameU method only.

Return Value: This function returns TRUE if successful.