Hello...
First of all, you do realize this is for the Windows Development Kit right? Hopefully you are looking to make a driver because that is what this is for.
Second of all OID_GEN_PROMISCUOUS_MODE is not a function. It is an object identifier. An OID to be exact stands for "object identifier". This is passed TO A FUNCTION like ProviderQueryObject which tells a provider the type of information you looking for. The provider then fills another object (through a output buffer pointer) with the results of the query.
I suggest you look up the ProviderQueryObject function to see how you can use object identifiers in such a query, the type of information this identifier asks of the target device, and how its response is put into that output buffer through a pointer.
You can read up on this function at the following URL...
http://msdn.microsoft.com/en-us/library/bb727542.aspxEnjoy!