Текущий архив: 2005.09.18;
Скачать: CL | DM;
Вниз
Поможите, никак не могу разобраться с типами переменных Найти похожие ветки
← →
ПЛОВ © (2005-08-22 18:46) [0]Может кто сталкивался с такими ф-циями:
Function ZwMapViewOfSection(SectionHandle:dword;
ProcessHandle:dword;
BaseAddress:PPointer;
ZeroBits,
CommitSize:dword;
SectionOffset:PInt64;
ViewSize:pdword;
InheritDisposition:dword;
AllocationType,Protect:dword):NTStatus;
stdcall; external "ntdll.dll";
Function ZwQuerySystemInformation(ASystemInformationClass: dword;
ASystemInformation: Pointer;
ASystemInformationLength: dword;
AReturnLength:PCardinal): NTStatus;
stdcall;external "ntdll.dll";
Непонятно описание выделенных типов, где его взять?
← →
begin...end © (2005-08-22 18:48) [1]В модуле System.pas.
← →
Джо © (2005-08-22 18:54) [2]К гадалке (system.pas) не ходи - указатели на переменные соответствующих типов. Naming conventions, так сказать ;)
← →
ПЛОВ © (2005-08-22 18:57) [3]А как их... Ну, это самое, загнать в type. Как функцию вообщем вызвать, нужно ж указать конкретные переменные?
← →
Alexander Panov © (2005-08-22 18:58) [4]type
PPointer=^Pointer;
PCardinal=^Cardinal;
← →
Alexander Panov © (2005-08-22 19:00) [5]function test(p: PCardinal): Cardinal;
begin
Result := p^;
end;
var
c: Cardinal;
begin
Test(@c);
?
← →
TUser © (2005-08-22 19:00) [6]У Борланда (и у сторонныих производителей об. тоже) везде
PAnyType = ^AnyType
или
PAnyType = ^TAnyType
← →
ПЛОВ © (2005-08-22 19:00) [7]Пишет: Invalid combination of opcode and operands
Страницы: 1 вся ветка
Текущий архив: 2005.09.18;
Скачать: CL | DM;
Память: 0.46 MB
Время: 0.011 c