Files
2026-02-21 16:45:37 +08:00

20 lines
715 B
C#

using System.Runtime.InteropServices;
namespace Valve.VR
{
public struct IVRNotifications
{
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVRNotificationError _CreateNotification(ulong ulOverlayHandle, ulong ulUserValue, EVRNotificationType type, string pchText, EVRNotificationStyle style, ref NotificationBitmap_t pImage, ref uint pNotificationId);
[UnmanagedFunctionPointer(CallingConvention.StdCall)]
internal delegate EVRNotificationError _RemoveNotification(uint notificationId);
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _CreateNotification CreateNotification;
[MarshalAs(UnmanagedType.FunctionPtr)]
internal _RemoveNotification RemoveNotification;
}
}