Chủ đề: Hỏi hàm FindAtom để làm gì ?
-
01-09-2010, 05:55 PM #1Junior Member
- Ngày tham gia
- Sep 2015
- Bài viết
- 0
Hỏi hàm FindAtom để làm gì ?
xin chào các bạn,tôi có 1 file exe download về,thú thực file này tôi không tin tưởng ( nghi là có virus),mở bằng CFF thấy nó sử dụng vài hàm API FindAtom,vậy xin hổi atom là gì trong máy vậy,và FindAtom,GetAtomName,AddAtom thường dùng trong trường hợp nào ?
Searches the local atom table for the specified character string and retrieves the atom associated with that string.
Syntax
Copy
ATOM WINAPI FindAtom(
__in LPCTSTR lpString
);
Parameters
lpString [in]
LPCTSTR
The character string for which to search.
Alternatively, you can use an integer atom that has been converted using the MAKEINTATOM macro. See Remarks for more information.
Return Value
ATOM
If the function succeeds, the return value is the atom associated with the given string.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Remarks
Even though the system preserves the case of a string in an atom table, the search performed by the FindAtom function is not case sensitive.
If lpString was created by the MAKEINTATOM macro, the low-order word must be in the range 0x0001 through 0xBFFF. If the low-order word is not in this range, the function fails.
View more random threads:
- Taskkill.exe tắt process bằng API nào ?
- Cách sử dụng rebar trong Win32 API như thế nào?
- Hỏi về Lỗi MSIL .netmodule or module compiled with /GL found
- Cách thay đổi 1 vùng nhớ bằng hàm VirtualProtect
- MIME không dùng STARTTLS Gửi File Unicode ?
- Gửi lệnh cho hook dll trong VC++ thì làm thế nào?
- Tạo Project từ file Makefile.in, MAke.am trong VC++ 9 command prompt
- Phân biệt giữa mô hình xử lý dùng multithread và dùng nhiều process.
- hàm vẽ ảnh và xóa ảnh ??
- Unload dll bằng FreeLibrary + CreateRemoteThread
-
02-09-2010, 08:13 AM #2Junior Member
- Ngày tham gia
- Sep 2015
- Bài viết
- 0
Atom trong Win32 là một dạng DDE, vì thế các hàm Add, Find, Delete của Atom cũng được dùng ở rất nhiều chương trình, chẳng hạn chương trình trợ giúp....
Vì thế FindAtom có hại hay không phụ thuộc vào logic của chương trình đó. Nếu nghi ngờ là virus thì cứ đưa chương trình lên đây, sẽ có nhiều người có khả năng kiểm tra giúp bạn.
-
02-09-2010, 07:43 PM #3Junior Member
- Ngày tham gia
- Sep 2015
- Bài viết
- 0
Up file đó lên tui xem thử. Nghi ngờ virus thì không phải chỉ dựa vào 1 vài API.
Pallet nhựa Lâm Đồng giải pháp hoàn hảo cho nhà kho Pallet nhựa Lâm Đồng là một giải pháp đa năng và hiệu quả trong việc vận chuyển và lưu trữ hàng hóa. Trong đó, pallet nhựa Lâm Đồng không chỉ đáp...
Pallet nhựa Lâm Đồng giải pháp...