It is currently Wed Nov 25, 2020 3:20 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: WinAPI - Incorrect number of parameters
PostPosted: Thu Nov 19, 2020 12:50 am 
Offline
New User
New User

Joined: Mon May 07, 2018 9:58 am
Posts: 5
This is a list of functions that can be called from purebasic but with the wrong number of parameters
data taken from msdn
Code:
AllocateNtmsMedia_(hSession, lpMediaPool, lpPartId, lpMediaId, dwOptions, dwTimeout, lpAllocateInformation)
AssocCreate_(clsid, riid, *ppv)
CheckSumMappedFile_(BaseAddress, FileLength, HeaderSum, CheckSum)
CreateDeviceLinkProfile_(pahProfiles, nProfiles, padwIntent, nIntents, dwFlags, pProfileData, indexPreferredCMM)
DAD_DragEnterEx_(hwndTarget, ptStart)
DAD_DragMove_(pt)
DeleteUrlCacheGroup_(GroupId, dwFlags, lpReserved)
DragDetect_(hwnd, pt)
FindFirstUrlCacheEntryEx_(lpszUrlSearchPattern, dwFlags, dwFilter, GroupId, lpFirstCacheEntryInfo, lpdwEntryInfo, lpGroupAttributes, lpcbGroupAttributes, lpReserved)
GetUrlCacheGroupAttribute_(gid, dwFlags, dwAttributes, lpGroupInfo, lpdwGroupInfo, lpReserved)
HitTestThemeBackground_(hTheme, hdc, iPartId, iStateId, dwOptions, pRect, hrgn, ptTest, *pwHitTestCode)
ImageGetDigestStream_(FileHandle, DigestLevel, DigestFunction, DigestHandle)
MountNtmsMedia_(hSession, lpMediaId, lpDriveId, dwCount, dwOptions, dwPriority, dwTimeout, lpMountInformation)
OleLoadPictureFile_(varFileName, *lplpdispPicture)
SetupDiDrawMiniIcon_(hdc, rc, MiniIconIndex, Flags)
SetupDiGetClassDevPropertySheets_(DeviceInfoSet, DeviceInfoData, PropertySheetHeader, PropertySheetHeaderPageListSize, RequiredSize, PropertySheetType)
SetUrlCacheEntryGroup_(lpszUrlName, dwFlags, GroupId, pbGroupAttributes, cbGroupAttributes, lpReserved)
SetUrlCacheGroupAttribute_(gid, dwFlags, dwAttributes, lpGroupInfo, lpReserved)
StrFormatKBSize_(qdw.q, pszBuf.p-unicode, cchBuf)
UrlMkSetSessionOption_(dwOption, pBuffer, dwBufferLength, dwReserved)
VarBoolFromCy_(cyIn, *pboolOut)
VarBoolFromDate_(dateIn, *pboolOut)
VarBoolFromR8_(dblIn, *pboolOut)
VarBstrFromCy_(cyIn, lcid, dwFlags, *pbstrOut)
VarBstrFromDate_(dateIn, lcid, dwFlags, *pbstrOut)
VarBstrFromR8_(dblIn, lcid, dwFlags, *pbstrOut)
VarCyFromDate_(dateIn, *pcyOut)
VarCyFromR8_(dblIn, *pcyOut)
VarDateFromCy_(cyIn, *pdateOut)
VarDateFromR8_(dblIn, *pdateOut)
VarDecFromCy_(cyIn, *pdecOut)
VarDecFromDate_(dateIn, *pdecOut)
VarDecFromR8_(dblIn, *pdecOut)
VarI1FromCy_(cyIn, *pcOut)
VarI1FromDate_(dateIn, *pcOut)
VarI1FromR8_(dblIn, *pcOut)
VarI2FromCy_(cyIn, *psOut)
VarI2FromDate_(dateIn, *psOut)
VarI2FromR8_(dblIn, *psOut)
VarI4FromCy_(cyIn, *plOut)
VarI4FromDate_(dateIn, *plOut)
VarI4FromR8_(dblIn, *plOut)
VarR4FromCy_(cyIn, *pfltOut)
VarR4FromDate_(dateIn, *pfltOut)
VarR4FromR8_(dblIn, *pfltOut)
VarR8FromCy_(cyIn, *pdblOut)
VarR8FromDate_(dateIn, *pdblOut)
VarUdateFromDate_(dateIn, dwFlags, *pudateOut)
VarUI1FromCy_(cyIn, *pbOut)
VarUI1FromDate_(dateIn, *pbOut)
VarUI1FromR8_(dblIn, *pbOut)
VarUI2FromCy_(cyIn, *puiOut)
VarUI2FromDate_(dateIn, *puiOut)
VarUI2FromR8_(dblIn, *puiOut)
VarUI4FromCy_(cyIn, *pulOut)
VarUI4FromDate_(dateIn, *pulOut)
VarUI4FromR8_(dblIn, *pulOut)


Example:
Code:
DragDetect_(hwnd, pt)

https://docs.microsoft.com/en-us/window ... dragdetect
Image


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye