createfile fail for deviceiocontrol

Hi,

I have a strange problem.

I have written a file filter driver.
And using a win32 app, I tried to send a IOCTL to my driver and ask my
driver to return my win32 app some data.

Using administrator to launch the win32 app, when I tried to createfile with
GENERIC_READ | GENERIC_WRITE, I have no problem sending the IOCTL using
DeviceIoControl.
However when I use createfile with GENERIC_READ only, I have ACCESS DENIED
error when I send the IOCTL using DeviceIoControl.
Why is that so?
To send IOCTL I must createfile with both read/write access?

Hope someone can help.

Thank You!

cheers,
vincent

My driver is using:
status = IoCreateDeviceSecure(
myDriverObject,
sizeof(DEVICE_EXTENSION),
&NameString,
FILE_DEVICE_DISK_FILE_SYSTEM,
FILE_DEVICE_SECURE_OPEN,
TRUE,
&SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_R,
&GUID_DEVCLASS_MYDEV,
&myPrimaryDeviceObject);

#define IOCTL_TEST (ULONG) CTL_CODE (MY_DEVICE_TYPE,
0x080300,METHOD_BUFFERED, FILE_ALL_ACCESS)

hDevice = CreateFile (HANDLE,
GENERIC_READ,
0,
NULL,
OPEN_EXISTING,
0,
NULL
);

DeviceIoControl(hDevice,IOCTL_TEST, NULL, 0, &myData, sizeof (myData),
&BytesReturned, NULL);


Get MSN Hotmail alerts on your mobile. http://en-asiasms.mobile.msn.com/

Replace FILE_ALL_ACCESS with FILE_ANY_ACCESS in the definiton of the IOCTL
code and you should be able to send it regardless of the permissions that
were used while opening the device.

“vincent gambit” wrote in message
news:xxxxx@ntfsd…
>
> Hi,
>
> I have a strange problem.
>
> I have written a file filter driver.
> And using a win32 app, I tried to send a IOCTL to my driver and ask my
> driver to return my win32 app some data.
>
> Using administrator to launch the win32 app, when I tried to createfile
with
> GENERIC_READ | GENERIC_WRITE, I have no problem sending the IOCTL using
> DeviceIoControl.
> However when I use createfile with GENERIC_READ only, I have ACCESS
DENIED
> error when I send the IOCTL using DeviceIoControl.
> Why is that so?
> To send IOCTL I must createfile with both read/write access?
>
> Hope someone can help.
>
> Thank You!
>
> cheers,
> vincent
>
> My driver is using:
> status = IoCreateDeviceSecure(
> myDriverObject,
> sizeof(DEVICE_EXTENSION),
> &NameString,
> FILE_DEVICE_DISK_FILE_SYSTEM,
> FILE_DEVICE_SECURE_OPEN,
> TRUE,
> &SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_R,
> &GUID_DEVCLASS_MYDEV,
> &myPrimaryDeviceObject);
>
> #define IOCTL_TEST (ULONG) CTL_CODE (MY_DEVICE_TYPE,
> 0x080300,METHOD_BUFFERED, FILE_ALL_ACCESS)
>
> hDevice = CreateFile (HANDLE,
> GENERIC_READ,
> 0,
> NULL,
> OPEN_EXISTING,
> 0,
> NULL
> );
>
> DeviceIoControl(hDevice,IOCTL_TEST, NULL, 0, &myData, sizeof (myData),
> &BytesReturned, NULL);
>
> _________________________________________________________________
> Get MSN Hotmail alerts on your mobile. http://en-asiasms.mobile.msn.com/
>
>
>

Hi,

Thanks for your help.

I have tried FILE_ANY_ACCESS as well as FILE_READ_ACCESS and both cases i am
not able to send my IOCTL successfully.

The error is still access denied.

hope u can help

thank you

cheers,
vincent

