Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "DNS_RPC_RECORD" in [All]

Structures

.

    public struct DNS_RPC_RECORD_HEADER

.

    public struct DNS_RPC_RECORD

.

        private DNS_RPC_RECORD_HEADER header;

.

        public static DNS_RPC_RECORD Load(byte[] from)

.

        DNS_RPC_RECORD_HEADER h = (DNS_RPC_RECORD_HEADER)Marshal.PtrToStructure(

.

            handle.AddrOfPinnedObject(), typeof(DNS_RPC_RECORD_HEADER));

.

        DNS_RPC_RECORD r = new DNS_RPC_RECORD();

.

The Load method is needed because there's no way (that I can find) to have Marshal automatically put the trailing bytes into the Buffer array. I have invented the "DNS_RPC_RECORD_HEADER" type so that I can use PtrToStructure to load all the constant-sized parts automatically.


 
Access PInvoke.net directly from VS: