mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-22 08:40:59 +00:00
SDL_GetDisplayName
This commit is contained in:
parent
8cf81bc2e6
commit
9b6f16a238
|
@ -1240,6 +1240,10 @@ namespace SDL2
|
|||
out SDL_DisplayMode mode
|
||||
);
|
||||
|
||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||
[return : MarshalAs(UnmanagedType.CustomMarshaler, MarshalTypeRef = typeof(LPUtf8StrMarshaler), MarshalCookie = LPUtf8StrMarshaler.LeaveAllocated)]
|
||||
public static extern string SDL_GetDisplayName(int index);
|
||||
|
||||
/// <summary>
|
||||
/// Use this function to get the desktop area represented by a display, with the primary display located at 0,0.
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in a new issue