From: “Daniel Sadolevsky”
>Reply-To: “Windows File Systems Devs Interest List”
>To: “Windows File Systems Devs Interest List”
>Subject: [ntfsd] Re: createfile fail for deviceiocontrol
>Date: Wed, 17 Sep 2003 18:07:29 +0200
>
>Replace FILE_ALL_ACCESS with FILE_ANY_ACCESS in the definiton of the IOCTL
>code and you should be able to send it regardless of the permissions that
>were used while opening the device.
>
>
>“vincent gambit” wrote in message
>news:xxxxx@ntfsd…
> >
> > Hi,
> >
> > I have a strange problem.
> >
> > I have written a file filter driver.
> > And using a win32 app, I tried to send a IOCTL to my driver and ask my
> > driver to return my win32 app some data.
> >
> > Using administrator to launch the win32 app, when I tried to createfile
>with
> > GENERIC_READ | GENERIC_WRITE, I have no problem sending the IOCTL using
> > DeviceIoControl.
> > However when I use createfile with GENERIC_READ only, I have ACCESS
>DENIED
> > error when I send the IOCTL using DeviceIoControl.
> > Why is that so?
> > To send IOCTL I must createfile with both read/write access?
> >
> > Hope someone can help.
> >
> > Thank You!
> >
> > cheers,
> > vincent
> >
> > My driver is using:
> > status = IoCreateDeviceSecure(
> > myDriverObject,
> > sizeof(DEVICE_EXTENSION),
> > &NameString,
> > FILE_DEVICE_DISK_FILE_SYSTEM,
> > FILE_DEVICE_SECURE_OPEN,
> > TRUE,
> > &SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_R,
> > &GUID_DEVCLASS_MYDEV,
> > &myPrimaryDeviceObject);
> >
> > #define IOCTL_TEST (ULONG) CTL_CODE (MY_DEVICE_TYPE,
> > 0x080300,METHOD_BUFFERED, FILE_ALL_ACCESS)
> >
> > hDevice = CreateFile (HANDLE,
> > GENERIC_READ,
> > 0,
> > NULL,
> > OPEN_EXISTING,
> > 0,
> > NULL
> > );
> >
> > DeviceIoControl(hDevice,IOCTL_TEST, NULL, 0, &myData, sizeof (myData),
> > &BytesReturned, NULL);
> >
> >
> > Get MSN Hotmail alerts on your mobile. http://en-asiasms.mobile.msn.com/
> >
> >
> >
>
>
>
>—
>You are currently subscribed to ntfsd as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com


Get 10mb of inbox space with MSN Hotmail Extra Storage
http://join.msn.com/?pgmarket=en-sg

You can also try to call CreateFile with FILE_ATTRIBUTE_NORMAL instead of 0,
and also try to set all the FILE_SHARE_… flags.
Hope this helps.

“vincent gambit” wrote in message
news:xxxxx@ntfsd…
>
> Hi,
>
> Thanks for your help.
>
> I have tried FILE_ANY_ACCESS as well as FILE_READ_ACCESS and both cases i
am
> not able to send my IOCTL successfully.
>
> The error is still access denied.
>
> hope u can help
>
> thank you
>
> cheers,
> vincent
>
>
> >From: “Daniel Sadolevsky”
> >Reply-To: “Windows File Systems Devs Interest List”
> >To: “Windows File Systems Devs Interest List”
> >Subject: [ntfsd] Re: createfile fail for deviceiocontrol
> >Date: Wed, 17 Sep 2003 18:07:29 +0200
> >
> >Replace FILE_ALL_ACCESS with FILE_ANY_ACCESS in the definiton of the
IOCTL
> >code and you should be able to send it regardless of the permissions that
> >were used while opening the device.
> >
> >
> >“vincent gambit” wrote in message
> >news:xxxxx@ntfsd…
> > >
> > > Hi,
> > >
> > > I have a strange problem.
> > >
> > > I have written a file filter driver.
> > > And using a win32 app, I tried to send a IOCTL to my driver and ask my
> > > driver to return my win32 app some data.
> > >
> > > Using administrator to launch the win32 app, when I tried to
createfile
> >with
> > > GENERIC_READ | GENERIC_WRITE, I have no problem sending the IOCTL
using
> > > DeviceIoControl.
> > > However when I use createfile with GENERIC_READ only, I have ACCESS
> >DENIED
> > > error when I send the IOCTL using DeviceIoControl.
> > > Why is that so?
> > > To send IOCTL I must createfile with both read/write access?
> > >
> > > Hope someone can help.
> > >
> > > Thank You!
> > >
> > > cheers,
> > > vincent
> > >
> > > My driver is using:
> > > status = IoCreateDeviceSecure(
> > > myDriverObject,
> > > sizeof(DEVICE_EXTENSION),
> > > &NameString,
> > > FILE_DEVICE_DISK_FILE_SYSTEM,
> > > FILE_DEVICE_SECURE_OPEN,
> > > TRUE,
> > > &SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_R,
> > > &GUID_DEVCLASS_MYDEV,
> > > &myPrimaryDeviceObject);
> > >
> > > #define IOCTL_TEST (ULONG) CTL_CODE (MY_DEVICE_TYPE,
> > > 0x080300,METHOD_BUFFERED, FILE_ALL_ACCESS)
> > >
> > > hDevice = CreateFile (HANDLE,
> > > GENERIC_READ,
> > > 0,
> > > NULL,
> > > OPEN_EXISTING,
> > > 0,
> > > NULL
> > > );
> > >
> > > DeviceIoControl(hDevice,IOCTL_TEST, NULL, 0, &myData, sizeof (myData),
> > > &BytesReturned, NULL);
> > >
> > >
> > > Get MSN Hotmail alerts on your mobile.
http://en-asiasms.mobile.msn.com/
> > >
> > >
> > >
> >
> >
> >
> >—
> >You are currently subscribed to ntfsd as: xxxxx@hotmail.com
> >To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>

> Get 10mb of inbox space with MSN Hotmail Extra Storage
> http://join.msn.com/?pgmarket=en-sg
>
>
>

Hi,

thanks for your reply.

I have tried.
And it still return me the same error message.
I must have GENERIC_WRITE flag before it is successful
wonder why.

thank you!

cheers,
vincent

From: “Daniel Sadolevsky”
>Reply-To: “Windows File Systems Devs Interest List”
>To: “Windows File Systems Devs Interest List”
>Subject: [ntfsd] Re: createfile fail for deviceiocontrol
>Date: Thu, 18 Sep 2003 20:14:25 +0200
>
>You can also try to call CreateFile with FILE_ATTRIBUTE_NORMAL instead of
>0,
>and also try to set all the FILE_SHARE_… flags.
>Hope this helps.
>
>“vincent gambit” wrote in message
>news:xxxxx@ntfsd…
> >
> > Hi,
> >
> > Thanks for your help.
> >
> > I have tried FILE_ANY_ACCESS as well as FILE_READ_ACCESS and both cases
>i
>am
> > not able to send my IOCTL successfully.
> >
> > The error is still access denied.
> >
> > hope u can help
> >
> > thank you
> >
> > cheers,
> > vincent
> >
> >
> > >From: “Daniel Sadolevsky”
> > >Reply-To: “Windows File Systems Devs Interest List”
>
> > >To: “Windows File Systems Devs Interest List”
> > >Subject: [ntfsd] Re: createfile fail for deviceiocontrol
> > >Date: Wed, 17 Sep 2003 18:07:29 +0200
> > >
> > >Replace FILE_ALL_ACCESS with FILE_ANY_ACCESS in the definiton of the
>IOCTL
> > >code and you should be able to send it regardless of the permissions
>that
> > >were used while opening the device.
> > >
> > >
> > >“vincent gambit” wrote in message
> > >news:xxxxx@ntfsd…
> > > >
> > > > Hi,
> > > >
> > > > I have a strange problem.
> > > >
> > > > I have written a file filter driver.
> > > > And using a win32 app, I tried to send a IOCTL to my driver and ask
>my
> > > > driver to return my win32 app some data.
> > > >
> > > > Using administrator to launch the win32 app, when I tried to
>createfile
> > >with
> > > > GENERIC_READ | GENERIC_WRITE, I have no problem sending the IOCTL
>using
> > > > DeviceIoControl.
> > > > However when I use createfile with GENERIC_READ only, I have ACCESS
> > >DENIED
> > > > error when I send the IOCTL using DeviceIoControl.
> > > > Why is that so?
> > > > To send IOCTL I must createfile with both read/write access?
> > > >
> > > > Hope someone can help.
> > > >
> > > > Thank You!
> > > >
> > > > cheers,
> > > > vincent
> > > >
> > > > My driver is using:
> > > > status = IoCreateDeviceSecure(
> > > > myDriverObject,
> > > > sizeof(DEVICE_EXTENSION),
> > > > &NameString,
> > > > FILE_DEVICE_DISK_FILE_SYSTEM,
> > > > FILE_DEVICE_SECURE_OPEN,
> > > > TRUE,
> > > > &SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_R,
> > > > &GUID_DEVCLASS_MYDEV,
> > > > &myPrimaryDeviceObject);
> > > >
> > > > #define IOCTL_TEST (ULONG) CTL_CODE (MY_DEVICE_TYPE,
> > > > 0x080300,METHOD_BUFFERED, FILE_ALL_ACCESS)
> > > >
> > > > hDevice = CreateFile (HANDLE,
> > > > GENERIC_READ,
> > > > 0,
> > > > NULL,
> > > > OPEN_EXISTING,
> > > > 0,
> > > > NULL
> > > > );
> > > >
> > > > DeviceIoControl(hDevice,IOCTL_TEST, NULL, 0, &myData, sizeof
>(myData),
> > > > &BytesReturned, NULL);
> > > >
> > > >
> > > > Get MSN Hotmail alerts on your mobile.
>http://en-asiasms.mobile.msn.com/
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >—
> > >You are currently subscribed to ntfsd as: xxxxx@hotmail.com
> > >To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >

