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

STAT_WORKSTATION_0 (netapi32)
 
.
Summary
Contains statistical information about the specified workstation.

C# Signature:

  [StructLayout(LayoutKind.Sequential)]
    private struct STAT_WORKSTATION_0
    {
        [MarshalAs(UnmanagedType.I8)]
        public Int64 StatisticsStartTime;

        public long BytesReceived;
        public long SmbsReceived;
        public long PagingReadBytesRequested;
        public long NonPagingReadBytesRequested;
        public long CacheReadBytesRequested;
        public long NetworkReadBytesRequested;

        public long BytesTransmitted;
        public long SmbsTransmitted;
        public long PagingWriteBytesRequested;
        public long NonPagingWriteBytesRequested;
        public long CacheWriteBytesRequested;
        public long NetworkWriteBytesRequested;

        public int InitiallyFailedOperations;
        public int FailedCompletionOperations;

        public int ReadOperations;
        public int RandomReadOperations;
        public int ReadSmbs;
        public int LargeReadSmbs;
        public int SmallReadSmbs;

        public int WriteOperations;
        public int RandomWriteOperations;
        public int WriteSmbs;
        public int LargeWriteSmbs;
        public int SmallWriteSmbs;

        public int RawReadsDenied;
        public int RawWritesDenied;

        public int NetworkErrors;

        //  Connection/Session counts
        public int Sessions;
        public int FailedSessions;
        public int Reconnects;
        public int CoreConnects;
        public int Lanman20Connects;
        public int Lanman21Connects;
        public int LanmanNtConnects;
        public int ServerDisconnects;
        public int HungSessions;
        public int UseCount;
        public int FailedUseCount;

        public int CurrentCommands;

    }

VB Signature:

User-Defined Types:

None.

Alternative Managed API:

Do you know one? Please contribute it!

Notes:

None.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Documentation

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions