summaryrefslogtreecommitdiffstats
path: root/private/oleutest/letest/ole2ui/olestr.c
blob: e7e8e93faea12d4160b0dc3170ae08d6c1f860b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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
}