> > Get 10mb of inbox space with MSN Hotmail Extra Storage
> > http://join.msn.com/?pgmarket=en-sg
> >
> >
> >
>
>
>
>—
>You are currently subscribed to ntfsd as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com

_________________________________________________________________
Take a break! Find destinations on MSN Travel. http://www.msn.com.sg/travel/

Just to make sure, terribly sorry if this insults your intelligence, but did
you use the same (updated) IOCTL header file for both the driver and the
userland program?
If yes, I can’t think of anything else to help you.
It’s just that this behavior seems very strange to me …

“vincent gambit” wrote in message
news:xxxxx@ntfsd…
>
>
> Hi,
>
> thanks for your reply.
>
> I have tried.
> And it still return me the same error message.
> I must have GENERIC_WRITE flag before it is successful
> wonder why.
>
> thank you!
>
> cheers,
> vincent
>
> >From: “Daniel Sadolevsky”
> >Reply-To: “Windows File Systems Devs Interest List”
> >To: “Windows File Systems Devs Interest List”
> >Subject: [ntfsd] Re: createfile fail for deviceiocontrol
> >Date: Thu, 18 Sep 2003 20:14:25 +0200
> >
> >You can also try to call CreateFile with FILE_ATTRIBUTE_NORMAL instead of
> >0,
> >and also try to set all the FILE_SHARE_… flags.
> >Hope this helps.
> >
> >“vincent gambit” wrote in message
> >news:xxxxx@ntfsd…
> > >
> > > Hi,
> > >
> > > Thanks for your help.
> > >
> > > I have tried FILE_ANY_ACCESS as well as FILE_READ_ACCESS and both
cases
> >i
> >am
> > > not able to send my IOCTL successfully.
> > >
> > > The error is still access denied.
> > >
> > > hope u can help
> > >
> > > thank you
> > >
> > > cheers,
> > > vincent
> > >
> > >
> > > >From: “Daniel Sadolevsky”
> > > >Reply-To: “Windows File Systems Devs Interest List”
> >
> > > >To: “Windows File Systems Devs Interest List”
> > > >Subject: [ntfsd] Re: createfile fail for deviceiocontrol
> > > >Date: Wed, 17 Sep 2003 18:07:29 +0200
> > > >
> > > >Replace FILE_ALL_ACCESS with FILE_ANY_ACCESS in the definiton of the
> >IOCTL
> > > >code and you should be able to send it regardless of the permissions
> >that
> > > >were used while opening the device.
> > > >
> > > >
> > > >“vincent gambit” wrote in message
> > > >news:xxxxx@ntfsd…
> > > > >
> > > > > Hi,
> > > > >
> > > > > I have a strange problem.
> > > > >
> > > > > I have written a file filter driver.
> > > > > And using a win32 app, I tried to send a IOCTL to my driver and
ask
> >my
> > > > > driver to return my win32 app some data.
> > > > >
> > > > > Using administrator to launch the win32 app, when I tried to
> >createfile
> > > >with
> > > > > GENERIC_READ | GENERIC_WRITE, I have no problem sending the IOCTL
> >using
> > > > > DeviceIoControl.
> > > > > However when I use createfile with GENERIC_READ only, I have
ACCESS
> > > >DENIED
> > > > > error when I send the IOCTL using DeviceIoControl.
> > > > > Why is that so?
> > > > > To send IOCTL I must createfile with both read/write access?
> > > > >
> > > > > Hope someone can help.
> > > > >
> > > > > Thank You!
> > > > >
> > > > > cheers,
> > > > > vincent
> > > > >
> > > > > My driver is using:
> > > > > status = IoCreateDeviceSecure(
> > > > > myDriverObject,
> > > > > sizeof(DEVICE_EXTENSION),
> > > > > &NameString,
> > > > > FILE_DEVICE_DISK_FILE_SYSTEM,
> > > > > FILE_DEVICE_SECURE_OPEN,
> > > > > TRUE,
> > > > > &SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_R,
> > > > > &GUID_DEVCLASS_MYDEV,
> > > > > &myPrimaryDeviceObject);
> > > > >
> > > > > #define IOCTL_TEST (ULONG) CTL_CODE (MY_DEVICE_TYPE,
> > > > > 0x080300,METHOD_BUFFERED, FILE_ALL_ACCESS)
> > > > >
> > > > > hDevice = CreateFile (HANDLE,
> > > > > GENERIC_READ,
> > > > > 0,
> > > > > NULL,
> > > > > OPEN_EXISTING,
> > > > > 0,
> > > > > NULL
> > > > > );
> > > > >
> > > > > DeviceIoControl(hDevice,IOCTL_TEST, NULL, 0, &myData, sizeof
> >(myData),
> > > > > &BytesReturned, NULL);
> > > > >
> > > > >
> > > > > Get MSN Hotmail alerts on your mobile.
> >http://en-asiasms.mobile.msn.com/
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >—
> > > >You are currently subscribed to ntfsd as: xxxxx@hotmail.com
> > > >To unsubscribe send a blank email to xxxxx@lists.osr.com
> > >
> > >

