Перейти из форума на сайт.

НовостиФайловые архивы
ПоискАктивные темыТоп лист
ПравилаКто в on-line?
Вход Забыли пароль? Первый раз на этом сайте? Регистрация
Компьютерный форум Ru.Board » Компьютеры » Программы » AutoIT (Часть 3)

Модерирует : gyra, Maz

gyra (23-01-2020 10:51): AutoIT (Часть 4)  Версия для печати • ПодписатьсяДобавить в закладки
На первую страницук этому сообщениюк последнему сообщению

   

WildGoblin



Ru-Board Member
Редактировать | Профиль | Сообщение | Цитировать | Сообщить модератору
#Region Global Variables and Constants
    Global $__g_venum, $__g_vext = 0
    Global $__g_irgbmode = 1
    Global Const $tagosversioninfo = "struct;dword OSVersionInfoSize;dword MajorVersion;dword MinorVersion;dword BuildNumber;dword PlatformId;wchar CSDVersion[128];endstruct"
    Global Const $image_bitmap = 0
    Global Const $image_icon = 1
    Global Const $image_cursor = 2
    Global Const $image_enhmetafile = 3
    Global Const $lr_defaultcolor = 0
    Global Const $lr_monochrome = 1
    Global Const $lr_color = 2
    Global Const $lr_copyreturnorg = 4
    Global Const $lr_copydeleteorg = 8
    Global Const $lr_loadfromfile = 16
    Global Const $lr_loadtransparent = 32
    Global Const $lr_defaultsize = 64
    Global Const $lr_vgacolor = 128
    Global Const $lr_loadmap3dcolors = 4096
    Global Const $lr_createdibsection = 8192
    Global Const $lr_copyfromresource = 16384
    Global Const $lr_shared = 32768
    Global Const $__tagcursorinfo = "dword Size;dword Flags;handle hCursor;" & "struct;long X;long Y;endstruct"
    Global Const $__winver = __winver()
#EndRegion Global Variables and Constants
#Region Functions list
#EndRegion Functions list
#Region Public Functions
 
    Func _winapi_createfile($sfilename, $icreation, $iaccess = 4, $ishare = 0, $iattributes = 0, $tsecurity = 0)
        Local $ida = 0, $ism = 0, $icd = 0, $ifa = 0
        If BitAND($iaccess, 1) <> 0 Then $ida = BitOR($ida, $generic_execute)
        If BitAND($iaccess, 2) <> 0 Then $ida = BitOR($ida, $generic_read)
        If BitAND($iaccess, 4) <> 0 Then $ida = BitOR($ida, $generic_write)
        If BitAND($ishare, 1) <> 0 Then $ism = BitOR($ism, $file_share_delete)
        If BitAND($ishare, 2) <> 0 Then $ism = BitOR($ism, $file_share_read)
        If BitAND($ishare, 4) <> 0 Then $ism = BitOR($ism, $file_share_write)
        Switch $icreation

Всего записей: 29483 | Зарегистр. 15-09-2001 | Отправлено: 10:43 04-09-2019 | Исправлено: WildGoblin, 11:54 04-09-2019
   

На первую страницук этому сообщениюк последнему сообщению

Компьютерный форум Ru.Board » Компьютеры » Программы » AutoIT (Часть 3)
gyra (23-01-2020 10:51): AutoIT (Часть 4)


Реклама на форуме Ru.Board.

Powered by Ikonboard "v2.1.7b" © 2000 Ikonboard.com
Modified by Ru.B0ard
© Ru.B0ard 2000-2024

BitCoin: 1NGG1chHtUvrtEqjeerQCKDMUi6S6CG4iC

Рейтинг.ru