Jump to content

wpSetNetIdentity

From EDM2

This method is specific to version 3, or higher, of the OS/2 operating system.

This instance method sets the instance data containing the fully qualified network name of this network group.

Syntax

_wpSetNetIdentity(somSelf, pszNetIdentity)

Parameters

somSelf (WPNetgrp *) - input
Pointer to the object on which the method is being invoked.
Points to an object of class WPNetgrp.
pszNetIdentity (PSZ) - input
Fully qualified network name of this network group. For example, `LSNetwork`.

Returns

rc (BOOL) - returns
Success indicator.
  • TRUE Successful completion.
  • FALSE Error occurred.

How to Override

This method is generally not overridden.

Example Code

#define INCL_WINWORKPLACE
#include <os2.h>

WPNetgrp *somSelf; /* Pointer to the object on which the method is being invoked. */
PSZ pszNetIdentity; /* Fully qualified network name of this network group. */
BOOL rc; /* Success indicator. */

rc = _wpSetNetIdentity(somSelf, pszNetIdentity);

Related Methods