mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-21 05:43:16 -07:00
Move Windows libs to libs/windows
This commit is contained in:
parent
3975aaceb2
commit
3a692c94a5
684 changed files with 4 additions and 1 deletions
9
libs/win/jaraco/windows/ui.py
Normal file
9
libs/win/jaraco/windows/ui.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env python
|
||||
|
||||
import ctypes
|
||||
from jaraco.windows.util import ensure_unicode
|
||||
|
||||
|
||||
def MessageBox(text, caption=None, handle=None, type=None):
|
||||
text, caption = map(ensure_unicode, (text, caption))
|
||||
ctypes.windll.user32.MessageBoxW(handle, text, caption, type)
|
Loading…
Add table
Add a link
Reference in a new issue