wlanapi.dll throws exception in rpc thread

Discussion in 'Wireless Networking' started by joshl, Dec 7, 2006.

  1. joshl

    joshl Guest

    When unregistering my callback:

    FALSE /* don't ignore duplicates */,
    NULL /* reserved, must be NULL */,

    an exception is thrown from an RPC thread which includes wlanapi.dll in
    the callstack. The exception is something like: "0x0000000D The data
    is invalid". I'd expect that this error be returned from the
    WLanRegisterNotification call, but that is returning 0.
    The thread from whcih I make the WlanRegisterNotification call is
    waiting for an sync. event object when this exception is thrown from
    another thread.

    Has anyone seen this before or know the cause?

    My handle value (m_hClient) appears to be valid.
    joshl, Dec 7, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.