Re: WZCQueryInterface() of WZCSAPI.DLL under WinXP SP2
From: Jeroen van Bemmel (someone_at_somewhere.com)
Date: 09/29/04
- Next message: Victor Baronich: "Retrieve User Name"
- Previous message: Alun Jones [MSFT]: "Re: Push-bit in TCP-Header"
- In reply to: Bedrich Svoboda: "WZCQueryInterface() of WZCSAPI.DLL under WinXP SP2"
- Next in thread: Bedrich Svoboda: "Re: WZCQueryInterface() of WZCSAPI.DLL under WinXP SP2"
- Reply: Bedrich Svoboda: "Re: WZCQueryInterface() of WZCSAPI.DLL under WinXP SP2"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Sep 2004 20:17:33 +0200
Yes, many changes
Try adding some extra bytes at the end of the INTF_ENTRY struct definition,
like so:
typedef struct {
// all data here
BYTE various_extensions[12];
} INTF_ENTRY;
and set your 'dwOutFlags' to 0, just in case
No guarantees though
"Bedrich Svoboda" <bedrich.svoboda@post.cz> wrote in message
news:e2sGx1cpEHA.592@TK2MSFTNGP11.phx.gbl...
> I'm trying to call WZCQueryInterface() under WinXP SP2, but all the tries
> end up in result code either 0x57 (invalid parameter) or 0xc0000005
> (access violation???). Was there any change in some structures or
> parameters of the function?
>
> My code:
>
> INTF_ENTRY ie;
> ZeroMemory(&ie, sizeof(ie));
> ie.wszGuid=deviceGuid; //from WZCEnumInterfaces()
> DWORD dwOutFlags;
> DWORD dwStatus=pfnWZCQueryInterface(NULL, INTF_ALL, &ie, &dwOutFlags);
> Bedrich Svoboda
>
>
- Next message: Victor Baronich: "Retrieve User Name"
- Previous message: Alun Jones [MSFT]: "Re: Push-bit in TCP-Header"
- In reply to: Bedrich Svoboda: "WZCQueryInterface() of WZCSAPI.DLL under WinXP SP2"
- Next in thread: Bedrich Svoboda: "Re: WZCQueryInterface() of WZCSAPI.DLL under WinXP SP2"
- Reply: Bedrich Svoboda: "Re: WZCQueryInterface() of WZCSAPI.DLL under WinXP SP2"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|