pEapOutput Prefast specifier for set_response_attributes() methods changed

This commit is contained in:
Simon Rozman 2016-10-24 14:42:56 +02:00
parent 45ce38916b
commit 2c91b6ca8c
7 changed files with 9 additions and 9 deletions

View File

@ -175,7 +175,7 @@ namespace eap
/// ///
virtual void set_response_attributes( virtual void set_response_attributes(
_In_ const EapAttributes *pAttribs, _In_ const EapAttributes *pAttribs,
_Inout_ EapPeerMethodOutput *pEapOutput); _Out_ EapPeerMethodOutput *pEapOutput);
/// @} /// @}

View File

@ -781,7 +781,7 @@ namespace eap
virtual void set_response_attributes( virtual void set_response_attributes(
_In_ EAP_SESSION_HANDLE hSession, _In_ EAP_SESSION_HANDLE hSession,
_In_ const EapAttributes *pAttribs, _In_ const EapAttributes *pAttribs,
_Inout_ EapPeerMethodOutput *pEapOutput) = 0; _Out_ EapPeerMethodOutput *pEapOutput) = 0;
/// @} /// @}
}; };

View File

@ -147,7 +147,7 @@ void eap::method::get_response_attributes(_Inout_ EapAttributes *pAttribs)
void eap::method::set_response_attributes( void eap::method::set_response_attributes(
_In_ const EapAttributes *pAttribs, _In_ const EapAttributes *pAttribs,
_Inout_ EapPeerMethodOutput *pEapOutput) _Out_ EapPeerMethodOutput *pEapOutput)
{ {
UNREFERENCED_PARAMETER(pAttribs); UNREFERENCED_PARAMETER(pAttribs);
assert(pEapOutput); assert(pEapOutput);

View File

@ -164,7 +164,7 @@ namespace eap
/// ///
virtual void set_response_attributes( virtual void set_response_attributes(
_In_ const EapAttributes *pAttribs, _In_ const EapAttributes *pAttribs,
_Inout_ EapPeerMethodOutput *pEapOutput); _Out_ EapPeerMethodOutput *pEapOutput);
/// @} /// @}

View File

@ -209,7 +209,7 @@ namespace eap
virtual void set_response_attributes( virtual void set_response_attributes(
_In_ EAP_SESSION_HANDLE hSession, _In_ EAP_SESSION_HANDLE hSession,
_In_ const EapAttributes *pAttribs, _In_ const EapAttributes *pAttribs,
_Inout_ EapPeerMethodOutput *pEapOutput); _Out_ EapPeerMethodOutput *pEapOutput);
/// @} /// @}

View File

@ -178,7 +178,7 @@ void eap::method_ttls::get_response_attributes(_Inout_ EapAttributes *pAttribs)
void eap::method_ttls::set_response_attributes( void eap::method_ttls::set_response_attributes(
_In_ const EapAttributes *pAttribs, _In_ const EapAttributes *pAttribs,
_Inout_ EapPeerMethodOutput *pEapOutput) _Out_ EapPeerMethodOutput *pEapOutput)
{ {
UNREFERENCED_PARAMETER(pAttribs); UNREFERENCED_PARAMETER(pAttribs);
UNREFERENCED_PARAMETER(pEapOutput); UNREFERENCED_PARAMETER(pEapOutput);

View File

@ -331,9 +331,9 @@ void eap::peer_ttls::get_response_attributes(
void eap::peer_ttls::set_response_attributes( void eap::peer_ttls::set_response_attributes(
_In_ EAP_SESSION_HANDLE hSession, _In_ EAP_SESSION_HANDLE hSession,
_In_ const EapAttributes *pAttribs, _In_ const EapAttributes *pAttribs,
_Inout_ EapPeerMethodOutput *pEapOutput) _Out_ EapPeerMethodOutput *pEapOutput)
{ {
static_cast<session*>(hSession)->m_method->set_response_attributes(pAttribs, pEapOutput); static_cast<session*>(hSession)->m_method->set_response_attributes(pAttribs, pEapOutput);
} }