S_ok, E_outofmemory

bri189a

Well-known member
Joined
Sep 11, 2003
Messages
1,004
Location
VA
The above title are possible results (along with others) for CoInitializeEx... a part of OLE32.DLL that Im using to do some WMI stuff.... anyways... normally not a problem with these flag values... can find in my Win32 SDK help file... or do a search on the web and find out the numerical code I need for what is actually is (many functions return the error code as you know... when dealing with API)... but these... and there are a slew of these letter_errror, mostly starting with E_ that are used in what Im doing and the help file has the following in all of the apis Im using:

This function supports the standard return value E_INVALIDARG, as well as the following:

and then we get into the codes... well this standard return value must be pretty secret because I cant find the values behind the codes... and I just cant put:

if(ret=S_OK) in my C# code... we know that would never work... at least not until I get:

const int S_OK = 0x00000000; //we know this - but what are the rest?

Thanks C++ gurus!
 
Back
Top