home *** CD-ROM | disk | FTP | other *** search
-
- <!-- #include virtual="/quickstart/howto/include/header.inc" -->
-
- <%
- runsample = Server.MapPath("/quickstart/howto/samples/Win32Wrappers/Win32Marshal")
- viewsource = "/quickstart/howto/samples/Win32Wrappers/Win32Marshal/Win32Marshal.src"
- icon = "/quickstart/images/console.gif"
- caption = "Win32Marshal.exe"
- %>
-
- <h4>How Do I...Call a Win32 API and marshal the arguments?</h4>
-
- <div class="indent" style="width:660">
- This sample illustrates how to custom marshal the arguments when making a native Win32 call from managed code...
- </div>
-
- <h4>Example</h4>
-
- <p>
- <div class="indent">
- <a target="_blank" href="<%=runsample%>">
- <img style="border-color:black" border=1 src="<%=icon%>"><br>
- </a>
- <div class="caption"><%=caption%></div><br>
- [<a target="_blank" href="<%=runsample%>">View Sample</a>] |
- [<a target="_blank" href="/quickstart/util/srcview.aspx?path=<%=viewsource%>">View Source</a>]<p>
- </div>
-
- <h4>Source Code</h4>
-
- <div class="code">
- <xmp>
- <!-- #include virtual="/quickstart/howto/samples/Win32Wrappers/Win32Marshal/Win32Marshal.cs" -->
- </xmp>
- </div>
-
- <!-- #include virtual="/quickstart/howto/include/footer.inc" -->
-