windows api book

Learn about windows api book, we have the largest and most updated windows api book information on alibabacloud.com

Windows Socket API

Windows Socket API usage experienceThis article is some of my experiences in MS-windows and HP-UNIX network programming. It is for your reference only. If the socket function mentioned in this article is not specifically described, it refers to the Windows Socket API.1. wsas

My God, I met a windows api BUG! And contributed an http file download VC code that fully supports the Proxy Server

Okay, I have encountered a windows api bug... In the beginning, the program uses CInternetSession to open a Session, and then uses OpenUrl to open a CHttpFile file. This program has been working very well and can be downloaded as long as ie can access the Internet. If a proxy server is used, you only need to set it in ie. If the proxy server requires a password, you only need to first access the page in ie

Windows API Introduction

The Windows API function library is too large for people who lack basic Windows development knowledge, so they cannot get started. In fact, you only need to know about its basic module functions. Specific instances can be used to refer to the development documentation, so as to gradually accumulate.Three common modules are user32.dll, kernel32.dll, and gdi32.dll.

Delphi character and string [5]-string and Windows API

In Windows API, the string corresponds to the pchar (pansichar) of Delphi. In API, the string of Delphi is flexible. Assign values first: // Assignment Method 1: Give begin setwindowtext (handle, 'newtitle'); end; // Assignment Method 2: define the type var P: pchar; begin P: = 'newtitle'; setwindowtext (handle, P); end; // Value assignment meth

Analysis of API function interception in Windows 2000

Introduction: API Interception is not a new technology. Many commercial software use this technology. There are two methods to intercept Windows API functions. The first one is Mr. jeffrey Richter's module input section for modifying the EXE file. This method is safe, but complicated. In addition, some EXE files do not have a list of DLL input symbols, blocking

Windows API Learning

# Include # Include # Include # Include /*Author: Yuan WenTime: 2007-12-28E-mail: wenwen227@126.comDebugging environment: Windows XP + Dev-C ++Function: common Windows API learning practices1. Folder selection dialog box2. Implementation of folder Traversal3. How to display large filesBrief Introduction:Traverse all files and folders in a specified folderIf no fo

Windows API Programming

Library specifies the library file to be linked when the program is linked. You can set the project or use # pragma comment (Lib, "XXX. lib ") pre-compiled commands to implement links to the library files. Microsoft has also improved GDI and provided a class-based Application Programming Interface (GDI. This interface is intended for C/C ++ users. 1. Precautions for calling windowsapi As mentioned above, windowsapi is implemented through the dynamic link library output function, when an applica

[Windows programming] Precautions for using the API function getprocaddress

Windows API function getprocaddress is widely used to obtain the function pointer address. For example: Typedef bool (winapi * pfngetproductinfo) (DWORD, pdword ); Pgpi = (pfngetproductinfo) getprocaddress (getmodulehandlew (L "kernel32.dll"), "getproductinfo "); Note that the function defines the winapi in typedef, which specifies the function call protocol. This part is very necessary and critical. Pay

Windows Socket API usage experience

This article is some of my experiences in MS-windows and HP-UNIX network programming. It is for your reference only. If the socket function mentioned in this article is not specifically described, it refers to the Windows Socket API. 1. The wsastartup function int wsastartup (word wversionrequested, lpwsadata); the socket program must call the wsastartup function

C # windows api call example,

C # windows api call example, Here is the running result: Using System; using System. runtime. interopServices; using System. windows. forms; namespace HoverTreeWinForm {public partial class FormHewenqi: form {// Reprinted from: http://hovertree.com/h/bjaf/psjdasa2.htm Source code download: http://pan.baidu.com/s/1bnPPgL5 Http://roucheng.cnblogs.com/ In the prec

Using cTYPES to invoke the Windows API in Python

#-*-coding:cp936-*-Import Ctypesimport ctypes.wintypes#print (dir (ctypes)) #print (dir (ctypes.wintypes)) User32= cTYPES. Windll ("user32.dll") Findwindowa=User32. Findwindowagetwindowtexta=User32. Getwindowtextaenumwindows=User32. Enumwindows#windows callback function Def enumwindowproc (hWnd, LParam): Text=ctypes.c_char_p () Text.value=""getwindowtexta (hWnd, text, $) print (text.value)return 1#声明原型, note that you need to first declare the return v

