mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-16 18:39:30 +02:00
+ added the win16 api atom management functions
git-svn-id: trunk@31584 -
This commit is contained in:
parent
e542800ea9
commit
f4b4cced38
@ -222,3 +222,15 @@ function AllocResource(hInstance: HINST; hResInfo: HRSRC; dwSize: DWORD): HGLOBA
|
||||
|
||||
function SetResourceHandler(hInstance: HINST; lpType: LPCSTR; lpLoadFunc: RSRCHDLRPROC): RSRCHDLRPROC; external 'KERNEL';
|
||||
|
||||
{ Atom Management }
|
||||
|
||||
function InitAtomTable(cTableEntries: SmallInt): BOOL; external 'KERNEL';
|
||||
function AddAtom(lpszName: LPCSTR): ATOM; external 'KERNEL';
|
||||
function DeleteAtom(atm: ATOM): ATOM; external 'KERNEL';
|
||||
function FindAtom(lpszString: LPCSTR): ATOM; external 'KERNEL';
|
||||
function GetAtomName(atm: ATOM; lpszBuffer: LPSTR; cbBuffer: SmallInt): UINT; external 'KERNEL';
|
||||
function GlobalAddAtom(lpszString: LPCSTR): ATOM; external 'USER';
|
||||
function GlobalDeleteAtom(atm: ATOM): ATOM; external 'USER';
|
||||
function GlobalFindAtom(lpszString: LPCSTR): ATOM; external 'USER';
|
||||
function GlobalGetAtomName(atom: ATOM; lpszBuffer: LPSTR; cbBuffer: SmallInt): UINT; external 'USER';
|
||||
function GetAtomHandle(atm: ATOM): HLOCAL; external 'KERNEL';
|
||||
|
@ -323,3 +323,6 @@ const
|
||||
OIC_BANG = 32515;
|
||||
OIC_NOTE = 32516;
|
||||
|
||||
type
|
||||
{ Atom Management }
|
||||
MAKEINTATOM = LPCSTR;
|
||||
|
Loading…
Reference in New Issue
Block a user