C# .NET - Function IsFullScreen

This forum is about all development around libVLC.
XXXLange
New Cone
New Cone
Posts: 3
Joined: 11 May 2009 18:08

C# .NET - Function IsFullScreen

Postby XXXLange » 11 May 2009 18:38

Hi to all,
I'm trying to create a C# wrapper for this wonderful application (VLC) using the .NET interface and the relative VLC dll (libvlc.dll).
I have a problem: I don't find a function to import in the interface similar to VLC_IsPlaying, but for the fullscreen mode instead. What I need is a function to determinate if the vlc engine is running in fullscreen mode.
I find on the web something and I've tried it.
I used the VLC_VariableGet(iVLC, "fullscreen", val) tryin' to pass to val 0 or -1 but the function always returned -30 (novar error).
Exactly I've written somithing like this:

Code: Select all

public bool isFullScreen() { int val = VLC_VariableGet(iVLC, "fullscreen", 0); //using -1 instead of 0, I obtain the same risult if (val == 0) //if value returns 0, it should be success error according the error enum return true; return false; }
Could someone help me with some suggestions? Thanks in advance.
EDIT: libvlc.dll version is "0.8.6c Janus"

Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 45 guests