Вверх ↑
Ответов: 3349
Рейтинг: 233
#1: 2011-02-13 15:39:49 ЛС | профиль | цитата
iarspider, а кто будет указывать тип результата функции?
------------ Дoбавленo в 15.39:
Add(InlineCode,3931890,399,434)
{
Code=#15:unit HiAsmUnit;|0:|9:interface|0:|29:uses kol,Share,Debug,windows;|0:|4:type|28: THiAsmClass = class(TDebug)|10: private|0:|9: public|0:|5: end;|1: |19:ULONG_PTR = DWORD;|20:PDWORD = ^DWORD;|23:HCRYPTPROV = ULONG_PTR;|25:PCRYPTPROV = ^HCRYPTPROV;|23:HCRYPTHASH = ULONG_PTR;|25:PCRYPTHASH = ^HCRYPTHASH;|23:HCRYPTKEY = ULONG_PTR;|24:PCRYPTKEY = ^HCRYPTKEY;|19:ALG_ID = DWORD;|0:|14:implementation|0:|177:function CryptAcquireContext(out phProv:PCRYPTPROV; pszContainer, pszProvider:PChar; dwProvType,dwFlags:dword):bool;stdcall; external 'Advapi32.dll' name 'CryptAcquireContextA';|172:function CryptCreateHash(hProv:HCRYPTPROV; Algid:ALG_ID; hKey:HCRYPTKEY ;dwFlags:DWORD;out phHash:PCRYPTHASH):bool; stdcall; external 'Advapi32.dll' name 'CryptCreateHash';|140:function CryptHashData(hHash:HCRYPTHASH; pbData:pbyte; dwDataLen,dwFlags:DWORD):bool; stdcall; external 'Advapi32.dll' name 'CryptHashData';|170:function CryptDeriveKey(hProv:HCRYPTPROV; Algid:ALG_ID; hBaseData:HCRYPTHASH; dwFlags:DWORD; phKey:PCRYPTKEY):bool;stdcall; external 'Advapi32.dll' name 'CryptDeriveKey';|191:function CryptEncrypt(hKey:HCRYPTKEY; hHash:HCRYPTHASH; Final_:BOOL; dwFlags:DWORD; pbData:pbyte; pdwDataLen:PDWORD; dwBufLen:DWORD):bool;stdcall; external 'Advapi32.dll' name 'CryptEncrypt';|175:function CryptDecrypt(hKey:HCRYPTKEY; hHash:HCRYPTHASH; Final_:BOOL; dwFlags:DWORD; pbData:pbyte; pdwDataLen:PDWORD):bool;stdcall; external 'Advapi32.dll' name 'CryptDecrypt';|106:function CryptDestroyHash(hHash:HCRYPTHASH):bool;stdcall; external 'Advapi32.dll' name 'CryptDestroyHash';|102:function CryptDestroyKey(hKey:HCRYPTKEY):bool;stdcall; external 'Advapi32.dll' name 'CryptDestroyKey';|127:function CryptReleaseContext(hProv:HCRYPTPROV; dwFlags:DWORD):bool;stdcall; external 'Advapi32.dll' name 'CryptReleaseContext';|0:|4:end.|
}


карма: 1

0