Visit Gigasoft's Web Site
 ProEssentials v9 Help

PEszget

BOOL PEszget (hObject, nProperty, lpszDestination)

 

HWND 

hObject

The handle returned from PEcreate.

UINT 

nProperty

Identifies the property.

WCHAR* 

lpszDestination

Pointer to buffer where string will be stored.

 

This function gets object string properties by copying the string selected by hObject and nProperty into the memory location pointed to by lpszDestination. This function is designed to be used with properties which start with PEP_sz.

 

Returns

NonZero if the function was successful, otherwise Zero.

 

Comments

See Also: PEszset

 

Make sure the destination buffer is large enough to hold the string data. Some string properties are as large as 255 characters so 255 characters is a recommended size to always be safe.