Where to find API documentation: Marshalling (LocalAlloc, ...)

  • Thread starter Danyel Meyer - dialog-it GmbH
  • Start date
D

Danyel Meyer - dialog-it GmbH

Hallo group!

I´m searching for documentation on memory allocation features exposed by
PocktPCs "coredll.dll".
What I am interested in is documentation for functions like "LocalAlloc",
"LocalFree" etc.

Any hints?
I´ve searched my local MSDN installation and the help files to PPC 2003 SDK,
but could not find anything on that. I´d like to understand what exactly are
the possibilities for "uFlags" in:

---8<---
<DllImport("coredll.dll", SetLastError:=True)> _
Private Shared Function LocalAlloc( _
ByVal uFlags As Int32, _
ByVal uBytes As Int32) _
As IntPtr
End Function
--->8---

Many thanks in advance,

--
Danyel Meyer
-------------------------------------------
dialog-it GmbH
Röllinghäuser Strasse 55a
31061 Alfeld/Leine

Tel +49 (0) 5181 900 814
Fax +49 (0) 5181 900 815
E-Mail danyel.meyer <at> dialog-it.de
 
T

Trevor

Danyel Meyer - dialog-it GmbH dialog-it.de> said:
Hallo group!

I´m searching for documentation on memory allocation features exposed by
PocktPCs "coredll.dll".
What I am interested in is documentation for functions like "LocalAlloc",
"LocalFree" etc.

Any hints?
I´ve searched my local MSDN installation and the help files to PPC 2003 SDK,
but could not find anything on that. I´d like to understand what exactly are
the possibilities for "uFlags" in:

---8<---
<DllImport("coredll.dll", SetLastError:=True)> _
Private Shared Function LocalAlloc( _
ByVal uFlags As Int32, _
ByVal uBytes As Int32) _
As IntPtr
End Function
--->8---

Many thanks in advance,

--
Danyel Meyer
-------------------------------------------
dialog-it GmbH
Röllinghäuser Strasse 55a
31061 Alfeld/Leine

Tel +49 (0) 5181 900 814
Fax +49 (0) 5181 900 815
E-Mail danyel.meyer <at> dialog-it.de
Danyel,
You will find that the MSDN with eVC4 (and probably 3 too) is missing a
lot of functions that are implemented in Pocket PC but not in MSDN (e.g.,
IPHelper API). I end up using MSDN Online (msdn.microsoft.com/library) and
it has the CE documentation on there.
 
P

Paul G. Tobey [eMVP]

LocalAlloc's flags can be one of the following:

LMEM_FIXED
LMEM_ZEROINIT

You can find the meanings of them by looking in the desktop help or the
separately-installed CE 4.2 help.

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top