Participle nlpir/ictclas2014 Word Breaker's C + + API for initial use under Windows

Package Preparationnlpir/ictclas2014 Word breaker Download packageDev-c++Operating system windowsAfter unpacking the word breaker download package seeWhat is needed here in Windows is data, NLPIR.h in include, Win32 NLPIR.libNLPIR.dll in LIB, and how to use the file for later.Create a new project in Dev C + +Copy the above data, NLPIR.h, NLPIR.lib, NLPIR.dll to the project Nlpir working directory,Right-click Nlpir-> Project PropertiesIn the "Parameter

Windows API experience and summary of registry operations

This article mainly introduces the Windows API on the operation of the Registry experience and summary, this article explains the reading of the registry commonly used functions and a registry operation instance, the need for friends can refer to the Reading functions commonly used in the registry RegOpenKeyEx is used to open a key RegSetValueEx is used to set the key value of a key RegQueryValueEx the

Primary Windows API C + + language programming (2)

In the previous article I highlighted the basic structure of the Windows API32 program, do you want to complete your first Windows program? Don't be busy. Let me first introduce you to the API window function, which you can program only if you understand it. What is a window function? What does it define? The window function defines the response of the applicati

Windows API read-write binary files

In fact, if you have studied C language, use stdio.h directly.The middle function is the simplest, that is, the use of fopen ("Xxxx.xxx", "RB"); and then call Fread/fwrite; Call Fclose when you close it.If you use CreateFile in the Windows Native API, you do not need to differentiate what binary is not binary, as long as the return value of this function is not invalid_handle_value, you can continue to use

Windows API-----Top Level window

Original address:http://blog.163.com/cumt_xl/blog/static/19071504420136911838683/Q:What is a top-level window?a: a top-level window is a window, which is not child, i.e. it had not ws_child style set.Notes Unlike the child Windows, a top-level window can be displayed anywhere on the screen; Many definitions state, a top-level window is "A window This has no parent";That's correct but can leads in a confusion:many people think the every wind

Windows API one-day training (93) getsavefilename Function

Windows API one-day training (93) getsavefilename Function The previous section describes how to open the Select File Read dialog box. When the software you design requires users to choose to save the file, they need to select their desired file name to save it. Then you need to use the save file dialog box, that is, the API function getsavefilename. The followi

GetUserName and apigetusername for Windows API Learning

GetUserName and apigetusername for Windows API Learning 1 # include

"API" Windows Hardware Device GUID serial number

, 0XF3586BAFL, 0XB5AA, 0x49b5, 0x8d, 0x6c, 0x05, 0x69, 0x28, 0x4c, 0x63, 0x9f);D Efin E_guid (Guid_devclass_fsfilter_encryption, 0xa0a701c0l, 0xa511, 0x42ff, 0xaa, 0x6c, 0x06, 0xdc, 0x03, 0x95, 0x57, 0x6f);D Efine_guid (Guid_devclasS_fsfilter_physicalquotamanagement, 0x6a0a8e78l, 0xbba6, 0X4FC4, 0xa7, 0x09, 0x1e, 0x33, 0xCD, 0x09, 0xd6, 0x7e);D Efine_g UID (Guid_devclass_fsfilter_openfilebackup, 0xf8ecafa6l, 0x66d1, 0x41a5, 0x89, 0x9b, 0x66, 0x58, 0x5d, 0x72, 0x16, 0xb7); Define_guid (Guid_devcl

WINDOWS api--getfiletime--Get file time

); } getfiletime (hfile,ftcreate, ftaccess, ftwrite); Convertfiletimetolocaltime (ftcreate, stcreate); Convertfiletimetolocaltime (ftaccess, staccess); Convertfiletimetolocaltime (ftwrite, stwrite); printf ("YYYY-MM-DD:"); scanf ("%d-%d-%d", year, month, Day ); Staccess.wyear= Stwrite.wyear =Year ; Staccess.wmonth= Stwrite.wmonth =month; Staccess.wday= Stwrite.wday =Day ; Convertlocaltimetofiletime (staccess, ftaccess); Convertlocaltimetofiletime (stwrite, ftwrite); Setfiletime (hfile,ftcreate,

Total Pages: 12 1 .... 8 9 10 11 12 Go to: Go

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.