Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Region vom Typ THandle abspeichern (https://www.delphipraxis.net/21993-region-vom-typ-thandle-abspeichern.html)

Tryer 12. Mai 2004 04:01

Re: Region vom Typ THandle abspeichern
 
Die Abfrage auf Result=1 hab ich nur im Posting noch eingebaut, lt. Win32-Hilfe sollte es funktionieren
Zitat:

If the function succeeds and dwCount specifies an adequate number of bytes, the return value is 1. (..)
Wie es aussieht gibt die Funktion aber immer die grösse des Buffers zurück, auch wenn sie erfolgreich ist. Ich schau mir das später nochmal an.

[Edit]
Alles ok..
Zitat:

If the function succeeds and dwCount specifies an adequate number of bytes, the return value is always dwCount
Im MSDN stehts inzwischen richtig, ich hab das oben mal korrigiert
[/Edit]

MfG,
Tryer


Alle Zeitangaben in WEZ +1. Es ist jetzt 03:49 Uhr.
Seite 2 von 2     12   

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz