Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than netapi32, prefix the name with the module name and a period.
STAT_WORKSTATION_0 (netapi32)
.
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!
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).