Вниз
Скачать: 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
8-1115292435
TS
2005-05-05 15:27
2005.09.18
Конвертация BMP to JPEG


1-1124960267
kyn66
2005-08-25 12:57
2005.09.18
Как привязаться к координатам картинки ?


1-1124965022
Dust
2005-08-25 14:17
2005.09.18
ConvertStrToNetUnicode в функции ошибка


4-1122307063
dima_shapkin
2005-07-25 19:57
2005.09.18
CM_CANCELMODE


3-1123125294
Andry
2005-08-04 07:14
2005.09.18
Драйвера BDE




   Наверх