win32file.CreateMailslot

PyHANDLE = CreateMailslot(Name, MaxMessageSize , ReadTimeout , SecurityAttributes )

Creates a mailslot on the local machine

Parameters

Name : str

Name of the mailslot, of the form \\.\\mailslot\\[path]name

MaxMessageSize : int

Largest message size. Use 0 for unlimited.

ReadTimeout : int

Timeout in milliseconds. Use -1 for no timeout.

SecurityAttributes : PySECURITY_ATTRIBUTES

Determines if returned handle is inheritable, can be None

Win32 API References

Search for CreateMailslot at msdn, google or google groups.