windows-nt/Source/XPSP1/NT/com/oleutest/letest/ole2ui/olestr.c
2020-09-26 16:20:57 +08:00

33 lines
527 B
C

void CopyAndFreeOLESTR(LPOLESTR polestr, char **ppszOut)
{
// See if there is any work
if (polestr == NULL)
{
if (ppszOut != NULL)
{
// Output string requested so set it to NULL.
*ppszOut = NULL;
}
return;
}
// Get the public memory allocator
if (pszOut)
{
// Copy of string converted to ANSI is requested
}
// Free the original string
}
LPOLESTR CreateOLESTR(char *pszIn)
{
// Get the public memory allocator
// Allocate the string
// Convert the string
}