Inventors:
Harold Pierson - Redmond WA, US
Brent Rector - Redmond WA, US
Martyn Lovell - Seattle WA, US
Mahesh Prakriya - Redmond WA, US
Stephen Rowe - Bellevue WA, US
Tassaduq Basu - Redmond WA, US
Robert A. Wlodarczyk - Issaquah WA, US
Elliot H. Omiya - Kirkland WA, US
Jerry Dunietz - Seattle WA, US
Ales Holecek - Kirkland WA, US
Lawrence W. Osterman - Woodinville WA, US
Wei Zeng - Sammamish WA, US
Neeraj Wadhwa - Kirkland WA, US
Shakeel Solkar - Sammamish WA, US
Assignee:
Microsoft Corporation - Redmond WA
International Classification:
G06F 9/54
Abstract:
Information about the operating system application programming interfaces is stored in a known format in a known location. This information fully describes the APIs exposed by the operating system and is stored in API metadata files. A language compiler or interpreter uses this API information to build a natural and familiar representation of the native system API in the target language. The language compiler or interpreter can read the API information at compile time and/or runtime. The metadata is used to allow an application to refer to named elements in the API. Projections are built that use the metadata to map named elements in the API to named elements in the target language, and to define wrappers that marshal data of those elements between the target representation and the native operating system representation.