SECEdit::GetItemData

SEC_DWORDSECEdit::GetItemData(intnLine)

Retrieves user data associated with the given line. Each line can have a user-defined 32/64-bit value assigned.

Defined in: SECEdit.cpp

Return Value

Returns the user-defined value as a SEC_DWORD. This is 32 bits on Win32 and 64 bits on Win64.

Parameters

nLine

The line index of the text.

Developer Notes

When a line becomes deleted, RemoveItemDataLines is called to delete the SECEditItemData object associated with the line. You should override the RemoveItemDataLines method to handle any memory cleanup to prevent the allocated memory from becoming orphaned.

See Also

SECEdit  SetItemData  RemoveItemDataLines