Вниз
Скачать: 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-1125128856
redlord
2005-08-27 11:47
2005.09.18
win 2003 server + mssql 2005 server


8-1115212285
Артём
2005-05-04 17:11
2005.09.18
Как в Listbox сделать нумерацб?


3-1123205697
ksa2002
2005-08-05 05:34
2005.09.18
Удаление записей в DBase


14-1124634179
Yegorchic
2005-08-21 18:22
2005.09.18
Вопрос по в Word у


4-1122363925
Хинт
2005-07-26 11:45
2005.09.18
Как получить текст из SysListView32




   Наверх