SpringCard LibCs.Windows for .NET  18.10.10
A set of utilities for the Windows platform
SpringCard.LibCs.Windows.MailSlotServer Class Reference

Classes

class  MailSlot
 The class exposes Windows APIs to be used in this code sample. More...
 
class  SafeLocalMemHandle
 Represents a wrapper class for a local memory pointer. More...
 
class  SafeMailslotHandle
 Represents a wrapper class for a mailslot handle. More...
 
class  SECURITY_ATTRIBUTES
 The SECURITY_ATTRIBUTES structure contains the security descriptor for an object and specifies whether the handle retrieved by specifying this structure is inheritable. This structure provides security settings for objects created by various functions, such as CreateFile, CreateNamedPipe, CreateProcess, RegCreateKeyEx, or RegSaveKeyEx. More...
 

Public Types

enum  FileDesiredAccess : uint { GENERIC_READ = 0x80000000, GENERIC_WRITE = 0x40000000, GENERIC_EXECUTE = 0x20000000, GENERIC_ALL = 0x10000000 }
 Desired Access of File/Device More...
 
enum  FileShareMode : uint { Zero = 0x00000000, FILE_SHARE_DELETE = 0x00000004, FILE_SHARE_READ = 0x00000001, FILE_SHARE_WRITE = 0x00000002 }
 File share mode More...
 
enum  FileCreationDisposition : uint {
  CREATE_NEW = 1, CREATE_ALWAYS = 2, OPEN_EXISTING = 3, OPEN_ALWAYS = 4,
  TRUNCATE_EXISTING = 5
}
 File Creation Disposition More...
 

Static Public Member Functions

static SafeMailslotHandle Create (string mailSlotName)
 

Public Attributes

const int MAILSLOT_WAIT_FOREVER = -1
 Mailslot waits forever for a message More...
 
const int MAILSLOT_NO_MESSAGE = -1
 There is no next message More...
 

Member Enumeration Documentation

◆ FileCreationDisposition

File Creation Disposition

◆ FileDesiredAccess

Desired Access of File/Device

◆ FileShareMode

File share mode

Member Data Documentation

◆ MAILSLOT_NO_MESSAGE

const int SpringCard.LibCs.Windows.MailSlotServer.MAILSLOT_NO_MESSAGE = -1

There is no next message

◆ MAILSLOT_WAIT_FOREVER

const int SpringCard.LibCs.Windows.MailSlotServer.MAILSLOT_WAIT_FOREVER = -1

Mailslot waits forever for a message


The documentation for this class was generated from the following file: