Skip to content

Commit

Permalink
First upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfearless committed Aug 8, 2024
0 parents commit 405d594
Show file tree
Hide file tree
Showing 77 changed files with 10,353 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
* text eol=crlf
*.exe binary
*.a binary
*.dll binary
*.zip binary
*.obj binary
*.res binary
*.lib binary
*.dlg binary
*.mnu binary
*.ttf binary
*.ico binary
*.bmp binary
*.png binary
*.jpg binary
*.rst linguist-documentation
*.bat linguist-language=Text
*.tpl linguist-language=Text
*.rap linguist-language=Text
*.bat linguist-language=Text
*.asm linguist-language=Assembly
*.inc linguist-language=Assembly
*.rc linguist-language=Text
*.hsl linguist-language=Text
makefile linguist-language=Text
conf.py linguist-language=Python
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
docs/build*/
bak/
*.chm
package_releases.bat
gendocs.bat
*.old
*.obj
*.used
23 changes: 23 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Build PDF, ePub & HTMLZip
formats: all

python:
install:
- requirements: docs/requirements.txt

build:
os: ubuntu-22.04
tools:
python: "3.12"

sphinx:
builder: html
configuration: docs/conf.py
fail_on_warning: false
3,445 changes: 3,445 additions & 0 deletions FileDialog-x64/FileDialog.asm

Large diffs are not rendered by default.

46 changes: 46 additions & 0 deletions FileDialog-x64/FileDialog.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
;==============================================================================
;
; FileDialog x64 Library
;
; http://github.com/mrfearless/FileDialog-Library
;
; This software is provided 'as-is', without any express or implied warranty.
; In no event will the author be held liable for any damages arising from the
; use of this software.
;
;==============================================================================

;------------------------------------------------------------------------------
; FileDialog Prototypes
;------------------------------------------------------------------------------
FileOpenDialogA PROTO lpszTitle:QWORD, lpszOkLabel:QWORD, lpszFileLabel:QWORD, lpszFolder:QWORD, nMFS:QWORD, pMFS:QWORD, hWndOwner:QWORD, bMulti:QWORD, lpdwFiles:QWORD, lpFilesArray:QWORD
FileOpenDialogW PROTO lpszTitle:QWORD, lpszOkLabel:QWORD, lpszFileLabel:QWORD, lpszFolder:QWORD, nMFS:QWORD, pMFS:QWORD, hWndOwner:QWORD, bMulti:QWORD, lpdwFiles:QWORD, lpFilesArray:QWORD

FileSaveDialogA PROTO lpszTitle:QWORD, lpszOkLabel:QWORD, lpszFileLabel:QWORD, lpszFolder:QWORD, nMFS:QWORD, pMFS:QWORD, hWndOwner:QWORD, bWarn:QWORD, lpszFileName:QWORD, lpdwSaveFile:QWORD
FileSaveDialogW PROTO lpszTitle:QWORD, lpszOkLabel:QWORD, lpszFileLabel:QWORD, lpszFolder:QWORD, nMFS:QWORD, pMFS:QWORD, hWndOwner:QWORD, bWarn:QWORD, lpszFileName:QWORD, lpdwSaveFile:QWORD

FolderSelectDialogA PROTO lpszTitle:QWORD, lpszOkLabel:QWORD, lpszFileLabel:QWORD, lpszFolder:QWORD, hWndOwner:QWORD, lpdwFolder:QWORD
FolderSelectDialogW PROTO lpszTitle:QWORD, lpszOkLabel:QWORD, lpszFileLabel:QWORD, lpszFolder:QWORD, hWndOwner:QWORD, lpdwFolder:QWORD



IFDEF __UNICODE__
FileOpenDialog EQU <FileOpenDialogW>
FileSaveDialog EQU <FileSaveDialogW>
FolderSelectDialog EQU <FolderSelectDialogW>
ELSE ; ANSI
FileOpenDialog EQU <FileOpenDialogA>
FileSaveDialog EQU <FileSaveDialogA>
FolderSelectDialog EQU <FolderSelectDialogA>
ENDIF

;------------------------------------------------------------------------------
; FileDialog Structures
;------------------------------------------------------------------------------
IFNDEF COMDLG_FILTERSPEC
COMDLG_FILTERSPEC STRUCT
pszName DQ ?
pszSpec DQ ?
COMDLG_FILTERSPEC ENDS
ENDIF

