View Full Version : سوال: پارامترهای توابع API
  
rroona
جمعه 14 آبان 1389, 03:34 صبح
سلام آیا برای استفاده از توابع API باید تمام توابع و پارامترهای اونا رو بدونیم یا اینکه راه ساده تری هم هست؟؟؟  مثلا از کجا بفهمم که تابع GetDriverModuleHandle متعلق به winnmm.dll هست؟ثانیا این تابع چه آرگومانهایی داره؟ این قسمت ثانیا برام خیلی مهمه لطفا سریع راهنماییم کنید مرسی
Felony
جمعه 14 آبان 1389, 14:12 عصر
مایکروسافت MSDN رو  برای همین کار ساخته !
http://msdn.microsoft.com/en-us/library/dd797983(VS.85).aspx
sh4mid
جمعه 14 آبان 1389, 14:13 عصر
سلام
ساده ترین راه این هست که اسم اون تابع مورد نظر رو در Google جستجو کنید
اولین لینک رو انتخاب کنید و ...
http://msdn.microsoft.com/en-us/library/dd797983(VS.85).aspx
Retrieves the instance handle of the module that contains the installable driver.
Syntax
Copy
HMODULE WINAPI GetDriverModuleHandle(
  __in  HDRVR hdrvr
);
Parameters
hdrvr [in]
Handle of the installable driver instance. The handle must have been previously created by using the OpenDriver function.
Return Value
Returns an instance handle of the driver module if successful or NULL otherwise.
Requirements
Minimum supported client 	Windows 2000 Professional
Minimum supported server 	Windows 2000 Server
Version						Installable Drivers, Installable Driver Functions
Header						Mmsystem.h (include Windows.h)
Library						Winmm.lib
 
vBulletin® v4.2.5, Copyright ©2000-1404, Jelsoft Enterprises Ltd.