C constants
- Posted by isaac <isaaca at MINDSPRING.COM> Nov 15, 1998
- 563 views
Is there a function which would return the value of a C constant defined in a .dll? When faced with: dwAccessType=20 Type of access required. Can be one of the following values:=20 INTERNET_OPEN_TYPE_DIRECT=20 Resolves all host names locally.=20 INTERNET_OPEN_TYPE_PRECONFIG=20 Retrieves the proxy or direct configuration from the registry.=20 INTERNET_OPEN_TYPE_PRECONFIG_WITH_NO_AUTOPROXY=20 Retrieves the proxy or direct configuration from the registry and prevents the use of a startup JScript=AE (compatible with ECMA 262 language specification) or Internet Setup (INS) file.=20 INTERNET_OPEN_TYPE_PROXY=20 Passes requests to the proxy unless a proxy bypass list is supplied and the name to be resolved bypasses the proxy. In this case, the function uses INTERNET_OPEN_TYPE_DIRECT.=20 I don't know what to feed c_func(). Is there a way to pass C constants or get their values? TIA Isaac