Last updated 1 year ago
[DllImport("netapi32.dll", CharSet = CharSet.Unicode, SetLastError = true)] public static extern uint NetUserModalsSet( string ServerName, uint Level, ref USER_MODALS_INFO_0 Buffer, out uint ParmError );
Microsoft documentation: