Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add related Win32 APIs #13

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions descriptions/ntcreatefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ Buffer for Extended Attributes contains one or more of `FILE_FULL_EA_INFORMATION

Length of `EaBuffer`.

# Documented by

* Tomasz Nowak
# Related Win32 API
- [`CreateFileA`](https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea)
- [`CreateFileW`](https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilew)

# See also

Expand Down
1 change: 1 addition & 0 deletions descriptions/ntdelayexecution.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Despite the name, `NtAlertThreadByThreadId` is unrelated to alertable sleeps and

# Related Win32 API
- [`SleepEx`](https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleepex)
- [`Sleep`](https://learn.microsoft.com/en-us/windows/win32/api/synchapi/nf-synchapi-sleep)

# See also
- `NtWaitForSingleObject`
Expand Down
4 changes: 4 additions & 0 deletions descriptions/ntdeletefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,13 @@ Example: \
If you have only file name as Unicode string, use it as **ObjectName**. \
If you have only a `HANDLE` to file, set it as **RootDirectory**. Set **ObjectName** as empty string.

# Related Win32 API
- [`DeleteFile`](https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-deletefile) (Although it does more than just forwarding the arguments and invoking this procedure.)

# Documented by

* Tomasz Nowak
* Wojciech Dudek

# See also

Expand Down
4 changes: 0 additions & 4 deletions descriptions/ntopenfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ Sharing option defined as `FILE_SHARE_*`.

Open options.

# Documented by

* Tomasz Nowak

# See also

* `NtCreateFile`
6 changes: 0 additions & 6 deletions descriptions/ntqueryperformancecounter.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,3 @@ Another method of `uptime` calculation:
# Related Win32 API
- [`QueryPerformanceCounter`](https://learn.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancecounter)
- [`QueryPerformanceFrequency`](https://learn.microsoft.com/en-us/windows/win32/api/profileapi/nf-profileapi-queryperformancefrequency)

# Documented by

* Sven B. Schreiber
* Tomasz Nowak
* Wojciech Dudek
5 changes: 2 additions & 3 deletions descriptions/ntreadfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ Offset from beginning of file, in bytes.

??? (In my opinion: use this, if you previously lock file, and now you want read it, but without unlocking).

# Documented by

* Tomasz Nowak
# Related Win32 API
- [`ReadFile`](https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-readfile) (Although it does more than just forwarding the arguments and invoking this procedure.)

# See also

Expand Down
5 changes: 2 additions & 3 deletions descriptions/ntwritefile.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ Offset from beginning of file, where write starts.

??? (See `NtReadFile`).

# Documented by

* Tomasz Nowak
# Related Win32 API
- [`WriteFile`](https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-writefile) (Although it does more than just forwarding the arguments and invoking this procedure.)

# See also

Expand Down
Loading