Dear All,
I am using Win32 API.
Really i do not understand how to get the drive letter for DevicePath of a USB stick .
can you pls explain it to me
( what i have is SP_DEVICE_INTERFACE_DETAIL_DATA DevicePath
using this Device path i get VID AND PID of the usb device
my device path looks like below
"\?\usb#vid_1a8d&pid_1000#358094020874450#{a5dcbf10-6530-11d2-901f-00c04fb951ed}"
Is there any way to to map DRIVE LETTER to my DEVICE PATH
so please help me to map drive letter to DevicePath )
Thanks for any help.
Hi,
I am using Google API Ver 2 for .NET.
I want to access list of domains users with there information like userid and password.
Ho w can display list domain user's using Admin's credential?
Thanx
I've looked through the YouTube JS API, but can't find a way to jump to a video in a playlist. (Mimicking the built-in navigation) And if you're wondering why I'd want both, it's because I have a menu set up with additional information, and want to let the user click these links to jump between the videos.
The documentation for TrafficStats.incrementOperationCount() says:
Increment count of network operations performed under the given
accounting tag. This can be used to derive bytes-per-operation.
I want to find the total number of bytes transferred during a particular network operation. Since this API claims to help in deriving bytes-per-operation, can someone help me understand how to use it?
I'm developing an in-house .NET application that will be run on a VM (with VMware), and want to know if there's a way to get notifications from VM system events (like suspending, resumed, etc.)
Anyone know of a convenient way to do that? The virtual machine has VMware Tools installed, does that provide a .NET API for hooking events?
Hey All. Atm im working with native API calls and i have to get RtlInitUnicodeString to work.
The way i use:
const WCHAR wcMutex[] = L"String1";
UNICODE_STRING unicodeMutexBuffer;
RtlInitUnicodeString(&unicodeMutexBuffer,wcMutex);
now my problem the project doesnt compile , i get this error:
Error argument of type "UNICODE_STRING*" is incompatible with type of "PUNICODE_STRING"
but in my old Driver kit , i used same way to initialize the unicode string struct
We have an API proxy configured with cache ttl of 2mins. Is it possible to configure apigee to serve stale cached content if the backend goes down so that our end users don't see errors?
We would rather have our end users get copies of stale cached content (even after the configured ttl of 2mins expires) instead of errors when the backend goes down.
Would appreciate if someone could point me to the relevant documentation if this is possible.
Is there an equivalent of JS 'escape' function in Groovy/Java?
escape('hello world') => hello%20world
I tried this class: http://commons.apache.org/lang/api/org/apache/commons/lang/StringEscapeUtils.html, but it didn't work.
Or do i have to implement it?
Thanks.
How can I add application preference in device setting. I want to my preference setting be part of device setting opinion.
Any API i need to use or keyword?
For those of you who know/experienced both blackberry and iphone development, which platform did you prefer and why?
I'm looking for things like debugging ability, api stability, UI development, deployment, IDE, documentations etc.
I'm using HTTP API provided by MS to upload video to YouTube, I noticed the total elapsed time is different with different buffer size, what size of buffer is the best for uploading file to internet? Thanks in advance.
Can someone please explain the following
How was the first JDK release unit Tested? Since Junit came after Java how did they do it?
Are the current releases using Junit to test the JDK API?
Regards
I could do an endless timer checking IsInetOffline(), but I would prefer a hook callback that tells me when I plug/unplug the ethernet network cable or connect to wireless internet. Is there such a thing in the Windows API?
I have a web app that work perfect in android 2.1, when I upgrade to 2.2 the pageX property in ontouchend event, this is my code:
menu1.ontouchend = function(e){
e.preventDefault();
if (e.touches && e.touches.length0) { // iPhone
x2 = e.touches[0].pageX;
y2 = e.touches[0].pageY;
} else { // all others
x2 = e.pageX;
y2 = e.pageY;
}
}
Anybody know what change in the javascript API for touch events from 2.1 to 2.2?????
I'm writing an Apache module and want to get a string with the Apache name version and other details. Much like what gets added to outgoing headers, e.g.:
Server: Apache/2.2.13 (Win32)
I've tried code like this:
apr_table_get(request_rec->headers_out,"Server")
But that doesn't seem to work. Is there an API call I haven't found or am I doomed to get version resource data from httpd.exe?
Hi,
I would like to know if C++ provides any API (not third-party) for pattern matching using regular expressions like Java does. If it doesn't, whats the best way to do it ?
Thanks.
How to do it? Any sample code would be nice ... I have tried directly using the graph api but it needs access_token and I don't know how to get it ... I am using Facebook developer toolkit
I'm writing a linux driver and I would like to register a callback function to be invoked when the system goes to sleep. What is the api to do this?
Thanks.
Hi,
I would like to access smtp outgoing mail server address from global setting-mail-accounts-outgoing mail server. Is there any public API available now to get the user global setting values?
Thanks
Manoj
Hi all,
My desktop application should update my facebook status.
Is there an API that allows to update the status with a login and pwd ?
Thanks in advance for your answer
I'm building a RESTful API using Ruby on Rails. My models have a lot of validation happening in them. I'm wondering what is the most "RESTful" way to respond to a user in the event that they make a request that fails on the model layer.
Sending a 4xx HTTP response is the first step. What's the best practice for embedding the error messages inside of XML builder?
Hi
I want to create an iPhone app which makes calls to a web service. For testing, I want to first create the API calls on my mac (server running XAMPP) and if it works fine there I want to port it to the actual server.
If my iPhone and mac are on the same network, can I access the web service using the IP address of my mac?
Thanks.