Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEserializetohglobal

DWORD  PEserializetohglobal(hObject, lphGlobal);

 

HWND 

hObject

The handle returned from PEcreate.

HGLOBAL* 

lphGlobal

Handle to destination global object.

 

This function is similar to PEserializetofile, but stores the ActiveX state into a global memory object and returns the size of the object.  This can be used within low-level server control logic to stream ActiveX content to a browser.

 

Returns

The amount of binary data stored.

 

Comments

This function is an internal function we use to allow the .NET and ActiveX server controls stream ActiveX states to the browser.

 

See Also: PEcopypngtohglobal, PEcopyjpegtohglobal, PEserializeofile, PeFunction.SaveObjectToStream