Page History
...
IMPORTANT: You should always release the handle to an SRP List when you no longer need it by calling SRP_List_Release.
Examples
Code Block |
---|
// Create the list Handle = SRP_List_Create("ABC,DEF,EFG", ",") // Look for 'DEF', which will return '2' Index = SRP_List_Locate(Handle, "DEF") // Look for 'XYZ', which will return '0' Index = SRP_List_Locate(Handle, "XYZ") // Play nice with memory SRP_List_Release(Handle) |