Dear WMS Team. About WMS Plugin Programming.

Discussion in 'Windows Media Player' started by SpongeSong, Jul 18, 2004.

  1. SpongeSong

    SpongeSong Guest

    Hello.

    My name is Mr. Kim from Korea.

    Please don’t check my grammar. I’m not good at English. ïŠ:)

    Ok. Here are some questions about WMS Architecture.

    I’m working on ATL and W2k3 EA.

    This Code is some of My Custom Authorization Plug-in.

    It illustrates how to retrieve referrer URL for the client of User Contexts.

    STDMETHODIMP CAuth::AuthorizeEvent(…)
    {
    LPWSTR m_UserReferer = NULL;
    switch( pEvent->Type )
    {

    case WMS_EVENT_OPEN:
    hr = pUserCtx->GetStringValue(WMS_USER_REFERER,
    26, &m_UserReferer,
    0);
    }
    }

    In this code, I can retrieve User referrer URL whose client program is WMP 9.

    But I can’t retrieve value whose program is Ver.7 or Ver.8.

    And also, I can’t retrieve value on other event before WMS_EVENT_OPEN happens.

    I want to do that.

    But default WMS logging plug-in can retrieve that referrer URL
    with any version of WMP of client.

    Sometimes I can retrieve that value on WMS_EVENT_LOG event.
    But this is not guaranteed.

    And I want to retrieve this value on any condition.
    (For example, WMS_EVENT_CONNECT or
    WMS_EVENT_PHYSICAL_URL_TRANSFORM event).

    OK. That’s my first question.

    And here is another question.

    There are NS_E_REDIRECT return keyword which works only in
    WMS_EVENT_PHYSICAL_URL_TRANSFORM and
    WMS_EVENT_LOGICAL_URL_TRANSFORM event.

    This is not fare.
    I want to use this keyword in any event.

    Maybe, this is not possible in this version of WMS.

    Can it be possible next version of WMS? I expecting it.

    Thanks for reading my report.

    I want to hear good news for this question.
     
    SpongeSong, Jul 18, 2004
    #1
    1. Advertisements

  2. Sponge, you probably need to post this to the following newsgroup :

    microsoft.public.windowsmedia.sdk

    That's where the experts hang out who can help you with your
    programming questions. This newsgroup is really mostly for using and
    fixing player problems, rather than programming discussions.

    Cheers - Neil
     
    Neil Smith [MVP Digital Media], Jul 19, 2004
    #2
    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.