Explorar o código

Added shell32 for pub.win32.

woollybah %!s(int64=9) %!d(string=hai) anos
pai
achega
3a0b8c4db8
Modificáronse 3 ficheiros con 10 adicións e 0 borrados
  1. 7 0
      win32.mod/shell32.bmx
  2. 2 0
      win32.mod/shell32.x
  3. 1 0
      win32.mod/win32.bmx

+ 7 - 0
win32.mod/shell32.bmx

@@ -0,0 +1,7 @@
+Strict
+
+
+Extern
+	Function ExtractIconA:Byte Ptr(hInst:Byte Ptr, lpszExeFileName$z, iconIndex:Int)
+	Function ExtractIconW:Byte Ptr(hInst:Byte Ptr, lpszExeFileName$w, iconIndex:Int)
+End Extern	

+ 2 - 0
win32.mod/shell32.x

@@ -0,0 +1,2 @@
+HICON ExtractIconA(HINSTANCE , LPCSTR , UINT )!
+HICON ExtractIconW(HINSTANCE , LPCWSTR , UINT )!

+ 1 - 0
win32.mod/win32.bmx

@@ -36,6 +36,7 @@ ModuleInfo "History: Added com.bmx"
 
 ?Win32
 Import "gdi32.bmx"
+Import "shell32.bmx"
 Import "user32.bmx"
 Import "kernel32.bmx"
 Import "winmm.bmx"