|
What is the win32 API function for private bytes (the ones you can see in perfmon).
I'd like to avoid the .NET API
Started by sthiers on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
More....
Technically Private Bytes is the commit charge, the amount of memory the same data perfmon shows using the performance counters API
BOOL WINAPI GetProcessMemoryInfo_EX.PrivateUsage is what you're looking for.
Controlled by any API.
|
|
Hello, I am looking for a wildcard string match API (not regex match). I cannot use anything other than Win32 APIs.
Answer Snippets (Read the full thread at stackoverflow):
Use anything but Win32? What about STL or CRT? Are you using Boost?
Without the Win32 API.
|
|
Any minimal example of 16bit .com display a window GUI using Win32 API on Windows?
Started by est on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
* Call GetProcAddress32W() to get the address
Dos -> Win32
http....
Win16 -> Win32
This can be done using CallProc32W
* Call LoadLibraryEx32W() to load the Win32 DLL.
To use an arbitrary API call via it as far as I know.
|
Ask your Facebook Friends
|
I found similar questions but no answer to what I am looking for. So here goes:
For a native Win32 dll, is there a Win32 API to enumerate its export function names?
Answer Snippets (Read the full thread at stackoverflow):
The whole library basically makes detouring/rerouting win32 function calls extremely easy.
Dumpbin /exports is pretty much what you want, but that's a developer tool, not a Win32 API are asking.
|
|
From the native Win32 API using C++ is there a way to determine whether the window associated with an HWND is still valid?
Started by Doug Ferguson on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
It is not recommended to use it though.
IsWindow
You could use the Win32 API IsWindow .
Hooks.
|
|
I am creating a window program using VC++ through win32 API. I wanted to create a ellipse shaped window how this can be achived.
Started by Ravi shankar on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
There's an excellent.
Flexible way to control a custom shaped / transparent window using the Win32 API.
|
|
Is there a rough equivalent to the Linux/Unix stdio.h popen() function in the Win32 API? If so, where can I find it?
Edit: I need to know this to patch an omission in the D standard library. Any answer must use only standard Win32 API, no MSVC-specific...
Started by dsimcha on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Here it provides to create a pipe using the win32....
You need how you do what popen does using the Windows API in Pipe Handle Inheritance .
Sadly it's not particularly easy.
Linked by Jason, but uses the Win32 API exclusively.
|
|
How can I get the IP address of a network printer given the port name, using win32 API?
I tried looking into the PRINTER_INFO_* structs , but it seems it is not present there.
Started by sourabh jaiswal on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
This will retrieve the host info of your printer.
api, I believe it's gethostbyname you need.
|
|
Can anybody please help me with how to get the language(english,chinese etc) of Windows OS through win32 API(C/C++)??
Thanks, Sourabh
Started by sourabh jaiswal on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
For Vista or....
See here for a table containing IDs and the cultures they represent .
This will give you an ID which can be used to determine the culture .
You can get the default user locale (which I think is what you're asking) using GetUserDefaultLCID .
|
|
I have developend a window application(Win32 API) in visual C++. I have to add multilingual feature in this application. Can any one Pls guide me how to get forward with this task.
Started by Ravi shankar on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
A resource is a chunk appended at the end of your executable, which only contains data, and is formatted in a very specific way in order... .
The basics for a multilingual application on Windows is the use of "resources" .
Use gettext for all your strings.
|