From bf2471e9a7aa1a43a93659102edf3afe29735c86 Mon Sep 17 00:00:00 2001 From: notaz Date: Sat, 1 Mar 2014 21:52:01 +0200 Subject: [PATCH] more APIs --- tools/protoparse.h | 6 ++ win32.hlist | 148 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 154 insertions(+) diff --git a/tools/protoparse.h b/tools/protoparse.h index 037c3f4..1bc619c 100644 --- a/tools/protoparse.h +++ b/tools/protoparse.h @@ -156,9 +156,11 @@ static const char *known_type_mod[] = { static const char *known_ptr_types[] = { "FARPROC", "WNDPROC", + "LINECALLBACK", "HACCEL", "HANDLE", "HBITMAP", + "HCALL", "HCURSOR", "HDC", "HFONT", @@ -167,6 +169,9 @@ static const char *known_ptr_types[] = { "HICON", "HINSTANCE", "HIMC", // DWORD in mingw, ptr in wine.. + "HLINE", + "HLINEAPP", + "HLOCAL", "HMODULE", "HPALETTE", "HRGN", @@ -179,6 +184,7 @@ static const char *known_ptr_types[] = { "PCRITICAL_SECTION", "PDWORD", "PFILETIME", + "PLARGE_INTEGER", "PHKEY", "PLONG", "PMEMORY_BASIC_INFORMATION", diff --git a/win32.hlist b/win32.hlist index 8b9f8fb..eeb5311 100644 --- a/win32.hlist +++ b/win32.hlist @@ -151,6 +151,25 @@ WINBASEAPI HMODULE WINAPI GetModuleHandleA(LPCSTR); WINBASEAPI HMODULE WINAPI GetModuleHandleW(LPCWSTR); WINBASEAPI BOOL WINAPI GetModuleHandleExA(DWORD,LPCSTR,HMODULE*); WINBASEAPI BOOL WINAPI GetModuleHandleExW(DWORD,LPCWSTR,HMODULE*); +WINBASEAPI BOOL WINAPI GetNamedPipeHandleStateA(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD,LPSTR,DWORD); +WINBASEAPI BOOL WINAPI GetNamedPipeHandleStateW(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD,LPWSTR,DWORD); +WINBASEAPI BOOL WINAPI GetNamedPipeInfo(HANDLE,PDWORD,PDWORD,PDWORD,PDWORD); +WINBASEAPI VOID WINAPI GetNativeSystemInfo(LPSYSTEM_INFO); +WINBASEAPI BOOL WINAPI GetNumberOfEventLogRecords(HANDLE,PDWORD); +WINBASEAPI BOOL WINAPI GetOldestEventLogRecord(HANDLE,PDWORD); +WINBASEAPI BOOL WINAPI GetOverlappedResult(HANDLE,LPOVERLAPPED,PDWORD,BOOL); +WINBASEAPI DWORD WINAPI GetPriorityClass(HANDLE); +WINBASEAPI BOOL WINAPI GetPrivateObjectSecurity(PSECURITY_DESCRIPTOR,SECURITY_INFORMATION,PSECURITY_DESCRIPTOR,DWORD,PDWORD); +WINBASEAPI UINT WINAPI GetPrivateProfileIntA(LPCSTR,LPCSTR,INT,LPCSTR); +WINBASEAPI UINT WINAPI GetPrivateProfileIntW(LPCWSTR,LPCWSTR,INT,LPCWSTR); +WINBASEAPI DWORD WINAPI GetPrivateProfileSectionA(LPCSTR,LPSTR,DWORD,LPCSTR); +WINBASEAPI DWORD WINAPI GetPrivateProfileSectionW(LPCWSTR,LPWSTR,DWORD,LPCWSTR); +WINBASEAPI DWORD WINAPI GetPrivateProfileSectionNamesA(LPSTR,DWORD,LPCSTR); +WINBASEAPI DWORD WINAPI GetPrivateProfileSectionNamesW(LPWSTR,DWORD,LPCWSTR); +WINBASEAPI DWORD WINAPI GetPrivateProfileStringA(LPCSTR,LPCSTR,LPCSTR,LPSTR,DWORD,LPCSTR); +WINBASEAPI DWORD WINAPI GetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,DWORD,LPCWSTR); +WINBASEAPI BOOL WINAPI GetPrivateProfileStructA(LPCSTR,LPCSTR,LPVOID,UINT,LPCSTR); +WINBASEAPI BOOL WINAPI GetPrivateProfileStructW(LPCWSTR,LPCWSTR,LPVOID,UINT,LPCWSTR); WINBASEAPI FARPROC WINAPI GetProcAddress(HINSTANCE,LPCSTR); WINBASEAPI BOOL WINAPI GetProcessAffinityMask(HANDLE,PDWORD,PDWORD); WINBASEAPI BOOL WINAPI GetProcessDEPPolicy (HANDLE, LPDWORD, PBOOL); @@ -1674,8 +1693,137 @@ MMRESULT WINAPI joyReleaseCapture(UINT); MMRESULT WINAPI joySetCapture(HWND,UINT,UINT,BOOL); MMRESULT WINAPI joySetThreshold(UINT,UINT); +// tapi.h +DWORD WINAPI lineAccept(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineAddProvider(LPCSTR,HWND,LPDWORD); +DWORD WINAPI lineAddProviderA(LPCSTR,HWND,LPDWORD); +DWORD WINAPI lineAddProviderW(LPCWSTR,HWND,LPDWORD); +DWORD WINAPI lineAddToConference(HCALL,HCALL); +DWORD WINAPI lineAnswer(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineBlindTransfer(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineClose(HLINE); +DWORD WINAPI lineCompleteCall(HCALL,LPDWORD,DWORD,DWORD); +DWORD WINAPI lineCompleteTransfer(HCALL,HCALL,LPHCALL,DWORD); +DWORD WINAPI lineConfigDialog(DWORD,HWND,LPCSTR); +DWORD WINAPI lineConfigDialogEdit(DWORD,HWND,LPCSTR,LPVOID const,DWORD,LPVARSTRING); +DWORD WINAPI lineConfigProvider(HWND,DWORD); +DWORD WINAPI lineDeallocateCall(HCALL); +DWORD WINAPI lineDevSpecific(HLINE,DWORD,HCALL,LPVOID,DWORD); +DWORD WINAPI lineDevSpecificFeature(HLINE,DWORD,LPVOID,DWORD); +DWORD WINAPI lineDial(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineDrop(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineForward(HLINE,DWORD,DWORD,LPLINEFORWARDLIST,DWORD,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineGatherDigits(HCALL,DWORD,LPSTR,DWORD,LPCSTR,DWORD,DWORD); +DWORD WINAPI lineGenerateDigits(HCALL,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineGenerateTone(HCALL,DWORD,DWORD,DWORD,LPLINEGENERATETONE); +DWORD WINAPI lineGetAddressCaps(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPLINEADDRESSCAPS); +DWORD WINAPI lineGetAddressID(HLINE,LPDWORD,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineGetAddressStatus(HLINE,DWORD,LPLINEADDRESSSTATUS); +DWORD WINAPI lineGetAppPriority(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPVARSTRING,LPDWORD); +DWORD WINAPI lineGetCallInfo(HCALL,LPLINECALLINFO); +DWORD WINAPI lineGetCallStatus(HCALL,LPLINECALLSTATUS); +DWORD WINAPI lineGetConfRelatedCalls(HCALL,LPLINECALLLIST); +DWORD WINAPI lineGetCountry(DWORD,DWORD,LPLINECOUNTRYLIST); +DWORD WINAPI lineGetDevCaps(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS); +DWORD WINAPI lineGetDevCapsA(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS); +DWORD WINAPI lineGetDevCapsW(HLINEAPP,DWORD,DWORD,DWORD,LPLINEDEVCAPS); +DWORD WINAPI lineGetDevConfig(DWORD,LPVARSTRING,LPCSTR); +DWORD WINAPI lineGetID(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCSTR); +DWORD WINAPI lineGetIDA(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCSTR); +DWORD WINAPI lineGetIDW(HLINE,DWORD,HCALL,DWORD,LPVARSTRING,LPCWSTR); +DWORD WINAPI lineGetIcon(DWORD,LPCSTR,HICON *); +DWORD WINAPI lineGetLineDevStatus(HLINE,LPLINEDEVSTATUS); +DWORD WINAPI lineGetNewCalls(HLINE,DWORD,DWORD,LPLINECALLLIST); +DWORD WINAPI lineGetNumRings(HLINE,DWORD,LPDWORD); +DWORD WINAPI lineGetProviderList(DWORD,LPLINEPROVIDERLIST); +DWORD WINAPI lineGetProviderListA(DWORD,LPLINEPROVIDERLIST); +DWORD WINAPI lineGetProviderListW(DWORD,LPLINEPROVIDERLIST); +DWORD WINAPI lineGetRequest(HLINEAPP,DWORD,LPVOID); +DWORD WINAPI lineGetStatusMessages(HLINE,LPDWORD,LPDWORD); +DWORD WINAPI lineGetTranslateCaps(HLINEAPP,DWORD,LPLINETRANSLATECAPS); +DWORD WINAPI lineHandoff(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineHold(HCALL); +DWORD WINAPI lineInitialize(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCSTR,LPDWORD); +LONG WINAPI lineInitializeExA(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCSTR,LPDWORD,LPDWORD,LPLINEINITIALIZEEXPARAMS); +LONG WINAPI lineInitializeExW(LPHLINEAPP,HINSTANCE,LINECALLBACK,LPCWSTR,LPDWORD,LPDWORD,LPLINEINITIALIZEEXPARAMS); +DWORD WINAPI lineMakeCall(HLINE,LPHCALL,LPCSTR,DWORD,LPLINECALLPARAMS); +DWORD WINAPI lineMakeCallA(HLINE,LPHCALL,LPCSTR,DWORD,LPLINECALLPARAMS); +DWORD WINAPI lineMakeCallW(HLINE,LPHCALL,LPCWSTR,DWORD,LPLINECALLPARAMS); +DWORD WINAPI lineMonitorDigits(HCALL,DWORD); +DWORD WINAPI lineMonitorMedia(HCALL,DWORD); +DWORD WINAPI lineMonitorTones(HCALL,LPLINEMONITORTONE,DWORD); +DWORD WINAPI lineNegotiateAPIVersion(HLINEAPP,DWORD,DWORD,DWORD,LPDWORD,LPLINEEXTENSIONID); +DWORD WINAPI lineNegotiateExtVersion(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPDWORD); +DWORD WINAPI lineOpen(HLINEAPP,DWORD,LPHLINE,DWORD,DWORD,DWORD,DWORD,DWORD,LPLINECALLPARAMS); +DWORD WINAPI linePark(HCALL,DWORD,LPCSTR,LPVARSTRING); +DWORD WINAPI linePickup(HLINE,DWORD,LPHCALL,LPCSTR,LPCSTR); +DWORD WINAPI linePrepareAddToConference(HCALL,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineRedirect(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineRegisterRequestRecipient(HLINEAPP,DWORD,DWORD,DWORD); +DWORD WINAPI lineReleaseUserUserInfo(HCALL); +DWORD WINAPI lineRemoveFromConference(HCALL); +DWORD WINAPI lineRemoveProvider(DWORD,HWND); +DWORD WINAPI lineSecureCall(HCALL); +DWORD WINAPI lineSendUserUserInfo(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineSetAppPriority(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineSetAppSpecific(HCALL,DWORD); +DWORD WINAPI lineSetCallParams(HCALL,DWORD,DWORD,DWORD,LPLINEDIALPARAMS); +DWORD WINAPI lineSetCallPrivilege(HCALL,DWORD); +DWORD WINAPI lineSetCurrentLocation(HLINEAPP,DWORD); +DWORD WINAPI lineSetDevConfig(DWORD,LPVOID,DWORD,LPCSTR); +DWORD WINAPI lineSetMediaControl(HLINE,DWORD,HCALL,DWORD,LPLINEMEDIACONTROLDIGIT,DWORD,LPLINEMEDIACONTROLMEDIA,DWORD,LPLINEMEDIACONTROLTONE,DWORD,LPLINEMEDIACONTROLCALLSTATE,DWORD); +DWORD WINAPI lineSetMediaMode(HCALL,DWORD); +DWORD WINAPI lineSetNumRings(HLINE,DWORD,DWORD); +DWORD WINAPI lineSetStatusMessages(HLINE,DWORD,DWORD); +DWORD WINAPI lineSetTerminal(HLINE,DWORD,HCALL,DWORD,DWORD,DWORD,DWORD); +DWORD WINAPI lineSetTollList(HLINEAPP,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineSetupConference(HCALL,HLINE,LPHCALL,LPHCALL,DWORD,LPLINECALLPARAMS); +DWORD WINAPI lineSetupTransfer(HCALL,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineShutdown(HLINEAPP); +DWORD WINAPI lineSwapHold(HCALL,HCALL); +DWORD WINAPI lineTranslateAddress(HLINEAPP,DWORD,DWORD,LPCSTR,DWORD,DWORD,LPLINETRANSLATEOUTPUT); +DWORD WINAPI lineTranslateDialog(HLINEAPP,DWORD,DWORD,HWND,LPCSTR); +DWORD WINAPI lineUncompleteCall(HLINE,DWORD); +DWORD WINAPI lineUnHold(HCALL); +DWORD WINAPI lineUnpark(HLINE,DWORD,LPHCALL,LPCSTR); + +DWORD WINAPI lineBlindTransferA(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineConfigDialogA(DWORD,HWND,LPCSTR); +DWORD WINAPI lineConfigDialogEditA(DWORD,HWND,LPCSTR,LPVOID const,DWORD,LPVARSTRING); +DWORD WINAPI lineDialA(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineForwardA(HLINE,DWORD,DWORD,LPLINEFORWARDLIST,DWORD,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineGatherDigitsA(HCALL,DWORD,LPSTR,DWORD,LPCSTR,DWORD,DWORD); +DWORD WINAPI lineGenerateDigitsA(HCALL,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineGetAddressCapsA(HLINEAPP,DWORD,DWORD,DWORD,DWORD,LPLINEADDRESSCAPS); +DWORD WINAPI lineGetAddressIDA(HLINE,LPDWORD,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineGetAddressStatusA(HLINE,DWORD,LPLINEADDRESSSTATUS); +DWORD WINAPI lineGetAppPriorityA(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPVARSTRING,LPDWORD); +DWORD WINAPI lineGetCallInfoA(HCALL,LPLINECALLINFO); +DWORD WINAPI lineGetCountryA(DWORD,DWORD,LPLINECOUNTRYLIST); +DWORD WINAPI lineGetDevConfigA(DWORD,LPVARSTRING,LPCSTR); +DWORD WINAPI lineGetIconA(DWORD,LPCSTR,HICON *); +DWORD WINAPI lineGetLineDevStatusA(HLINE,LPLINEDEVSTATUS); +DWORD WINAPI lineGetRequestA(HLINEAPP,DWORD,LPVOID); +DWORD WINAPI lineGetTranslateCapsA(HLINEAPP,DWORD,LPLINETRANSLATECAPS); +DWORD WINAPI lineHandoffA(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineOpenA(HLINEAPP,DWORD,LPHLINE,DWORD,DWORD,DWORD,DWORD,DWORD,LPLINECALLPARAMS); +DWORD WINAPI lineParkA(HCALL,DWORD,LPCSTR,LPVARSTRING); +DWORD WINAPI linePickupA(HLINE,DWORD,LPHCALL,LPCSTR,LPCSTR); +DWORD WINAPI linePrepareAddToConferenceA(HCALL,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineRedirectA(HCALL,LPCSTR,DWORD); +DWORD WINAPI lineSetAppPriorityA(LPCSTR,DWORD,LPLINEEXTENSIONID const,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineSetDevConfigA(DWORD,LPVOID,DWORD,LPCSTR); +DWORD WINAPI lineSetTollListA(HLINEAPP,DWORD,LPCSTR,DWORD); +DWORD WINAPI lineSetupConferenceA(HCALL,HLINE,LPHCALL,LPHCALL,DWORD,LPLINECALLPARAMS); +DWORD WINAPI lineSetupTransferA(HCALL,LPHCALL,LPLINECALLPARAMS); +DWORD WINAPI lineTranslateAddressA(HLINEAPP,DWORD,DWORD,LPCSTR,DWORD,DWORD,LPLINETRANSLATEOUTPUT); +DWORD WINAPI lineTranslateDialogA(HLINEAPP,DWORD,DWORD,HWND,LPCSTR); +DWORD WINAPI lineUnhold(HCALL); +DWORD WINAPI lineUnparkA(HLINE,DWORD,LPHCALL,LPCSTR); + unsigned long __cdecl _beginthreadex (void *, unsigned int, unsigned int (__stdcall *) (void *), void*, unsigned int, unsigned int*); +// DECLSPEC_NORETURN void __cdecl _endthreadex (unsigned int); // sctproto: int (__stdcall *Direct*Create)(void *, void *, void *) -- 2.39.5