Binary file added FileDialog-x64/FileDialog.lib
Binary file not shown.
141 changes: 141 additions & 0 deletions FileDialog-x64/FileDialog.rap
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
[Project]
Assembler=UASM64
Type=LIB64 Project
Description=FileDialog
Backup=$P\Bak\
Group=1
GroupExpand=1
[Files]
1=FileDialog.Asm
2=FileDialog.Inc
3=
4=
5=
6=uasm64ApiCall.api.txt
7=uasm64ApiConst.api.txt
[MakeFiles]
0=FileDialog.rap
1=FileDialog.rc
2=FileDialog.asm
3=FileDialog.obj
4=FileDialog.res
5=FileDialog.exe
6=FileDialog.def
7=FileDialog.dll
8=FileDialog.txt
9=FileDialog.lib
10=FileDialog.mak
11=FileDialog.hla
12=FileDialog.com
13=FileDialog.ocx
14=FileDialog.idl
15=FileDialog.tlb
16=FileDialog.sys
[MakeDef]
Menu=0,1,1,1,0,0,0,0,1,0,0,0,0,0,0,0
1=4,O,$B\RC.EXE /v,1
2=3,O,$B\UASM64.EXE /c -win64 -Zp8 /win64 /D_WIN64 /Cp /nologo /W2 /I"$I" *.asm
3=9,O,$B\LIB.EXE *.obj /out:FileDialog.lib
4=0,0,,5
5=rsrc.obj,O,$B\CVTRES.EXE,rsrc.res
6=*.obj,O,$B\UASM64.EXE /c -win64 -Zp8 /win64 /D_WIN64 /Cp /nologo /W2 /I"$I" *.asm
7=0,0,"$E\x64\x64dbg",5
11=4,O,$B\RC.EXE /v,1
12=3,O,$B\UASM64.EXE /c -win64 -Zp8 /Zi /win64 /D_WIN64 /Cp /nologo /W2 /Zi /Zd /nologo /I"$I" *.asm
13=9,O,$B\LINK -lib *.obj /out:"$9"
14=0,0,,5
15=rsrc.obj,O,$B\CVTRES.EXE,rsrc.res
16=*.obj,O,$B\UASM64.EXE /c -win64 -Zp8 /Zi /win64 /D_WIN64 /Cp /nologo /W2 /I"$I" *.asm
17=0,0,"$E\x64\x64dbg",5
[Resource]
[StringTable]
[Accel]
[VerInf]
[Group]
Group=Assembly,Resources
1=1
2=1
3=
4=
5=
6=2
7=2
[AutoLoad]
AutoLoad=1
[Size]
4=
5=
3=
1=0,0,0,0,342
7=0,0,0,0,278
6=0,0,0,0,386
2=0,0,0,0,0
[Find]
1="_FD_FreeConvertedString"
2="seperated"
3="DEBUG32"
4="ebx"
5="eax"
6="dw"
7=":DWORD"
8="DWORD"
9="IFileOpenDialogW"
10="IFileOpenDialogA"
[RADebugBP]
2=
1=
[VersionControl]
Settings=1278
Milestones=129
MilestoneEvery=10
MilestoneEveryCurrent=0
MilestoneOnBuild=0.0.0.0
MilestoneOnTime=2
MilestoneOnDate=0
MilestoneOnDateWhen=1
MilestoneOnDateStatus=0
MilestoneOnDateDate=8
MilestoneOnDateTimeYear=2024
MilestoneOnDateTimeMonth=8
MilestoneOnDateTimeDate=4
MilestoneOnDateTimeHour=19
MilestoneOnDateTimeMin=48
MilestoneOnDateTimeSec=23
MilestoneOnDateTimeStatus=0
BackupLocation=M:\radasm\UASM64\Projects\VCBackups\
CompressionLevel=0
DefaultComment=Project $N, $Z, Backup Created On $D At $T.
ExcludeExt1=\
ExcludeExt2=\
ExcludeExt3=\
ExcludeExt4=\
FileVerLength=4
FileVer2Range=0
FileVer3Range=0
FileVer4Range=0
ProductVerLength=4
ProductVer2Range=0
ProductVer3Range=0
ProductVer4Range=0
[PTimer]
PTimer=14612626
[Collapse]
1=149568,33554553,2048,64,,64,
7=
6=
2=
[GroupExpand]
GroupExpand=1,1,0
[BookMark]
0=
1=
2=
3=
4=
5=
6=
7=
8=
9=
[BreakPoint]
0=
17 changes: 17 additions & 0 deletions FileDialog-x64/uasm64ApiCall.api.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
;------------------------------------------------------------------------------
; FileDialog x64 Library
;
; Paste this text at the end of \Radasm\UASM64\uasm64ApiCall.api to add these to Radasm
;
;------------------------------------------------------------------------------
FileOpenDialogA,lpszTitle,lpszOkLabel,lpszFileLabel,lpszFolder,nMFS,pMFS,hWndOwner,bMulti,lpqwFiles,lpFilesArray
FileOpenDialogW,lpszTitle,lpszOkLabel,lpszFileLabel,lpszFolder,nMFS,pMFS,hWndOwner,bMulti,lpqwFiles,lpFilesArray
FileOpenDialog,lpszTitle,lpszOkLabel,lpszFileLabel,lpszFolder,nMFS,pMFS,hWndOwner,bMulti,lpqwFiles,lpFilesArray

