C++ - How to call WS_CALL_PROPERTY_CHECK_MUST_UNDERSTAND to set to MustUnderstand=0 ?

Anne-Sophie Demoulin 1 Reputation point
2022-10-18T16:33:47.163+00:00

i'have tried this but MustUnderstand is still equal to 1.
Do i need to set a callback to my WS_PROXY_MESSAGE_CALLBACK_CONTEXT mustUnderstand ? If yes, which callback ?

WS_CALL_PROPERTY callProperties[1];
WS_PROXY_MESSAGE_CALLBACK_CONTEXT mustUnderstand= {0};

BOOL mustU = FALSE;
mustUnderstand.state = &mustU;

callProperties[0].id = WS_CALL_PROPERTY_SEND_MESSAGE_CONTEXT;
callProperties[0].value = &mustUnderstand;
callProperties[0].valueSize = 4;

WsCall...

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,483 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,600 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Anne-Sophie Demoulin 1 Reputation point
    2022-10-28T14:31:36.833+00:00

    I 've found another way : change the WS_CHANNEL_PROPERTY_ADDRESSING_VERSION not to have "must understand" things

    0 comments No comments