(Leider ist es On-Line Translation)
Hallo liebe!
Nicht genug Wissen, um den Code zu C++ Delphi übersetzen, so hoffe ich, Künstler zu helfen.
C + + Code
WCHAR * buff;
DWORD readed;
buff = new
WCHAR(WCHAR_MAX);
if
(WIMGetImageInformation(WIM_FILE_HANDLE, (PVOID*)&buff, &readed))
{
wprintf(L"%s", buff); // muss TMemo, D2009
}
Struktur des Referenz MSDN
BOOL
WINAPI
WIMGetImageInformation(
HANDLE hImage,
PVOID *ppvImageInfo,
PDWORD pcbImageInfo
);
Delphi funktion
TWIMGetImageInformation = function(
hImage: THandle;
ppvImageInfo: Pointer;
pcbImageInfo: PDWORD
): BOOL; stdcall;