S
sunshinebbs
Unregistered / Unconfirmed
GUEST, unregistred user!
我在delhpi里打开一个dll文件文件得到以下信息。我怎样才能用调delphi调用以下函数呢?<br>[<br> uuid(6A73356D-23CF-489C-A467-25147BF9D465), <br> helpstring("Dispatch interface for IMC Control"), <br> hidden<br>]<br> dispinterface _DIMCv1<br>{<br> properties:<br> methods:<br> [<br> id(0x00000016)<br> ]<br> void Logout( void );<br> [<br> id(0x00000017)<br> ]<br> void ChangeRoomCate(long roomID, short cateno, short sortno );<br> [<br> id(0x0000003B)<br> ]<br> void OPCastText(short cateid, long rid, BSTR castmst );<br> [<br> id(0x00000015)<br> ]<br> void QuitRoom(BSTR msgtext );<br> [<br> id(0x00000018)<br> ]<br> void WantMic( void );<br> [<br> id(0x00000019)<br> ]<br> void DropMic( void );<br> [<br> id(0x0000003A)<br> ]<br> void OPForceVPM(long uid );<br> [<br> id(0x00000036)<br> ]<br> void OPKick(long uid, BSTR msg );<br> [<br> id(0x00000039)<br> ]<br> void OPSetUserPriv(long uid, short vout, short vin, short tout, short tin, short ulevel );<br> [<br> id(0x00000038)<br> ]<br> void OPSetNick(long uid, BSTR nick );<br> [<br> id(0x0000003D)<br> ]<br> void SetUserRela(long uid, short svoc, short rvoc, short stxt, short rtxt );<br> [<br> id(0x0000003C)<br> ]<br> void OPSetRoomParam(short locked, short invisble, short mic_time, short min_ulevel );<br> [<br> id(0x00000037)<br> ]<br> void OPGetMic(long fromuid, long touid );<br> [<br> id(0x00000012)<br> ]<br> void EnterRoom(long roomID, long userlevel, BSTR usernick );<br> [<br> id(0x0000001C)<br> ]<br> void PrivText(long userid, BSTR msgtext );<br> [<br> id(0x0000001F)<br> ]<br> long UserStatus(long uid );<br> [<br> id(0x00000022)<br> ]<br> short EnumCate(short cate );<br> [<br> id(0x0000001D)<br> ]<br> long Idx2id(long idx );<br> [<br> id(0x0000001E)<br> ]<br> BSTR Nickbyid(long uid );<br> [<br> id(0x0000001B)<br> ]<br> void PubText(long userid, BSTR msgtext );<br> [<br> id(0x00000023)<br> ]<br> long EnumRoom(short cate, long rid );<br> [<br> id(0x00000013)<br> ]<br> void Connect( void );<br> [<br> id(0x00000014)<br> ]<br> void AddRoom(BSTR roomname, short permanent, short invisible, short max_user, short mic_count, short mic_time, short vhostmaster, short voperator, short vuser, short vguest );<br> [<br> id(0x00000011)<br> ]<br> void Login(long ugidLo, BSTR logstring );<br> [<br> id(0x00000020)<br> ]<br> long UserDef(long uid );<br> [<br> id(0x00000021)<br> ]<br> void SetUserDef(long udata );<br> [<br> id(0x0000001A)<br> ]<br> void ChangeNick(BSTR usernick );<br> [<br> id(0x00000026)<br> ]<br> long RoomCUser(long rid );<br> [<br> id(0x0000002C)<br> ]<br> long RoomUPriv(long rid );<br> [<br> id(0x00000032)<br> ]<br> void ChangeUserLevel(long ugidLo, short ulevel, short cateid, long rid );<br> [<br> id(0x00000025)<br> ]<br> long RoomProp(long rid );<br> [<br> id(0x00000024)<br> ]<br> BSTR roomname(long rid );<br> [<br> id(0x00000027)<br> ]<br> void RoomList( void );<br> [<br> id(0x00000031)<br> ]<br> void Register(BSTR passwd, BSTR nick, BSTR xmlinfo );<br> [<br> id(0x0000002D)<br> ]<br> void SetSelfPriv(long vocr, long pubtr, long prvtr );<br> [<br> id(0x00000030)<br> ]<br> void VPMLeave( void );<br> [<br> id(0x0000002F)<br> ]<br> void VPMPermit(long uid );<br> [<br> id(0x00000034)<br> ]<br> long userlevel(long uid );<br> [<br> id(0x00000033)<br> ]<br> long ChangePasswd(long ugidLo, BSTR oldpassword, BSTR newpassword, BSTR nick );<br> [<br> id(0x0000002E)<br> ]<br> void VPMRequest(long uid, BSTR msg );<br> [<br> id(0x0000002A)<br> ]<br> short RoomSort(long rid );<br> [<br> id(0x00000046)<br> ]<br> void NewPasswd(long ugidLo, long gpcode );<br> [<br> id(0x00000045)<br> ]<br> void SetTopic(BSTR topic );<br> [<br> id(0x00000040)<br> ]<br> long UserInfo(long uid, long infoidx );<br> [<br> id(0x0000003E)<br> ]<br> void SetParam(long funcnum, long value );<br> [<br> id(0x00000044)<br> ]<br> BSTR RoomTopic(long rid );<br> [<br> id(0x00000043)<br> ]<br> void OPLockRoom(BSTR roomPass );<br> [<br> id(0x0000003F)<br> ]<br> long RoomInfo(long rid, long infoidx );<br> [<br> id(0x00000029)<br> ]<br> short RoomCate(long rid );<br> [<br> id(0x00000028)<br> ]<br> long RoomIdx2id(long ridx );<br> [<br> id(0x0000002B)<br> ]<br> void DelRoom(long rid );<br> [<br> id(0x00000042)<br> ]<br> void QueryUser(long uid, long funcid );<br> [<br> id(0x00000041)<br> ]<br> void OPBanIP(long uid, BSTR msg );<br> [<br> id(0x00000035)<br> ]<br> long SelfInfo(long infoidx );<br>};