The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: tylerp on October 12, 2008, 09:48:20 PM

Title: Named Pipes
Post by: tylerp on October 12, 2008, 09:48:20 PM
this is the prototype for an anonymous pipe..

    CreatePipe proto pReadHandle:DWORD, \
           pWriteHandle:DWORD,\
           pPipeAttributes:DWORD,\
           nBufferSize:DWORD

What is it for a named one?

Thanks.
Title: Re: Named Pipes
Post by: Tedd on October 13, 2008, 12:24:04 PM
CreateNamedPipe proto lpName:LPCTSTR, \
        dwOpenMode:DWORD, \
        dwPipeMode:DWORD, \
        nMaxInstances:DWORD, \
        nOutBufferSize:DWORD, \
        nInBufferSize:DWORD, \
        nDefaultTimeOut:DWORD, \
        lpSecurityAttribute:LPSECURITY_ATTRIBUTES


CreateNamedPipe: http://msdn.microsoft.com/en-us/library/aa365150(VS.85).aspx
CreatePipe: http://msdn.microsoft.com/en-us/library/aa365152(VS.85).aspx

Pipes! http://msdn.microsoft.com/en-us/library/aa365780(VS.85).aspx