Problem in SRB_SURPRISE_REMOVAL , Driver is Crashing!!!!!!!!!!



Hello all ,
I am writing a stream class minidriver.I have a crash problem in
function where i handle "SRB_SURPRISE_REMOVAL "

---> In that function I try to access "HwDeviceExtension"and "Stream
Object" members of present SRB ( SRB_SURPRISE_REMOVAL)..
---> As a result of that my driver is crashing.!!!!!

Can any body tell me ..the reasons for this..?

" Actually i have to de-allocate the buffer which i have
allocated in Init function and stored the pointer to buffer in Device
Extension , so in order to clean up that i require to access device
extension."



Can any body help me out..
Thanks & Rgds,
Darshan

.



Relevant Pages

  • Re: Questions about C1x
    ... for all inputs that would overflow the buffer in the C99 example implementation, and documents that behaviour as an extension, changing the implementation to return a string containing '*' characters is user visible. ... C standard does not define any NULL as result of asctimeso ... jacob at jacob point remcomp point fr ...
    (comp.std.c)
  • Re: problem with framebuffer objects
    ... EXT_packed_depth_stencil extension to get stencil buffering at all ... rendering surface with exactly the same properties/size. ... only the color attachment code (no depth buffer attached, ...
    (comp.graphics.api.opengl)
  • Re: GC and security
    ... extension that builds a command string in a C-level buffer, ... and then overwrites the buffer before returning). ... cmd = array.array ...
    (comp.lang.python)
  • Re: Neat way to get RO filetype from DOS extension?
    ... The MimeMap module seems only to produce ... R1 = filetype, or pointer to buffer ... MMM_TYPE_DOT_EXTN Extension as string ...
    (comp.sys.acorn.programmer)

Loading