示例#1
0
文件: st_main.c 项目: kcrazy/winekit
VOID
Sta11FreeStation(
    __in PSTATION         pStation
    )
{
    MPVERIFY(pStation);

    // Cleanup anything we create for scan
    StaFreeScanContext(pStation);

    // Cleanup connection context
    StaFreeConnectionContext(pStation);

    // Free any memory allocated for Adhoc
    StaFreeAdHocStaInfo(pStation);
    
    MP_FREE_MEMORY(pStation);
}
示例#2
0
VOID
Sta11FreePort(
    _In_  PMP_PORT                Port
    )
{
    PMP_EXTSTA_PORT             extStaPort = MP_GET_STA_PORT(Port);
    
    // Cleanup anything we create for scan
    StaFreeScanContext(extStaPort);

    // Cleanup connection context
    StaFreeConnectionContext(extStaPort);

    // Free any memory allocated for Adhoc
    StaFreeAdHocStaInfo(extStaPort);

    MP_FREE_MEMORY(extStaPort);    
}