Вниз
Скачать: 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.033 c
5-1099390263
slim
2004-11-02 13:11
2005.09.18
Font нод в TreeView


5-1099403917
DmitryA
2004-11-02 16:58
2005.09.18
Блокировка автоматического скроллинга формы


14-1124650406
VictorT
2005-08-21 22:53
2005.09.18
Просьба.


14-1124523261
Катя_В
2005-08-20 11:34
2005.09.18
Ошибка при регистрации на borland.com


6-1117220597
acsoft
2005-05-27 23:03
2005.09.18
Помогите переделать




   Наверх