TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
kstallings
NA
10
0
c# syntax question
Sep 2 2004 4:28 PM
I am P/Invoking several functions. Looking at an atricle on how to do this I ran across the following syntax in the function declaration: [DllImport ("kernel32.dll")] internal static extern Boolean SetCommState(IntPtr hFile, [In] ref DCB lpDCB); and [DllImport("kernel32.dll")] internal static extern Boolean ReadFile(IntPrt hFile, [Out] byte [] lpBuffer, UInt32 nNumberOf BytesRead, IntPtr lpOverlapped); My question is about the [IN] and the [Out] syntax. What do they mean?? Thanks, Keith Stallings
Reply
Answers (
1
)
Audio Help
CheckedListBox Problems