Applications | | | | E.T. | small Spielerei, How File-Types (and its Zuordnung) read go can. in the example sortiere I The registered video-Types from.
with manchen Codec's, which directly only of/ one application zugeordnet are, Have I unfortunately yet no Possibility found, these as "Video" zuzuordnen :
there it here but around the spare verwendbaren Formate went, is this not integrally so relevant (the Mediaplayer can z.B. by me Videos in the .mpeg4 - stature not Play, shows only one leeres Window, during The game-Time runs. means probably no Access to whom Codec ) CompileMarkSeparationDef Regopenkeyex(5) !"ADVAPI32","RegOpenKeyExA"
Def Regenumkey(4) !"ADVAPI32","RegEnumKeyA"
Def Regclosekey(1) !"ADVAPI32","RegCloseKey"
Def @Regenumvalue(8) !"ADVAPI32","RegEnumValueA"
$H Windows.ph
Windowstyle 8+16
Windowtitle "REGISTRIERTE VIDEO - TYPEN"
Window 600,700
CLS ~Getsyscolor(15)
Declare Ergebnis#,Open_Error&,Handle&,Zaehler%, Eintrag$
Declare Arb_Box&, V_Box&, MCI_Box&, MCI_Key$
Arb_Box& = @Create("MultiEdit",%HWnd,"",5,5,580,100)
@Create("Text",%HWnd,"Gefundene Reg.-Einträge für Video (HKEY_CLASSES_ROOT) :",5,110,500,20)
V_Box& = @Create("MultiEdit",%HWnd,"",5,130,580,200)
@Create("Text",%HWnd,"Gefundene MCI-Einträge für Video:",5,340,500,20)
MCI_Box& = @Create("MultiEdit",%HWnd,"",5,360,580,200)
Reg_0_Schluessel
MCI_Schluessel
Proc AddMultiLine
Parameters Multi&,Text$
Text$ = Text$+"\n"
var TextEnde& = Len(GetText$(Multi&))
~sendmessage(Multi&,$B1,TextEnde&,TextEnde&)
~sendmessage(Multi&,$C2,1,addr(Text$))
EndProc
Proc Reg_0_Schluessel
Dim Ergebnis#,255
'HKEY_CLASSES_ROOT = $80000000
'HKEY_CURRENT_USER = $80000001
'HKEY_LOCAL_MACHINE = $80000002
'HKEY_USERS = $80000003
'$20019 = Nur auslesen
AddMultiLine Arb_Box&,"Schlüssel öffnen..."
Open_Error&=Regopenkeyex($80000000,0,0,$20019,Addr(Handle&))
IfNot Open_Error&
AddMultiLine Arb_Box&,"O.K."
AddMultiLine Arb_Box&,"...lese Unterschlüssel aus, Moment bitte..."
Else
AddMultiLine Arb_Box&," Fehler !!!!"
waitinput
end
EndIf
Whilenot Open_Error&
Open_Error&=Regenumkey(Handle&,Zaehler%,Ergebnis#,100)
Casenot Open_Error& : Addstring String$(Ergebnis#,0)
Inc Zaehler%
Endwhile
AddMultiLine Arb_Box&,"Schlüssel schliessen..."
Regclosekey(Handle&)
Dispose Ergebnis#
AddMultiLine Arb_Box&,"gefunden: " + @str$(%GetCount) + " Einträge"
AddMultiLine Arb_Box&,"----------------------------------------"
AddMultiLine Arb_Box&,"Unterschlüssel sortieren, Moment bitte..."
AddMultiLine Arb_Box&,"----------------------------------------"
@Set("ErrorLevel", 0)
WhileLoop 0,%GetCount
Eintrag$ = @ReadIni$("HKEY_0",@ListBoxItem$(&loop),"PerceivedType")
If @Upper$(Eintrag$) = "VIDEO"
AddMultiLine V_Box&,@ListBoxItem$(&loop)
endIf
EndWhile
endProc
Proc MCI_Schluessel
Clear Open_Error&, Handle&
Dim Ergebnis#,255'möglich Länge des ausgelesenen Namens
MCI_Key$ = "SOFTWARE\Microsoft\Windows NT\CurrentVersion\MCI Extensions"
AddMultiLine Arb_Box&,"MCI-Schlüssel öffnen..."
Open_Error&=Regopenkeyex($80000002,Addr(MCI_Key$),0,$20019,Addr(Handle&))
IfNot Open_Error&
AddMultiLine Arb_Box&,"O.K."
AddMultiLine Arb_Box&,"...lese MCI-Unterschlüssel aus, Moment bitte..."
Else
AddMultiLine Arb_Box&," Fehler !!!!"
waitinput
end
EndIf
Declare Valuesize#,Typ#,Wert#,Buffersize#,MCI_Zaehler%
Dim Typ#,4
Dim Wert#,261
Dim Buffersize#,4
Dim Valuesize#,4
Dim Ergebnis#,261
ClearList
Whilenot Open_Error&
Long Buffersize#,0=261
Long Valuesize#,0=261
Clear Ergebnis#,Typ#,Wert#
Open_Error&=@Regenumvalue(Handle&,MCI_Zaehler%,Ergebnis#,Valuesize#,0,Typ#,Wert#,Buffersize#)
Casenot Open_Error& : Addstring String$(Ergebnis#,0)
Inc MCI_Zaehler%
Endwhile
AddMultiLine Arb_Box&,"MCI-Schlüssel schliessen..."
Regclosekey(Handle&)
Dispose Ergebnis#
Dispose Typ#
Dispose Buffersize#
Dispose Valuesize#
AddMultiLine Arb_Box&,"gefunden: " + @str$(%GetCount) + "MCI - Einträge"
AddMultiLine Arb_Box&,"----------------------------------------"
AddMultiLine Arb_Box&,"MCI-Unterschlüssel sortieren, Moment bitte..."
AddMultiLine Arb_Box&,"----------------------------------------"
@Set("ErrorLevel", 0)
WhileLoop 0,%GetCount
Eintrag$ = @ReadIni$("HKEY_2",MCI_Key$,@ListBoxItem$(&loop))
If @Instr("VIDEO",@Upper$(Eintrag$))
AddMultiLine MCI_Box&,@ListBoxItem$(&loop) + " - " + Eintrag$
endIf
EndWhile
AddMultiLine Arb_Box&,"MCI sortieren fertig ..."
endProc
WhileNot (%Key = 2) OR (%Key = 27)
wai
EndWhile
end
Perhaps hilfts Yes the a or anderem |
| | | Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 02/19/11 ▲ |
| |
| | | Find I very calm...
gives by me from:
Key open... O.k. ...read Unterschlüssel from, momentum Please... Key close... found: 7389 Entries ---------------------------------------- Unterschlüssel sort, momentum Please... ---------------------------------------- MCI-Key open... O.k. ...read MCI-Unterschlüssel from, momentum Please... MCI-Key close... found: 31MCI - Entries ---------------------------------------- MCI-Unterschlüssel sort, momentum Please... ---------------------------------------- MCI sort ready ...
.asf .asx .avi .dvr-ms .ivr .m1v .m2v .mod .mp2 .mp2v .mp4 .mpa .mpe .mpeg .mpg .mpv2 .ram .rmm .rsml .wm .wmv .wmx .wvx
avi - avivideo aif - MPEGVideo aifc - MPEGVideo aiff - MPEGVideo asf - MPEGVideo asx - MPEGVideo au - MPEGVideo m1v - MPEGVideo m3u - MPEGVideo mp2 - MPEGVideo mp2v - MPEGVideo mp3 - MPEGVideo mpa - MPEGVideo mpe - MPEGVideo mpeg - MPEGVideo mpg - MPEGVideo mpv2 - MPEGVideo snd - MPEGVideo wax - MPEGVideo wm - MPEGVideo wma - MPEGVideo wmv - MPEGVideo wmx - MPEGVideo wpl - MPEGVideo wvx - MPEGVideo dat - MPEGVideo m2v - MPEGVideo mod - MPEGVideo |
| | | | |
| | Dieter Zornow | by me go too Audio-Files and Playlist-Files found. au, aif, m3u, wma, mod, ogg, etc. The Mediaplayer can MP4 only Play, if this Codec Xvid-1.2.2-07062009.exe installs is. I have the k-Lite Codec gentry Mega installs, so goes it with many Playern but not Mediaplayer and not the Xmovie.dll of Thomas, both functions only if Xvid installs is. |
| | | Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 02/20/11 ▲ |
| |
| | E.T. | Hm, Why The of you named File-Types as MPEGVideo registered are (by me and s.o. with David indeed), the can well only MS not explain .
what whom MPlayer concerns, this has eh its Own list in the reg., what it because so everything abspielt.
The Xmovie.dll scheind me aufs MCI aufzusetzen. and there are DivX / Xvid not registered. time try, these there "per Hand" einzutragen... |
| | | Grüße aus Sachsen... Mario WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte... | 02/20/11 ▲ |
| |
| | Dieter Zornow | be I do not sure whether The Xmovie.dll on MCI aufsetzt. I have in the others Forum demand what the benefit to with MCI Play is, and there watts me said The quality would rather and the Prozessorauslastung less, where by me both not zutrifft, The Auslastung is same and with the quality could I no differences check. |
| | | Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2 | 02/20/11 ▲ |
| |
|
Zur AnwendungTopic-Options | 10.956 Views |
Themeninformationenthis Topic has 3 subscriber: |