Path: news.mitre.org!blanket.mitre.org!philabs!newsjunkie.ans.net!newsfeeds.ans.net!news-was.dfn.de!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!News.Toronto.iSTAR.net!news.istar.net!NewsRead.Toronto.iSTAR.net!not-for-mail From: "Tom Lai" Subject: Re: TDI Client TdiTransportAddress system constant and Address objects Newsgroups: comp.os.ms-windows.programmer.nt.kernel-mode References: Message-ID: <01bd1b28$a5751f00$9699bfcc@tom> X-Newsreader: Microsoft Internet News 4.70.1161 Lines: 23 Date: Wed, 07 Jan 1998 04:53:08 GMT NNTP-Posting-Host: ts34-07.vcr.istar.ca NNTP-Posting-Date: Tue, 06 Jan 1998 23:53:08 EST You have to allocate a non-paged FILE_FULL_EA_INFORMATION buffer with total_size=sizeof(FILE_FULL_EA_INFORMATION)+sizeof(TdiTransportAddress)+size of(TRANSPORT_ADDRESS) and fill in correct EaNameLength and EaValueLength. You are right about the EaName field, "TransportAddress"+"\0"+TRANSPORT_ADDRESS. Tom Lai tomlai@istar.ca Michael Barrientos wrote in article ... > Additionally, it would seem that I need to allocate a non-pageable > buffer of size TdiTransportAddress + 1 (for the null termination) + the > size of the TRANSPORT_ADDRESS structure, which immediately follows. > I then do the kernels bcopy function to copy TdiTransportAddress > into the start of the buffer, then terminate it with a null, and > finally create a TdiTransportAddress in the remaining space. Correct?