X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: jbs30000 AT aol DOT com (Joel) Newsgroups: comp.os.msdos.djgpp Subject: __dpmi_callback_info question Date: 16 Apr 2004 11:41:29 -0700 Organization: http://groups.google.com Lines: 18 Message-ID: <84e4e2a9.0404161041.dabcfbd@posting.google.com> NNTP-Posting-Host: 172.209.199.156 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1082140889 6972 127.0.0.1 (16 Apr 2004 18:41:29 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Fri, 16 Apr 2004 18:41:29 +0000 (UTC) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'd like an example, of how to use this. I know that the structure is typedef struct { unsigned long data16[2]; unsigned long code16[2]; unsigned short ip; unsigned short reserved; unsigned long data32[2]; unsigned long code32[2]; unsigned long eip; } __dpmi_callback_info; and I'd assume that you'd use the _go32_my_ds() for data and _go32_my_cs() for code, and probably the offset of the routine that will be the service provider, but I'm thrown off by the [2] after the data32 and code[32], that would make them 8 bytes long, right? I'm confused on how to fill in the information. Any help is appreciated. Thanks.