Code Monkey home page Code Monkey logo

winsdk-10's People

Contributors

tpn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

winsdk-10's Issues

IoGetRemainingStackSize returns address of local variable

When compiling a source file which includes wdm.h from this project using GCC 7.3, it warns about:

km/wdm.h: In function ‘IoGetRemainingStackSize’:
km/wdm.h: function returns address of local variable [-Wreturn-local-addr]                                                                                                                         
      return((ULONG_PTR)(&Top) - Bottom );

According to msdn, it should return Top - Bottom instead of &Top - Bottom.

Support IDNA2008 instead of IDNA2003 in WinNls.h IdnToUnicode & IdnToAscii functions

I opened a bug in the PHP extension of cURL about some wrong conversions of URL following the old IDNA2003 protocol. We found this was a bug in cURL version only on Windows using the IdnToUnicode & IdnToAscii functions after importing "windows.h". Apparantely, this is a know issue.

This bug is lurking everywhere because many libs rely on "windows.h". I know the .NET Framework is supporting IDNA2008 already. Is this something you will support in the near future? Could you simply call the IdnMapping class from the .NET framework in the IdnToUnicode/IdnToAscii functions?

Thanks a lot

Visual Studio Issue With DeviceCapability in Package Manifest

Hi,

I've traced a problem in Visual Studio back to a schema in this repo, so I'm logging and issue here, but please forward me to the correct place if this is not the place to be posting this issue.

My app connects to several USB devices. The first device I am connecting to has a VendorId of 534C and I have no issue connecting to this, but the other device I have has a VendorId of 2C97. Visual Studio complains about the number and says that it doesn't match the schema http://schemas.microsoft.com/appx/manifest/types:ST_DeviceId . I tracked that schema down in this file in this repo:

https://github.com/tpn/winsdk-10/blob/master/Include/10.0.16299.0/winrt/AppxManifestSchema2013.xsd

This is the XML:

  <xs:simpleType name="ST_DeviceId">
    <xs:restriction base="m:ST_NonEmptyString">
      <xs:pattern value="any"/>
      <xs:pattern value="vidpid:[0-9a-fA-F]{4} [0-9a-fA-F]{4}( (usb|bluetooth))?"/>
      <xs:pattern value="model:[^;]{1,512};.{1,512}"/>
    </xs:restriction>
</xs:simpleType>

The XML I am trying to put in the manifest is this:

      <Device Id="vidpid:‭2C97‬ 0001">
        <Function Type="usage:0005 *" />
        <Function Type="usage:FF00 0001" />
        <Function Type="usage:ff00 *" />
      </Device>

But, Visual Studio complains saying that it doesn't match the schema. Judging by normal Regex, the value '2C97‬ 0001' should match though. I tried this expression

[0-9a-fA-F]{4} [0-9a-fA-F]{4}

here:

https://regexr.com/

And got a match on 2C97‬ 0001

Any ideas?

Ptrdiff_t unable to locate

Im getting the below error, can you tell me where to locate the ptrdiff_t file?

Error: FlxPool_flixel_effects_FlxFlicker.cpp D:\visualCommunity2019Stuff\VC\Tools\MSVC\14.29.30133\include\stddef.h(140): error C2371: 'ptrdiff_t': redefinition; different basic typesf_t': redefinition; different basic types tion of 'ptrdiff_t' D:\visualCommunity2019Stuff\VC\Tools\MSVC\14.29.30133\include\vcruntime.h(194): note: see declaraot open include file: 'corecrt_math.h': No such file or directorytion of 'ptrdiff_t'

LOADER for .EXE

bro, where can I find the loader source code of .EXE Loader?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.