> > > Get 10mb of inbox space with MSN Hotmail Extra Storage
> > > http://join.msn.com/?pgmarket=en-sg
> > >
> > >
> > >
> >
> >
> >
> >—
> >You are currently subscribed to ntfsd as: xxxxx@hotmail.com
> >To unsubscribe send a blank email to xxxxx@lists.osr.com
>
> _________________________________________________________________
> Take a break! Find destinations on MSN Travel.
http://www.msn.com.sg/travel/
>
>
>

Hi,

yes i did use the same IOCTL header file.
i find it strange too.
if i just have generic_write, it worked fine.
cant undrstand.
not sure is it due to IOCreateDeviceSecure

thank you

From: “Daniel Sadolevsky”
>Reply-To: “Windows File Systems Devs Interest List”
>To: “Windows File Systems Devs Interest List”
>Subject: [ntfsd] Re: createfile fail for deviceiocontrol
>Date: Sun, 21 Sep 2003 08:10:59 +0200
>
>Just to make sure, terribly sorry if this insults your intelligence, but
>did
>you use the same (updated) IOCTL header file for both the driver and the
>userland program?
>If yes, I can’t think of anything else to help you.
>It’s just that this behavior seems very strange to me …
>
>“vincent gambit” wrote in message
>news:xxxxx@ntfsd…
> >
> >
> > Hi,
> >
> > thanks for your reply.
> >
> > I have tried.
> > And it still return me the same error message.
> > I must have GENERIC_WRITE flag before it is successful
> > wonder why.
> >
> > thank you!
> >
> > cheers,
> > vincent
> >
> > >From: “Daniel Sadolevsky”
> > >Reply-To: “Windows File Systems Devs Interest List”
>
> > >To: “Windows File Systems Devs Interest List”
> > >Subject: [ntfsd] Re: createfile fail for deviceiocontrol
> > >Date: Thu, 18 Sep 2003 20:14:25 +0200
> > >
> > >You can also try to call CreateFile with FILE_ATTRIBUTE_NORMAL instead
>of
> > >0,
> > >and also try to set all the FILE_SHARE_… flags.
> > >Hope this helps.
> > >
> > >“vincent gambit” wrote in message
> > >news:xxxxx@ntfsd…
> > > >
> > > > Hi,
> > > >
> > > > Thanks for your help.
> > > >
> > > > I have tried FILE_ANY_ACCESS as well as FILE_READ_ACCESS and both
>cases
> > >i
> > >am
> > > > not able to send my IOCTL successfully.
> > > >
> > > > The error is still access denied.
> > > >
> > > > hope u can help
> > > >
> > > > thank you
> > > >
> > > > cheers,
> > > > vincent
> > > >
> > > >
> > > > >From: “Daniel Sadolevsky”
> > > > >Reply-To: “Windows File Systems Devs Interest List”
> > >
> > > > >To: “Windows File Systems Devs Interest List”
> > > > >Subject: [ntfsd] Re: createfile fail for deviceiocontrol
> > > > >Date: Wed, 17 Sep 2003 18:07:29 +0200
> > > > >
> > > > >Replace FILE_ALL_ACCESS with FILE_ANY_ACCESS in the definiton of
>the
> > >IOCTL
> > > > >code and you should be able to send it regardless of the
>permissions
> > >that
> > > > >were used while opening the device.
> > > > >
> > > > >
> > > > >“vincent gambit” wrote in message
> > > > >news:xxxxx@ntfsd…
> > > > > >
> > > > > > Hi,
> > > > > >
> > > > > > I have a strange problem.
> > > > > >
> > > > > > I have written a file filter driver.
> > > > > > And using a win32 app, I tried to send a IOCTL to my driver and
>ask
> > >my
> > > > > > driver to return my win32 app some data.
> > > > > >
> > > > > > Using administrator to launch the win32 app, when I tried to
> > >createfile
> > > > >with
> > > > > > GENERIC_READ | GENERIC_WRITE, I have no problem sending the
>IOCTL
> > >using
> > > > > > DeviceIoControl.
> > > > > > However when I use createfile with GENERIC_READ only, I have
>ACCESS
> > > > >DENIED
> > > > > > error when I send the IOCTL using DeviceIoControl.
> > > > > > Why is that so?
> > > > > > To send IOCTL I must createfile with both read/write access?
> > > > > >
> > > > > > Hope someone can help.
> > > > > >
> > > > > > Thank You!
> > > > > >
> > > > > > cheers,
> > > > > > vincent
> > > > > >
> > > > > > My driver is using:
> > > > > > status = IoCreateDeviceSecure(
> > > > > > myDriverObject,
> > > > > > sizeof(DEVICE_EXTENSION),
> > > > > > &NameString,
> > > > > > FILE_DEVICE_DISK_FILE_SYSTEM,
> > > > > > FILE_DEVICE_SECURE_OPEN,
> > > > > > TRUE,
> > > > > > &SDDL_DEVOBJ_SYS_ALL_ADM_RWX_WORLD_R,
> > > > > > &GUID_DEVCLASS_MYDEV,
> > > > > > &myPrimaryDeviceObject);
> > > > > >
> > > > > > #define IOCTL_TEST (ULONG) CTL_CODE (MY_DEVICE_TYPE,
> > > > > > 0x080300,METHOD_BUFFERED, FILE_ALL_ACCESS)
> > > > > >
> > > > > > hDevice = CreateFile (HANDLE,
> > > > > > GENERIC_READ,
> > > > > > 0,
> > > > > > NULL,
> > > > > > OPEN_EXISTING,
> > > > > > 0,
> > > > > > NULL
> > > > > > );
> > > > > >
> > > > > > DeviceIoControl(hDevice,IOCTL_TEST, NULL, 0, &myData, sizeof
> > >(myData),
> > > > > > &BytesReturned, NULL);
> > > > > >
> > > > > >
>
> > > > > > Get MSN Hotmail alerts on your mobile.
> > >http://en-asiasms.mobile.msn.com/
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > >—
> > > > >You are currently subscribed to ntfsd as: xxxxx@hotmail.com
> > > > >To unsubscribe send a blank email to
>xxxxx@lists.osr.com
> > > >
> > > >

> > > > Get 10mb of inbox space with MSN Hotmail Extra Storage
> > > > http://join.msn.com/?pgmarket=en-sg
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >—
> > >You are currently subscribed to ntfsd as: xxxxx@hotmail.com
> > >To unsubscribe send a blank email to xxxxx@lists.osr.com
> >
> >
> > Take a break! Find destinations on MSN Travel.
>http://www.msn.com.sg/travel/
> >
> >
> >
>
>
>
>—
>You are currently subscribed to ntfsd as: xxxxx@hotmail.com
>To unsubscribe send a blank email to xxxxx@lists.osr.com


Get 10mb of inbox space with MSN Hotmail Extra Storage
http://join.msn.com/?pgmarket=en-sg