tuandroti
06-27-2001, 11:27 AM
Please show me,how can I know detail about .dll file which not include in API viewer.For example rasapi32.dll,all about declare,const,type.
API viewertuandroti 06-27-2001, 11:27 AM Please show me,how can I know detail about .dll file which not include in API viewer.For example rasapi32.dll,all about declare,const,type. BillSoo 06-27-2001, 11:55 AM The good thing about the API viewer is that it puts all the standard API calls in one place and in VB declaration syntax. For other DLLs though, you have to search for info. MSDN is a good source... Here is the top part of a page I found on RAS: Platform SDK: RAS/Routing and RAS Remote Access Service Functions Use the following functions to implement RAS functionality: ORASADFunc RASADFunc RasClearConnectionStatistics RasClearLinkStatistics RasConnectionNotification RasCreatePhonebookEntry RasCustomDeleteEntryNotify RasCustomDial RasCustomDialDlg RasCustomEntryDlg RasCustomHangUp RasDeleteEntry RasDeleteSubEntry RasDial RasDialDlg RasDialFunc Each entry in the above list is a hypertext link so if I click on, say, RasCustomHangUp, I would get: RasCustomHangUp The RasCustomHangUp function is an application-defined function that is exported by a third-party custom-dialing DLL. This function allows third-party vendors to implement custom connection hang-up routines. DWORD (WINAPI * RasCustomHangUp) ( HRASCONN hRasConn // handle to a RAS connection ); Parameters hRasConn Handle to the RAS connection to hang up. Return Values If the function succeeds, the return value should be zero. If the function fails, the return value should be a nonzero error value listed in Raserror.h, or ERROR_INVALID_HANDLE. Remarks RAS will call this entry point from RasHangUp, if the szCustomDialDll member of the RASENTRY structure for the entry being dialed specifies a custom-dialing DLL. Requirements Windows NT/2000: Requires Windows 2000. Windows 95/98: Unsupported. Header: Declared in Ras.h. See Also Remote Access Service (RAS) Overview, Remote Access Service Functions, RasCustomDial, RasCustomDialDlg, RasCustomEntryDlg, RasHangUp, RASENTRY From this listing, I would have to try and figure out the proper VB declaration syntax. In this case, it looks like it's something like: Declare Function RasCustomHangUp Lib "RASAPI32.DLL" (ByVal hRasConn As Long) As Long "I have a plan so cunning you could put a tail on it and call it a weasel!" - Edmund Blackadder Garrett Sever 06-29-2001, 10:10 AM If you want a good API viewer for VB, go to http://www.allapi.net They've got a great one that comes w/ example code. "On a long enough timeline, everyone's life expectancy drops to zero." - Fight Club |
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum