mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 11:06:19 +02:00
* getrandomrgn
git-svn-id: trunk@1809 -
This commit is contained in:
parent
c28e41ab03
commit
bd30d32683
@ -5351,6 +5351,7 @@ const
|
|||||||
|
|
||||||
WM_APP = $8000;
|
WM_APP = $8000;
|
||||||
|
|
||||||
|
SYSRGN = 4;
|
||||||
|
|
||||||
|
|
||||||
{$endif read_interface}
|
{$endif read_interface}
|
||||||
|
@ -46,6 +46,7 @@
|
|||||||
|
|
||||||
{$ifdef read_interface}
|
{$ifdef read_interface}
|
||||||
|
|
||||||
|
function GetRandomRgn(aHDC: HDC; aHRGN: HRGN; iNum: WINT): WINT; stdcall; external 'gdi32';
|
||||||
function AccessCheck(pSecurityDescriptor:PSECURITY_DESCRIPTOR; ClientToken:HANDLE; DesiredAccess:DWORD; GenericMapping:PGENERIC_MAPPING; PrivilegeSet:PPRIVILEGE_SET;PrivilegeSetLength:LPDWORD;
|
function AccessCheck(pSecurityDescriptor:PSECURITY_DESCRIPTOR; ClientToken:HANDLE; DesiredAccess:DWORD; GenericMapping:PGENERIC_MAPPING; PrivilegeSet:PPRIVILEGE_SET;PrivilegeSetLength:LPDWORD;
|
||||||
GrantedAccess:LPDWORD; AccessStatus:LPBOOL):WINBOOL; external 'advapi32' name 'AccessCheck';
|
GrantedAccess:LPDWORD; AccessStatus:LPBOOL):WINBOOL; external 'advapi32' name 'AccessCheck';
|
||||||
function InterlockedIncrement(lpAddend:LPLONG):LONG; external 'kernel32' name 'InterlockedIncrement';
|
function InterlockedIncrement(lpAddend:LPLONG):LONG; external 'kernel32' name 'InterlockedIncrement';
|
||||||
@ -1245,6 +1246,8 @@ function GlobalReAllocPtr(lp:Pointer;cbNew,flags:DWord):Pointer;
|
|||||||
function GlobalPtrHandle(lp:pointer):Pointer;
|
function GlobalPtrHandle(lp:pointer):Pointer;
|
||||||
function SetLayeredWindowAttributes(HWND:hwnd;crKey :COLORREF;bAlpha : byte;dwFlags : DWORD):WINBOOL; external 'user32' name 'SetLayeredWindowAttributes';
|
function SetLayeredWindowAttributes(HWND:hwnd;crKey :COLORREF;bAlpha : byte;dwFlags : DWORD):WINBOOL; external 'user32' name 'SetLayeredWindowAttributes';
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{$endif read_interface}
|
{$endif read_interface}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user