Mark Ellis
2008-04-01 13:43:00 UTC
Quick note.
Where unimplemented rapi calls are called, calling a NULL function
pointer gives a segfault. Not really a surprise, but it's something most
of us don't try very often :) Came across it trying synce-kpm on WM2003
device, during a CeGetDiskFreeSpaceEx call.
Ideally we should have a dummy function for every unimplemented call
that is in the rapi.h header, but life isn't that dull. Probably a good
idea to add a dummy for any new calls that are added to one rapi version
but not the other though.
Mark
Where unimplemented rapi calls are called, calling a NULL function
pointer gives a segfault. Not really a surprise, but it's something most
of us don't try very often :) Came across it trying synce-kpm on WM2003
device, during a CeGetDiskFreeSpaceEx call.
Ideally we should have a dummy function for every unimplemented call
that is in the rapi.h header, but life isn't that dull. Probably a good
idea to add a dummy for any new calls that are added to one rapi version
but not the other though.
Mark