Allocating Must Succeed Pool?

Discussion in 'Windows Vista Drivers' started by Kumar, Oct 26, 2004.

  1. Kumar

    Kumar Guest

    What are the VARIOUS APIs by which I can allocate memory from the
    MUSC SUCCEED pool.

    Thanks,
    Kumar
     
    Kumar, Oct 26, 2004
    #1
    1. Advertisements

  2. Kumar

    Kumar Guest

    Don,
    My question is...

    On Windows 2000, programatically, in my driver code, i need to call a API
    to get some memory out of the MUST SUCCEED... pool.. what are the various
    APIs available..

    Hope i am making myself clear?

    Kumar
     
    Kumar, Oct 26, 2004
    #2
    1. Advertisements

  3. Kumar

    Kumar Guest

    Don,
    My question is...

    On Windows 2000, programatically, in my driver code, i need to call a API
    to get some memory out of the MUST SUCCEED... pool.. what are the various
    APIs available..

    basically, in other words, I need some memory out of this MUST SUCCEED pool..


    Hope i am making myself clear?

    Kumar
     
    Kumar, Oct 26, 2004
    #3
  4. Kumar

    Kumar Guest

    Do you say that DD programmers do not have the privilege to get memory from
    this pool? If DD programmers have no privilege, Thanks.

    IF DD prgrammers have the privilege,
    Please tell me the APIs to allocate memory from MUST SUCCEED POOL?

    Thanks,
    Kumar





    Kumar
     
    Kumar, Oct 26, 2004
    #4
  5. you are not supposed to allocate out of this pool...there is nothign
    stopping you from doing it in the end (driver verifier will stop you
    though). you must design your driver to handle out of memory conditions,
    relying on must succeed is a bad design. this means you might have to
    restructure your driver to allocate all of the memory it needs up front and
    fail start device if it can't.

    d
     
    Doron Holan [MS], Oct 27, 2004
    #5
  6. Must-succeed pool is removed from the OS starting with XP. There is no more
    such thing. Any allocation can fail.
     
    Maxim S. Shatskih, Oct 27, 2004
    #6
    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.