Forum: Win32/Win64 API (native code)
Delphi
by SlpLow,
19. Dez 2013
In den Header-Dateien = 1 auch.
// MOUNTED_IMAGE_INFO_LEVELS
MountedImageInfoLevel0 = 1;
MountedImageInfoLevel1 = 2;
MountedImageInfoLevelInvalid = 3;
Forum: Win32/Win64 API (native code)
Delphi
by SlpLow,
18. Dez 2013
Genau. Aber richtig identifiziert das nur, wenn Sie die Konstanten ändern
MountedImageInfoLevel0 = 0;
Warum?
Sir Rufo Vielen Dank!
Forum: Win32/Win64 API (native code)
Delphi
by SlpLow,
17. Dez 2013
Thank you again!
Strings and integer okay!
A logical always returns a -1 (RW, R) instead of 0 and 1
Idx: = BoolToStr (Buffer ^ . MountedForRW, False);
:
or integer 257 (RW) or 1 (R) instead of 0 and 1
idx: = IntToStr (Integer (Buffer ^ . MountedForRW));
:
Because it LongBool? Is there a solution?
Forum: Win32/Win64 API (native code)
Delphi
by SlpLow,
17. Dez 2013
Zacherl! Vielen, vielen Dank! Ich werde versuchen, zu verstehen.
Adel liegt (sitzt) im Gemüte, nicht im Geblüte.
himitsu! Danke! Ich habe wenig Erfahrung, aber ich werde lernen!
Forum: Win32/Win64 API (native code)
Delphi
by SlpLow,
17. Dez 2013
I can tell you one thing! I do not know how to do, how to announce in the variables and how to apply.
Is all that is understood - MountedImageInfoLevel0.
if not (WIMGetMountedImageInfo(MountedImageInfoLevel0, @Count, @Buffer, size, @created)) then
Yours!
Forum: Win32/Win64 API (native code)
Delphi
by SlpLow,
17. Dez 2013
I can tell you one thing! I do not know how to do, how to announce in the variables and how to apply.
Is all that is understood.
if not (WIMGetMountedImageInfo(MountedImageInfoLevel0, @Count, @Buffer, size, @created)) then
Yours!
Forum: Win32/Win64 API (native code)
Delphi
by SlpLow,
16. Dez 2013
Hallo! Hilfe bitte!
Warum function (WIMGetMountedImageInfo) nicht an zwei montierten Bildern zu arbeiten?
procedure TForm1.btn2Click(Sender: TObject);
var
Created, Count: DWORD;
Buffer: WIM_MOUNT_INFO_LEVEL0;
size: Integer;
wPath, wFile, wIndex, wWrite: string;
begin
if not (WIMGetMountedImageInfo(0, @Count, @Buffer, size, @created)) then