首页 > 系统相关 >windows-classic-samples

windows-classic-samples

时间:2022-11-08 21:03:33浏览次数:96  
标签:classic windows Windows Visual Studio source samples

windows-classic-samples

-github

一个例子

  • 今天查找PostQueuedCompletionStatus的官方例子, 就在github发现了这个宝库

  • 下载后,发现里面有很多官方给出的范例, 按照英文字母排序分类

note

  • 这里就不放全图了, 可以自行下载。
  • 下面的描述来自官方给出的说明

Windows classic samples

This repo contains samples that demonstrate
the API used in Windows classic desktop applications.

Note. You can use Microsoft Visual Studio to search the entire set of source code here to see whether the usage of a particular Windows API is being demonstrated. Clone this repo (or download the ZIP) to your local file system. Then Find in Files in Visual Studio, set Look in to the folder you cloned or downloaded into, and search for an API name. You can install Visual Studio without expense. A Community edition is available—it's free for students, open-source contributors, and individuals.

These samples demonstrate the functionality and programming model
for Windows and Windows Server.
This repo contains Visual Studio solution (SLN) files for each sample,
along with the source files, assets, resources, and metadata
needed to compile and run the sample.
For more info about the programming models, platforms, languages,
and APIs demonstrated in these samples,
check out the documentation on the
Windows Dev Center.

Most of these samples were created
for Windows 7, Windows 8.1 and/or Windows Server 2012 R2
using Visual Studio 2013,
but some were created with earlier versions,
or with specific SKU and other requirements.
In many cases, the samples will also work on later versions than the ones indicated.
If you cannot get a sample to work as expected,
it might have platform, version, or SKU-specific requirements.
If you have any issues with the samples, please provide feedback using the Issues list.

To get a copy of Visual Studio, go to
Visual Studio Downloads.

Other samples:

This project has adopted the Microsoft Open Source Code of Conduct.
For more information see the Code of Conduct FAQ
or contact [email protected] with any additional questions or comments.

标签:classic,windows,Windows,Visual,Studio,source,samples
From: https://www.cnblogs.com/pandamohist/p/16871171.html

相关文章

  • Windows系统 占用端口的程序查询
    Windows系统调出命令窗口输入命令:netstat-ano列出所有端口的情况查看被占用端口对应的PID,输入命令:netstat-aon|findstr“8082”,回车,记下最后一位数字,即PID,加入这里......
  • CF464E The Classic Problem
    题意给定一张图,边权为\(2^x,x\le10^5\),求\(s\)到\(t\)的最短路以及方案。Solution直接上最短路!现在的问题是如何高效存储路径上权值的加和。这题有个特殊之处就是......
  • 释放windows预留内存,增加在用CPU个数提高整机性能
    释放windows预留内存,增加在用CPU个数提高整机性能windows系统更新后或重装后,会预留一部分内存(大概2G)。如果本机内存比较小,这就很伤。而且,默认系统使用1个CPU在跑,这样计算的......
  • 自定义垃圾筐的名称-Windows
    自定义垃圾筐的名称-Windows修改注册表就行了。这样做打开注册表​​\HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}​​​。​​右击权限-->高级-->更......
  • 在 windows 上安装 Redis
    在windows上安装RedisRedis官方不建议在windows下使用Redis,所以官网没有windows版本可以下载。还好微软团队维护了开源的windows版本,虽然只有3.2版本,对于......
  • 关于如何在Windows下通过Golang调用cmd指令
    太nm操蛋了,我tm弄了两小时。起因目前我的项目中,当并发量提高的时候会出现UDP的bufferqueuefull的情况,我怀疑是因为UDP端口释放太慢导致堆积。于是就打算用golang写一......
  • QProcess 调用.py脚本(windows + python 环境)
    1QProcessp;2QStringListargs1;3args1.append("demo.py");//设置py脚本4p.setWorkingDirectory("d:/demo/");//设置py脚本所在目录5p......
  • windows系统无法创建任务解决方案
        甲方安排一个任务,需要定时对局域网目录共享文件进行扫描,因为扫描共享文件这块已经通过SMB协议完成,我只需要把这个程序定时执行就可以完工。一开始有两个方案,......
  • Windows - win10 开放外部访问端口
    win10开放外部访问端口直接在搜索中输入“防火墙”,然后打开“防火墙高级设置”新建入站规则 选择端口,然后下一步选择连接协议,然后输入特定的端口号,然后下一步选......
  • 在Windows8_10中使用匿名共享
    1、打开本地组策略编辑器(快捷键Win+R,打开运行,输入gpedit.msc,确定);2、打开:“本地计算机策略->计算机配置->Windows设置->安全设置->本地策略->用户权限分配”;找到:“拒绝......