The 'Flags' as they are called are pre-declared within one of the units for the vlcplugin. To see these simply press ctrl + left click on the flag you already have in playlist mode, think you have VLCPlaylistInsertAndGo but i cant see it. anyway this will take you to the correct unit and line where this flag is delcared along with the others it looks like this:
Code: Select all
type
VLCPlaylistMode = TOleEnum;
const
VLCPlayListInsert = $00000001;
VLCPlayListInsertAndGo = $00000009;
VLCPlayListReplace = $00000002;
VLCPlayListReplaceAndGo = $0000000A;
VLCPlayListAppend = $00000004;
VLCPlayListAppendAndGo = $0000000C;
VLCPlayListCheckInsert = $00000010;
these are pre-declared so all you have to do is type there names and the plugin will recieve the correct flag. These can be used as flags in the usual way, ie with logical operators to do more than one thing or definatly not something. For more information on delphi and indeed flags which are used often in programming i recommend reading
http://www.delphi.about.com this will show you all the basics of delphi and all the advanced stuff right up to opengl.
note: by pre-declared i mean you dont have to retype what is above at the start of the unit, just use the them, it will work i promise
hope this helps!