FileSaveDialogA,lpszTitle,lpszOkLabel,lpszFileLabel,lpszFolder,nMFS,pMFS,hWndOwner,bWarn,lpszFileName,lpqwSaveFile
FileSaveDialogW,lpszTitle,lpszOkLabel,lpszFileLabel,lpszFolder,nMFS,pMFS,hWndOwner,bWarn,lpszFileName,lpqwSaveFile
FileSaveDialog,lpszTitle,lpszOkLabel,lpszFileLabel,lpszFolder,nMFS,pMFS,hWndOwner,bWarn,lpszFileName,lpqwSaveFile

FolderSelectDialogA,lpszTitle,lpszOkLabel,lpszFileLabel,lpszFolder,hWndOwner,lpqwFolder
FolderSelectDialogW,lpszTitle,lpszOkLabel,lpszFileLabel,lpszFolder,hWndOwner,lpqwFolder
FolderSelectDialog,lpszTitle,lpszOkLabel,lpszFileLabel,lpszFolder,hWndOwner,lpqwFolder
71 changes: 71 additions & 0 deletions FileDialog-x64/uasm64ApiConst.api.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
;------------------------------------------------------------------------------
; FileDialog x64 Library
;
; Paste this text at the end of \Radasm\UASM64\uasm64ApiConst.api to add these to Radasm
;
;------------------------------------------------------------------------------
1FileOpenDialogA,NULL
2FileOpenDialogA,NULL
3FileOpenDialogA,NULL
4FileOpenDialogA,NULL
5FileOpenDialogA,0
6FileOpenDialogA,NULL
8FileOpenDialogA,TRUE,FALSE

1FileOpenDialogW,NULL
2FileOpenDialogW,NULL
3FileOpenDialogW,NULL
4FileOpenDialogW,NULL
5FileOpenDialogW,0
6FileOpenDialogW,NULL
8FileOpenDialogW,TRUE,FALSE

1FileOpenDialog,NULL
2FileOpenDialog,NULL
3FileOpenDialog,NULL
4FileOpenDialog,NULL
5FileOpenDialog,0
6FileOpenDialog,NULL
8FileOpenDialog,TRUE,FALSE

1FileSaveDialogA,NULL
2FileSaveDialogA,NULL
3FileSaveDialogA,NULL
4FileSaveDialogA,NULL
5FileSaveDialogA,0
6FileSaveDialogA,NULL
8FileSaveDialogA,TRUE,FALSE
9FileSaveDialogA,NULL

1FileSaveDialogW,NULL
2FileSaveDialogW,NULL
3FileSaveDialogW,NULL
4FileSaveDialogW,NULL
5FileSaveDialogW,0
6FileSaveDialogW,NULL
8FileSaveDialogW,TRUE,FALSE
9FileSaveDialogW,NULL

1FileSaveDialog,NULL
2FileSaveDialog,NULL
3FileSaveDialog,NULL
4FileSaveDialog,NULL
5FileSaveDialog,0
6FileSaveDialog,NULL
8FileSaveDialog,TRUE,FALSE
9FileSaveDialog,NULL

1FolderSelectDialogA,NULL
2FolderSelectDialogA,NULL
3FolderSelectDialogA,NULL
4FolderSelectDialogA,NULL

1FolderSelectDialogW,NULL
2FolderSelectDialogW,NULL
3FolderSelectDialogW,NULL
4FolderSelectDialogW,NULL

1FolderSelectDialog,NULL
2FolderSelectDialog,NULL
3FolderSelectDialog,NULL
4FolderSelectDialog,NULL
Loading

0 comments on commit 405d594

Please sign in to comment.