Danny Backx wrote:
> The stuff you've just added in tools/PipeLib won't compile for me, I
> don't appear to have the "devload.h" include file.
> 

I've just added it in w32api/include/devload.h

The DEVFLAGS_* are documented here:
http://msdn2.microsoft.com/en-us/library/aa929596.aspx

The ActivateDevice page at:
http://msdn2.microsoft.com/En-US/library/aa925308.aspx

... talks about DEVLOAD_CLIENTINFO_VALNAME and DEVLOAD_CLIENTINFO_VALTYPE.

DEVLOAD_HANDLE_VALNAME usage is shown here:
[CeResyncFilesys]
http://msdn2.microsoft.com/en-us/library/ms923935.aspx

DEVLOAD_DEVKEY_VALNAME is mentioned here:
[OpenDeviceKey]
http://msdn2.microsoft.com/en-us/library/ms919310.aspx

 From the docs above, and looking at the registry it is easy to come
up with values for the defines.

It is the DEVLOAD_HANDLE_VALNAME that allows us to get a handle to
the device in the Device Loader's context.

The place for these defines is ambiguous.  In some places MSDN states they
come from winbase.h, and in other places it says it comes from devload.h.
I've put them in devload.h, as it makes more sense to me - they are called 
DEVLOAD_* and DEVFLAGS_* afterall.

I think devload.h comes with DDK not the SDK.  I've added our version
into w32api anyway.  If we end up having several files in this
category, we could make a new package for them.

--

I've also added ActivateDevice/ActivateDeviceEx and DeactivateDevice to
winbase.h, as documented here:

[ActivateDevice]
http://msdn2.microsoft.com/En-US/library/aa925308.aspx

[ActivateDeviceEx]
http://msdn2.microsoft.com/en-us/library/aa929596.aspx

[DeactivateDevice]
http://msdn2.microsoft.com/en-us/library/aa912716.aspx

--

Cheers,
Pedro Alves


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to