Вниз
Скачать: 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 вся ветка

Скачать: CL | DM;



Память: 0.46 MB
Время: 0.022 c
14-1124833263
ronyn
2005-08-24 01:41
2005.09.18
Как производится защита от копирования


5-1099377771
Kair
2004-11-02 09:42
2005.09.18
PropertyEditor, paSubProperties


9-1115658085
Санёк
2005-05-09 21:01
2005.09.18
Плоскость, векторы, преобразования.


9-1116573150
LEGIONER75
2005-05-20 11:12
2005.09.18
организации базиса системы в сцене


8-1115292435
TS
2005-05-05 15:27
2005.09.18
Конвертация BMP to JPEG




   Наверх