RpcNsProfileDelete function
The RpcNsProfileDelete function deletes a profile attribute.
Syntax
RPC_STATUS RPC_ENTRY RpcNsProfileDelete( unsigned long ProfileNameSyntax, unsigned char *ProfileName );
Parameters
- ProfileNameSyntax
-
Integer value indicating the syntax of the next parameter, ProfileName.
To use the syntax specified in the registry value HKEY_LOCAL_MACHINE\Software\Microsoft\Rpc\NameService\DefaultSyntax, provide a value of RPC_C_NS_SYNTAX_DEFAULT.
- ProfileName
-
Pointer to the name of the profile to delete.
Return value
| Value | Meaning |
|---|---|
|
The call succeeded. |
|
The name syntax is invalid. |
|
The name syntax is not supported. |
|
The name is incomplete. |
|
The name-service entry was not found. |
|
The name service is unavailable. |
Remarks
The RpcNsProfileDelete function deletes the profile attribute from the specified name-service entry (ProfileName). Neither ProfileName nor the entry names included as members in each profile element are deleted.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
RpcNsProfileDeleteW (Unicode) and RpcNsProfileDeleteA (ANSI) |
See also