Sample Code

Windows Driver Samples/ UMDF SocketEcho Sample (UMDF Version 1)/ C++/ Driver/ connection.h/

/*++

Copyright (c) Microsoft Corporation. All rights reserved.

Module Name:

    Connection.h

Abstract:

   Header file for the socketecho connection class 
   
Environment:

    User mode only


--*/
#pragma once

class CConnection 
{
public:
    CConnection();
    HRESULT Connect(IN  IWDFDevice *pDevice);
    VOID Close();
    HANDLE GetSocketHandle( );

private:
    SOCKET m_socket;
};

Our Services

  • What our customers say about us?

© 2011-2024 All Rights Reserved. Joya Systems. 4425 South Mopac Building II Suite 101 Austin, TX 78735 Tel: 800-DEV-KERNEL

Privacy Policy. Terms of use. Valid XHTML & CSS