//ShellExecute
function ShellExecute(hWnd: HWND; Operation, FileName, Parameters,Directory: PChar; ShowCmd: Integer): HINST; stdcall;external 'shell32.dll' name 'ShellExecuteA';
//ShellAbout
function ShellAbout(Wnd: HWND; szApp, szOtherStuff: PChar; Icon: HICON): Integer; stdcall;external 'shell32.dll' name 'ShellAboutA';
//mcisendstring
function mciSendString(lpstrCommand, lpstrReturnString: PChar; uReturnLength: LongWord; hWndCallback: HWND): DWORD; stdcall; external 'winmm.dll' name 'mciSendStringA';
//sndPlaySound
function sndPlaySound(lpszSoundName: PChar; uFlags: UINT): BOOL; stdcall; external 'winmm.dll' name 'sndPlaySoundA';
//GetSystemMetrics
function GetSystemMetrics(nIndex: Integer): Integer; stdcall;external 'user32.dll' name 'GetSystemMetrics';
//ShowWindow
function ShowWindow(hWnd: HWND; nCmdShow: Integer): BOOL; stdcall;external 'user32.dll' name 'ShowWindow';
//EnableWindow
function EnableWindow(hWnd: HWND; bEnable: BOOL): BOOL; stdcall;external 'user32.dll' name 'EnableWindow';
//FindWindow
function FindWindow(lpClassName, lpWindowName: PChar): HWND; stdcall;external 'user32.dll' name 'FindWindowA';
//FindWindowEx
function FindWindowEx(Parent, Child: HWND; ClassName, WindowName: PChar): HWND; stdcall;external 'user32.dll' name 'FindWindowExA';
//SystemParametersInfo
function SystemParametersInfo(uiAction, uiParam: UINT;pvParam: Pointer; fWinIni: UINT): BOOL; stdcall;external 'user32.dll' name 'SystemParametersInfoA';
//SendMessage
function SendMessage(hWnd: HWND; Msg: UINT; wParam: WPARAM; lParam: LPARAM): LRESULT; stdcall;external 'user32.dll' name 'SendMessageA';
//ExitWindowsEx
function ExitWindowsEx(uFlags: UINT; dwReserved: DWORD): BOOL; stdcall;external 'user32.dll' name 'ExitWindowsEx';
//SetSystemPowerState
function SetSystemPowerState(fSuspend, fForce: BOOL): BOOL; stdcall;external 'kernel32.dll' name 'SetSystemPowerState';
//UrlDownloadToFile
function URLDownloadToFile(Caller: IUnknown; URL: PChar; FileName: PChar; Reserved: DWORD; StatusCB: IBindStatusCallback): HResult; stdcall;external 'URLMON.DLL' name 'URLDownloadToFileA';
//RegisterServiceProcess
function RegisterServiceProcess (dwProcessID, dwType: DWord) : DWord; stdcall; external 'KERNEL32.DLL';
//SoundCardPresent
function SoundCardPresent : longint; stdcall; external 'winmm.dll' name 'waveOutGetNumDevs';
//InternetGetConnectedState
function InternetGetConnectedState(lpdwFlags: LPDWORD;dwReserved: DWORD): BOOL; stdcall;external 'wininet.dll' name 'InternetGetConnectedState';
//ExtractAssociatedIcon
function ExtractAssociatedIcon(hInst: HINST; lpIconPath: PChar; var lpiIcon: Word): HICON; stdcall;external 'shell32.dll' name 'ExtractAssociatedIconA';