Download MovieTube.Viewer/Classes/NativeMethods.cs from niobures/VideoSearch: direct link, hf CLI and curl.
- Browser
- Download file 566 Bytes
-
https://huggingface.co/niobures/VideoSearch/resolve/main/MovieTube.Viewer/Classes/NativeMethods.cs
- Command line
-
hf download hf://niobures/VideoSearch/MovieTube.Viewer/Classes/NativeMethods.cs
-
curl -L -o NativeMethods.cs https://huggingface.co/niobures/VideoSearch/resolve/main/MovieTube.Viewer/Classes/NativeMethods.cs
566 Bytes
| using System; | |
| using System.Collections.Generic; | |
| using System.Text; | |
| using System.Runtime.InteropServices; | |
| namespace MovieTube.Viewer | |
| { | |
| internal class NativeMethods | |
| { | |
| public const int HWND_BROADCAST = 0xffff; | |
| public static readonly int WM_SHOWME = RegisterWindowMessage("WM_SHOWME"); | |
| [] | |
| public static extern bool PostMessage(IntPtr hwnd, int msg, IntPtr wparam, IntPtr lparam); | |
| [] | |
| public static extern int RegisterWindowMessage(string message); | |
| } | |
| } | |